Jump to content

HTTP Error 500 (Internal Server Error)


Menai

Recommended Posts

We have the prestashop new installation set up and have created a couple of products available in the store, we have installed the API for paypal and everything seemed ok, we can proceed to add an item to the cart without any problems but as soon as we go to checkout an error page appears. Has anybody got any ideas please.

The webstore is menaiangling.co.uk

 

Thanks

Edited by Menai (see edit history)
Link to comment
Share on other sites

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24 bytes) in /home/menaiang/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php on line 562

 

is what is displayed!!

Try to increase memory limit

@ini_set('memory_limit','128M');

Edit config/config.inc.php

for example after

@ini_set('display_errors', 'off');

Link to comment
Share on other sites

If i up the memory to 256 and re do the check i get the following..

 

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1966080 bytes) in /home/menaiang/public_html/cache/smarty/compile/a1105f012131e5b971a58ad41bae1ad431ffbfe1.file.product.tpl.php on line 831

Link to comment
Share on other sites

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1966080 bytes) in /home/menaiang/public_html/cache/smarty/compile/a1105f012131e5b971a58ad41bae1ad431ffbfe1.file.product.tpl.php on line 831

I'm pretty sure this error indicates that you have to change memory limit value. Try to edit php.ini, if you have access to the file or configuration.

 

And i'm not able to view any product page... get error 500

Link to comment
Share on other sites

  • 1 year later...

Maybe it will be useful information for some of you:

 

I had problems with HTTP Error 500... and spend many hours reading forum topics and trying many solutions... turning on error reporting / disabling some modules / reuploding files / cheking server configuration and many more...

 

Finaly I found solution in some blog, away from PS community :) Its:

1. Turn On and turn Off the SEO friendly URLs. This will generate the a .htaccess file on your root.
2. Download the .htaccess file. Comment the line “SetEnv HTTP_MOD_REWRITE On” by putting # before the line and reuplod.
3. If the version of PHP running on your server is 5.4 (5.5 / 5.6), change it to 5.2.

 

This should solve your problem ;)

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...