By betterlifedirections on
Hi I have just uploaded and installed ubercart, uc_eway, and uc_gst .... and got the following error when I tried to view the modules list.
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 108823 bytes) in /home/aggregat/public_html/includes/cache.inc on line 105
I have no idea how to fix this, or how to get back to the modules listing so I can unselect options to enable me to trouble shoot exactly what is causing the problems.
Does anyone have any ideas on how I can overcome this challenge?
Please help
Comments
additional error message
the following appears on the admin page
# One or more problems were detected with your Drupal installation. Check the status report for more information.
# warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'uc_paypal_ipn_access' was given in /home/aggregat/public_html/includes/menu.inc on line 452.
Increase your memory limit
That first error is a memory issue - you might want to try increasing your PHP memory setting to something like 96MB - you can do this in the php.ini file in your Drupal directory. The error may be caused by adding a large amount of modules to your site especially if you're on a shared host. That's just a guess.
Try increasing the memory limit and max execution time in your php.ini file.
You may also want to delete the modules you just uploaded to see if that fixes the error message - if you delete them, and then you can load your modules list, it probably is a memory issue.
-backdrifting
thanks ... but ...
Hi,
thanks heaps for your response. Trying the php.ini issue first as that seems the easiest fix ... however I can't see it listed anywhere. Can you please let me know specifically where I *should* be able to find it?
James
partially resolved
Hi,
thanks again for your input ... I deleted ubercart module, and that fixed the problem of the error message. Issue is that I need to run that module, and can't find php.ini to increase memory. Any suggestions?
Memory issue ...
Additionally check this post out:
http://drupal.org/node/76156
Problem resolved
I added a 1 line php.ini file to public_html root (using cpanel file manager). 1 line read
ini_set('memory_limit', '64M');
This appeared to solve the problem, however for some reason phpinfo() is now telling me that it is using 128M of memory.
Anyway ... thanks for your help
James