Jump to content

No front office or back after moving shop to new domain


Recommended Posts

I copied my site from one domain to a new domain on same server.

 

I followed all the steps here.

 

http://doc.prestashop.com/display/PS15/System+Administrator+Guide.

 

The original site is working fine the new one is just blank?

 

I have no access to shop or back office just blank pages?

 

Not sure if it matters but I changed from .com to a .ca domain?

 

I tried all the troubleshooting I can find in forums still blank.

 

Mysql database has all the new domain address in place.

 

The first Presta setup was from Cpanel / Quickinstall if that changes anything the second was by making a new database using Mysql?

Link to comment
Share on other sites

Update I turned on error and got this message?

 

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/ylas/public_html/config/settings.inc.php on line 4

 

<?php

define('_DB_SERVER_', 'localhost');
define('_DB_NAME_', ‘ylas_prst1');
define('_DB_USER_', ‘toysnlin_prst1’);
define('_DB_PASSWD_', ‘yPQjy1vJDS66vHL1’);
define('_DB_PREFIX_', 'ps_');
define('_MYSQL_ENGINE_', 'InnoDB');
define('_PS_CACHING_SYSTEM_', 'CacheMemcache');
define('_PS_CACHE_ENABLED_', '1');
 
This should be correct settings for new domain. The username and password should be the same as old prestashop?
Link to comment
Share on other sites

There is your error

 

define('_DB_NAME_', ‘ylas_prst1');

 

The first single quote of the username is not a ' but a special character, replace that with a normal single quote

 

Here too

 

define('_DB_USER_', ‘toysnlin_prst1’);
define('_DB_PASSWD_', ‘yPQjy1vJDS66vHL1’);
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...