Jump to content

How to migrate Prestashop 1.7 from local to server


britu10

Recommended Posts

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

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

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 Error

The 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

  • 1 year later...

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

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