Jump to content

Fatal error: Allowed memory size


Recommended Posts

I saw this error answered in French on the Forum, but can I please have it answered in English :-)

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 64 bytes) in /Applications/MAMP/htdocs/jrpshop/classes/MySQL.php on line 91

I am developing on Mac OSX 10.6 with MAMP 1.8.2, so I would not expect to have to fiddle with php.ini in any way to overcome this.

Link to comment
Share on other sites

it was caused by the module of ProductCategory.

Rocky find a solution by adding pc_prefix to "serialScroll..." in the producuctcategory.js

$ ( '# productscategory_scroll_right' ). css ( 'cursor' , position + pc_serialScrollNbImagesDisplayed == pc_serialScrollNbImages ? 'default' : 'pointer' ). fadeTo ( 500 , position + pc_serialScrollNbImagesDisplayed == pc_serialScrollNbImages ? 0.2 : 1)



I can't find the original url.. but you may check this thread

http://www.prestashop.com/forums/viewthread/51789/discussione_generale/problemi_con_il_modulo_categoria_prodotti_v1_dot_2_dot_1_risolto_dot__dot__dot_

Link to comment
Share on other sites

  • 5 months later...

Hi,
I have a similar issue. I've previously installed the googlebase feed module that creates a data feed. A particularly useful module to assist with marketing a site as it gives your marketing company a list of products your range and their prices, etc. Now, i had this working previously and all of a sudden it's stopped. Back Office just shows a blank screen. I've tried turning on the trouble shooting option in the config file and have the error below appear:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24 bytes) in /home/gmdepot/public_html/shop/classes/MySQL.php on line 83

Further to this, i've tried adding ini_set commands to the config file, i've also tried creating a php.ini file with a time_limit and memory_limit function but neither have worked. I even contacted my host to ensure i don't have a restricted memory limit and as far as i can tell (and from what they told me) i shouldn't have this issue. I've read several threads on the forum but can't seem to find a solution that works.

This did also happen to me a few months ago and it seems creating a php.ini file with the memory_limit function fixed the problem. But only until the next time i tried creating the feed? I have a large number of products on my site (approx 3500) but that's nothing in comparison to others so i don't understand what's causing me this issue. I hope someone out there can help????????

Link to comment
Share on other sites

×
×
  • Create New...