News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

System->logs->Error Logs Produces an error

Started by epanagio, August 04, 2012, 08:17:53 PM

Previous topic - Next topic

epanagio

QuoteFatal error: Allowed memory size of 54525952 bytes exhausted (tried to allocate 70136576 bytes) in /home/randr/public_html/admin/controller/pages/tool/error_log.php on line 58
What does this mean?
Since there is a limitation where is this error log located so I can ssh and view it with vi

abantecart

This error indicate that some page that you loaded tried to allocate more memory than allowed by your PHP settings or OS.
It is interesting to now what page this happen on.

AbanteCart error logo located in:
[installed directory]/system/logs/error.txt
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

epanagio

Using ssh the error.txt is just full of errors.

Quote2012-08-05 7:58:12 - warning:  unlink(/home/randr/public_html/system/cache/cache.layout.pages.pagescontentcontent.contentid.2.1341937668) [<a href='function.unlink'>function.unlink</a>]: Permission denied in <b>/home/randr/public_html/core/lib/cache.php</b> on line <b>36</b>

Quote2012-08-05 7:58:12 - warning:  fopen(/home/randr/public_html/system/cache/cache.store.5a5bb43ee90f8a06fc958c00723ea963.1344254292) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in <b>/home/randr/public_html/core/lib/cache.php</b> on line <b>80</b>

Quote2012-08-05 7:58:12 - App Warning:  Warning: Trying to access with unconfigured  domain. Possibly incorrect store set up. Loading default store in /home/randr/public_html/core/init.php on line 337

abantecart

Check write permissions on directory /home/randr/public_html/system/cache
It should be 777

For unconfigured  domain warning, check Store URL setting in System -> Settings
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

abolabo

hello

Quote2012-08-05 7:58:12 - warning:  unlink(/home/randr/public_html/system/cache/cache.layout.pages.pagescontentcontent.contentid.2.1341937668) [<a href='function.unlink'>function.unlink</a>]: Permission denied in <b>/home/randr/public_html/core/lib/cache.php</b> on line <b>36</b>
check permissions  system/cache folder for web-server user
Quote2012-08-05 7:58:12 - warning:  fopen(/home/randr/public_html/system/cache/cache.store.5a5bb43ee90f8a06fc958c00723ea963.1344254292) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in <b>/home/randr/public_html/core/lib/cache.php</b> on line <b>80</b>
the same
Quote2012-08-05 7:58:12 - App Warning:  Warning: Trying to access with unconfigured  domain. Possibly incorrect store set up. Loading default store in /home/randr/public_html/core/init.php on line 337
compare your site url and url in the cart settings

"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

abolabo

Quote from: epanagio on August 04, 2012, 08:17:53 PM
QuoteFatal error: Allowed memory size of 54525952 bytes exhausted (tried to allocate 70136576 bytes) in /home/randr/public_html/admin/controller/pages/tool/error_log.php on line 58
What does this mean?
Since there is a limitation where is this error log located so I can ssh and view it with vi

it's mean that 54Mb for abantecart is not enough. Please increase memory limit at least up to 64Mb. (more is better)
You can do that in php.ini file
memory_limit = 64M;
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

epanagio

Will this file be migrated or will it keep increasing in size.

Can I rename the file and if I do will abantecart recreate a fresh one?

abolabo

Quote from: epanagio on August 06, 2012, 10:41:07 AM
Will this file be migrated or will it keep increasing in size.

Can I rename the file and if I do will abantecart recreate a fresh one?

error.log? you can delete it. it will recreate again.

Files from system/cache too
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Forum Rules Code of conduct
AbanteCart.com 2010 -