britu10 Posted February 10, 2017 Share Posted February 10, 2017 Hi, I've installed and configured PS1.7 in my local server. Then, I developed my own template from a classic's copy. Next step has been to migrate to my hosting server, but I'm having some problems. I've uploaded all the files to the server, exported the database via PHPmyAdmin, I've changed the db access in /app/config/parameters.php and /app/config/parameters.yml and I changed the ps_shop_url table to my new address. After all, I'm getting an error 500. Am I missing something? Thank you very much in advance Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted February 10, 2017 Share Posted February 10, 2017 Hi, I've installed and configured PS1.7 in my local server. Then, I developed my own template from a classic's copy. Next step has been to migrate to my hosting server, but I'm having some problems. I've uploaded all the files to the server, exported the database via PHPmyAdmin, I've changed the db access in /app/config/parameters.php and /app/config/parameters.yml and I changed the ps_shop_url table to my new address. After all, I'm getting an error 500. Am I missing something? Thank you very much in advance Referring to error 500 ¿You have enabled the debug (config/defines.inc.php) https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/ ? Link to comment Share on other sites More sharing options...
Andrej Stas Posted February 11, 2017 Share Posted February 11, 2017 To help you more we need to know what error occurred exactly. For that you need to enable the DEBUG mode just like Sergio wrote. With DEBUG mode enable, you will not see ERROR 500, but a list of specific errors. Link to comment Share on other sites More sharing options...
britu10 Posted February 14, 2017 Author Share Posted February 14, 2017 I enable the debug mode with this, but I don't find any difference: define('_PS_MODE_DEV_', true); The message I get is this one: Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. Link to comment Share on other sites More sharing options...
bellini13 Posted February 14, 2017 Share Posted February 14, 2017 Check your servers php error log for more information. Link to comment Share on other sites More sharing options...
SirachMatthews Posted May 3, 2018 Share Posted May 3, 2018 In my case of the same issue, php memory limits were causing this error in my back office, and this was resolved by increasing the limits in php.ini. For the front office, it was the .htaccess causing the issue. Once I resolved the back office issue, I went to Shop Parameters -> Traffic & SEO -> SET SHOP URL, and clicked on Save. Even though I updated the record in the DB directly, Prestashop still needs to regenerate the .htaccess file. This is part of the routine when saving from the back office. 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