Jump to content

error message: Link to database cannot be established


Recommended Posts

Hello,

I know this is a known problem but couldn't get a specific answer for my config.

Here is the content of my settings.inc.php file:

<?php

define('__PS_BASE_URI__', '/wb/prestashop/');
define('_THEME_NAME_', 'prestashop');
define('_DB_NAME_', 'db1151878-prestashop');
define('_DB_SERVER_', 'www.pure-african-talents.de');
define('_DB_USER_', 'root');
define('_DB_PREFIX_', 'ps_');
define('_DB_PASSWD_', '*********');
define('_DB_TYPE_', 'MySQL');
define('_COOKIE_KEY_', 'fdCRbZw3Nb9yADZ6mRdHVKGEQ1jWoKijSw9SjRvY8cqUOFMYXvIHjb07');
define('_COOKIE_IV_', 'NkR2ZC00');
define('_PS_VERSION_', '1.1.0.5');

?>

By the way, wb is a directory for the cms Website Baker. (the localhost config works fine)


Thanks a lot, your help is appreciated.

Kami

Link to comment
Share on other sites

Hello,

I am having trouble connecting to my Prestashop page. When I try to put a link to it, I get a blank page on my browser,

no error message at all. Can someone please help me ? It is fairly URGENT. Thanks so much.

Here is my settings.inc.php:

<?php

define(’PS_BASE_URI‘, ‘/wb/prestashop/’);
define(’THEME_NAME‘, ‘prestashop’);
define(’DB_NAME‘, ‘db1151878-prestashop’);
define(’DB_SERVER‘, ‘wp022.webpack.hosteurope.de’);
define(’DB_USER‘, ‘dbu1151878’);
define(’DB_PREFIX‘, ‘ps_’);
define(’DB_PASSWD‘, ‘************’);
define(’DB_TYPE‘, ‘MySQL’);
define(’COOKIE_KEY‘, ‘fdCRbZw3Nb9yADZ6mRdHVKGEQ1jWoKijSw9SjRvY8cqUOFMYXvIHjb07’);
define(’COOKIE_IV‘, ‘NkR2ZC00’);
define(’PS_VERSION‘, ’1.1.0.5’);

?>

(the directory wb stands for the CMS Website Baker)

I don't know if it helps but everything works fine on my localhost:

Here is my settings.inc.php:

<?php

define('__PS_BASE_URI__', '/wb/prestashop/');
define('_THEME_NAME_', 'prestashop');
define('_DB_NAME_', 'prestashop');
define('_DB_SERVER_', 'localhost');
define('_DB_USER_', 'root');
define('_DB_PREFIX_', 'ps_');
define('_DB_PASSWD_', '');
define('_DB_TYPE_', 'MySQL');
define('_COOKIE_KEY_', 'fdCRbZw3Nb9yADZ6mRdHVKGEQ1jWoKijSw9SjRvY8cqUOFMYXvIHjb07');
define('_COOKIE_IV_', 'NkR2ZC00');
define('_PS_VERSION_', '1.1.0.5');

?>

Thanks, Kami

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