Jump to content

[solved] Website blank


Recommended Posts

Hello

im getting this message on my web

http://mc-london.com/shop/en/

 

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 374482 bytes) in /www/sites/9f8/9f5/www.mc-london.com/web/shop/modules/blocktopmenu/blocktopmenu.php on line 644

 

The hosting cannot put a php.ini file due its a shared hosting is this why the web went blank?

Thanks so much

Link to comment
Share on other sites

This error message can spring up in a PHP script when the memory requirements exceed the limit. However, do not fret because this is an easy problem to overcome on own webservice (vps/dedicated)

 

To change the memory limit for one specific script, include a line such as this at the top of the script:

 

ini_set("memory_limit","12M");

 

The 12M sets the limit to 12 megabytes (12582912 bytes). If this does not work, keep increasing the memory limit until your script fits or your server squeals for mercy.

 

omg, just noticed that you do not have access to php.ini :(

 

 

it's weird that module doesnt work, this error is related to blocktopmenu, can you provide more informations about your store? is it big? which version you use?

Link to comment
Share on other sites

I guess only solution is to get a VPN server so the website should appear again

 

you can try to use other block top menu module, or figure out what exactly doesnt work properly. if you want to get your shop back, disable block top module,

 

which version of ps you use, and which version of block top menu you've got?

Link to comment
Share on other sites

Hi yagomateos,

 

Try Vekia's method, but add it to config.inc.php in your /config folder.

 

N.B. just take a big step in once, and see if you fix things if you use 128M:

ini_set("memory_limit","128M");

 

Add this line almost at the top of the file, just below the other three set_ini lines you see there.

Hope this helps,

Pascal

Link to comment
Share on other sites

He hasn't got rights to edit php ini values, so i think that the best thing is to debug block top menu, i think that this is imple module configuration issue, but without more informations it is hard to say what exactly is wrong....

Link to comment
Share on other sites

×
×
  • Create New...