Jump to content

How to fix this "ini.php" error? (Hosting GoDaddy)


Recommended Posts

Hello!.

 

Im a newbie, just change my prestashop web to another host provider and im having some problems.

 

Now im in this one, when i try to go in tne BO to modules i have this error :

 

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 796131 bytes) in /home/playground26/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 281
[PrestaShop] Fatal error in module file :/home/playground26/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php:
Allowed memory size of 67108864 bytes exhausted (tried to allocate 796131 bytes)

 

¿How can i solve this?

 

Thanks in advance, pics included.

 

post-897337-0-52944400-1431590676_thumb.png

post-897337-0-93045500-1431590679_thumb.png

post-897337-0-65846600-1431857666_thumb.png

Edited by Diego Rojo Rubio (see edit history)
Link to comment
Share on other sites

Easiest is to ask your host to increase the memory limit to 256M, for example in php.ini. Some hosts however, don't allow editing of this file, or want to change anything in it (If so, maybe consider still another host!!!)

 

If you can edit your php.ini file yourself, increase the memory limit:

memory_limit = 256M <-- increase this number to 256MB, (now probably 64M or so)

 

 

A few other methods can be found here:

http://dh42.com/blog/speed-prestashop-php-ini/

 

My 2 cents,

pascal.

  • Like 2
Link to comment
Share on other sites

Thank you very much PascalVG.

 

Im newbie and im a bit feared of this method, im gonna try to ask my host provider first, and then if they cant help me ill try to create this php.ini.

 

Still unsolveld , but only because im starting just now. Hopefully Solved soon ;).

 

Thanks , and sorry about my english.

Link to comment
Share on other sites

Arf, still unsolved, yesterday i upgraded the limit of memory, but still dont work.

 

I just have read here https://www.ostraining.com/blog/coding/phpini-file/ there is different in my server GoDaddy.

 

I did a http://www.play26scooters.es/phpinfo.php and it isnt like the forum, it says ir on /usr/local/lib/php.ini.

 

It says too i need to create a new "php5.ini" and upload it, but dont know what lines it have to work, and still cant fint it.

 

Someone can help me? Maybe another people that uses Godaddy as Hosting?.

 

Support says i have to upload to public_html and i did that with whis code but still dont fixed :S.

 

<?php
memory_limit = 2048M
max_execution_time = 1000;
max_input_time = -1;
post_max_size = 15M;
upload_max_filesize = 15M;
max_input_vars = 10000;
suhosin.get.max_vars = 10000;
suhosin.post.max_vars = 10000;
?>

 

Thanks in advance.

Edited by Diego Rojo Rubio (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...