drdelurk Posted April 29, 2013 Share Posted April 29, 2013 Everything was going along fine. Now I am getting the HTTP 500 error. Any ideas what I need to do instead of starting over? Or, do I need to get a developer in place... I am spending the next month just constructing a PS 1.5 website and learning how PS software. I tried to modify some translations: - [Localization --> Translation --> Modify Translations] - I was able access some aspects to modify (e.g., the Front Office Translations). No problems. - But not others. I would get the error message: [Warning! Your PHP configuration limits the maximum number of fields allowed in a form: 1000 for max_input_vars. Please ask your hosting provider to increase the this limit to 11052 at least or edit the translation file manually.] So I asked the host to do so. Next day, I'm getting the 500 error. Is the error related to the config change? I asked the host and got this response: "Currently, I am not seeing any 500 errors, however, I see that you may have coding issues within your site when I attempt to click on a product as it displays a white page. " What does this mean? Thanks for your ideas. website: http://www.vinotrope.com sample 500 error page: http://www.vinotrope...ulah-syrah.html Link to comment Share on other sites More sharing options...
tdr170 Posted April 29, 2013 Share Posted April 29, 2013 Have you tried regenerating the .htaccess file. Link to comment Share on other sites More sharing options...
drdelurk Posted April 29, 2013 Author Share Posted April 29, 2013 Thanks. No luck. Still get error. I tried as follows: 1. Using FTP, deleted existing htaccess (backed it up and then deleted) 2. In Preferences --> SEO, turned on [save] and turned off [save] the friendly links. I did this first with the public folder, then second, where the domain PS is located. No luck. Is there a better or proper way to do this? Here is the current error: The website encountered an error while retrieving http://www.vinotrope.com/index.php?id_product=9&controller=product&id_lang=1. It may be down for maintenance or configured incorrectly. Thanks! Link to comment Share on other sites More sharing options...
tdr170 Posted April 30, 2013 Share Posted April 30, 2013 The error only exist with your products this is very strange, I see that the address link is very odd looks like this: <a href="http://www.vinotrope.com/index.php?id_product=10&controller=product&id_lang=1" class="product_list_view_details_link" title="2000 Royal Tokaji Asui 5 Puttonyos ">View Details</a> Have you edited any files, try changed to the standard theme and see if the problem still exist. Link to comment Share on other sites More sharing options...
drdelurk Posted April 30, 2013 Author Share Posted April 30, 2013 Thanks as always! Interestingly ... when I switch to the default theme it gets worse! - I cannot even load the homepage. So this is what I get so far: With the theme: - Home Page - Good - CMS Pages (e.g., the FAQ, About Us, Terms of Service pages) - Good - Product Page - Bad - Cart - Bad - Login - Bad Kind of looks like, anything that requires going into a database or something... Bad. With the default theme - Nothing works! ;o) Link to comment Share on other sites More sharing options...
tdr170 Posted April 30, 2013 Share Posted April 30, 2013 What host do you use, do you have access to the PHP.ini file through the control panel. Do you have a backup of the database, and/or a backup of the shop. What version of Prestashop is the site. Also go to the files of your install and edit the defines.inc.php for 1.5 or config.inc.php for 1.4 and turn on error reporting. @ini_set('display_errors', 'off'); Set this to on 1 Link to comment Share on other sites More sharing options...
drdelurk Posted April 30, 2013 Author Share Posted April 30, 2013 (edited) >> What host do you use, WebHostingHub.com [They are on it too...] >> do you have access to the PHP.ini file through the control panel. Not sure what you mean. I can access it through the CPanel FIle Manager. Looks like I can edit it. >> Do you have a backup of the database, and/or a backup of the shop Yes. But DB only. I have searched for a step-by-step process to backup the shop, and have not had luck. Is there a source somewhere? >> What version of Prestashop is the site. PS 1.5.4.0 >> Also go to the files of your install and edit the defines.inc.php for 1.5 or config.inc.php for 1.4 and turn on error reporting. @ini_set('display_errors', 'off'); Set this to on Appears to be on. Looked in the config --> defines.inc.php file. The variable shows on. Edited April 30, 2013 by drdelurk (see edit history) Link to comment Share on other sites More sharing options...
drdelurk Posted April 30, 2013 Author Share Posted April 30, 2013 (edited) I just realized there were two lines of the defines.inc.php fileto change to 'on' Now - There is a new error! Progress! Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in /public_html/vinotrope.com/classes/Autoload.php on line 95 This error tends to vary from browser and link clicked. Only other thing, my "Favorite Modules" are no longer identified as such. And, when I try and re-'favorite' them ... they refuse to stay a favorite. Edited April 30, 2013 by drdelurk (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 30, 2013 Share Posted April 30, 2013 I just realized there were two lines of the defines.inc.php fileto change to 'on' Now - There is a new error! Progress! Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in /public_html/vinotrope.com/classes/Autoload.php on line 95 This error tends to vary from browser and link clicked. Only other thing, my "Favorite Modules" are no longer identified as such. And, when I try and re-'favorite' them ... they refuse to stay a favorite. This error message can spring up in a previously functional PHP script when the memory requirements exceed the limit. If you're on own server - you can change the - 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. You can also make this a permanent change for all PHP scripts running on the server by adding a line such as this to the server’s php.ini file: memory_limit = 12M if you havent got an access to the configuration files - ask your webhosting provider, maybe they will change it for you 2 Link to comment Share on other sites More sharing options...
drdelurk Posted April 30, 2013 Author Share Posted April 30, 2013 Eureka! That was it! Increased the memory... made sure it was recursive! it is all working. Thank you all. Link to comment Share on other sites More sharing options...
tdr170 Posted April 30, 2013 Share Posted April 30, 2013 OK great, now you know where and how to edit your own PHP.ini file, glad you got it back up and running. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now