Jump to content

[SOLVED] Moved localhost to server - white page!


Recommended Posts

I moved my site on server . I make a new subdomain /shop , i upload all site and sql, config sql , but define('__PS_BASE_URI__', '/'); not know how config ?

i try : define('__PS_BASE_URI__', '/');
define('__PS_BASE_URI__', '/shop/');
define('__PS_BASE_URI__', '/public_html/shop/');
define('__PS_BASE_URI__', '/home/public_html/shop/');
define('__PS_BASE_URI__', '/site/shop/');

who is ok ?

Link to comment
Share on other sites

Hi,

depends on which version you are using.

for 1.3.x -> define(’__PS_BASE_URI‘__, ‘/shop/’); in config/settings.inc.php

AND if version 1.3.2 in database change in tabel ps-configuration, field PS_BASE_URI !

for 1.4 -> only define(’PS_BASE_URI‘, ‘/shop/’); in config/settings.inc.php

BUT:
since you said:

I moved my site on server . I make a new subdomain /shop , i upload all site and sql, config sql , but define(’PS_BASE_URI‘, ‘/’); not know how config ?


Have you changed your database-settings in config/settings.inc.php :
define('_DB_NAME_', 'prestashop'); --> it is possible your host has given you a db-name(not changeable)
define('_DB_SERVER_', 'localhost'); --> this has to be your host's database-server
define('_DB_USER_', 'root'); --->your user name for the host's db-server
define('_DB_PASSWD_', 'root'); -->your password for your host's db-server
Link to comment
Share on other sites

×
×
  • Create New...