Author Topic: System->logs->Error Logs Produces an error  (Read 5174 times)

Offline epanagio

  • Newbie
  • *
  • Posts: 24
  • Karma: +2/-0
    • View Profile
System->logs->Error Logs Produces an error
« on: August 04, 2012, 08:17:53 PM »
Quote
Fatal 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

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4155
  • Karma: +251/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: System->logs->Error Logs Produces an error
« Reply #1 on: August 04, 2012, 09:45:20 PM »
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
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline epanagio

  • Newbie
  • *
  • Posts: 24
  • Karma: +2/-0
    • View Profile
Re: System->logs->Error Logs Produces an error
« Reply #2 on: August 05, 2012, 08:13:41 AM »
Using ssh the error.txt is just full of errors.

Quote
2012-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>

Quote
2012-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>

Quote
2012-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

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4155
  • Karma: +251/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: System->logs->Error Logs Produces an error
« Reply #3 on: August 06, 2012, 09:27:49 AM »
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
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1783
  • Karma: +248/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: System->logs->Error Logs Produces an error
« Reply #4 on: August 06, 2012, 09:35:20 AM »
hello

Quote
2012-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
Quote
2012-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
Quote
2012-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

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1783
  • Karma: +248/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: System->logs->Error Logs Produces an error
« Reply #5 on: August 06, 2012, 09:47:47 AM »
Quote
Fatal 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

Offline epanagio

  • Newbie
  • *
  • Posts: 24
  • Karma: +2/-0
    • View Profile
Re: System->logs->Error Logs Produces an error
« Reply #6 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?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1783
  • Karma: +248/-11
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: System->logs->Error Logs Produces an error
« Reply #7 on: August 06, 2012, 10:44:43 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

 

Powered by SMFPacks Social Login Mod