Jump to content

Installation Prestastop stops at Database configuration


Recommended Posts

Hello!

 

I am new to Prestashop and have spend quite some time trying to install a websop with Prestashop. I am running the Presta installer but this does not go past the 'Database configuration' step.

 

Here's what I have done:

 

I have completed the first step 'System Compatibility' of the installer and subsequently I have created a database through MySQL on my webserver (the DirectAdmin panel that I have to use forces me to use id03844 for database name and user) . After creation the following data are shown:

 

Database name: id03844_myrte

Database user: id03844_id03844

Pass: *******

Host: localhost

 

If I enter these data in the 'Database configuration' in the Prestashop installer and press 'Verify my database settings' it will establish a connection. Then I enter my email address and press 'Send test email' it says that a test email has been sent.

 

However, test emails are not delivered and the installer will NOT move on to the next step. There is no error message and I really don't know what can be the problem.

 

I am not sure if it will help, but here's a copy of my settings.inc.php file:

 

 

<?php

define('_DB_SERVER_', 'localhost');

define('_DB_TYPE_', 'MySQL');

define('_DB_NAME_', 'id03844_myrte');

define('_DB_USER_', 'id03844_id03844');

define('_DB_PASSWD_', '*******');

define('_DB_PREFIX_', 'ps_');

define('_MYSQL_ENGINE_', 'InnoDB');

define('__PS_BASE_URI__', '/shop/');

define('_PS_CACHING_SYSTEM_', 'MCached');

define('_PS_CACHE_ENABLED_', '0');

define('_MEDIA_SERVER_1_', '');

define('_MEDIA_SERVER_2_', '');

define('_MEDIA_SERVER_3_', '');

define('_THEME_NAME_', 'prestashop');

define('_COOKIE_KEY_', '6r7yc7ZuOGXvUZyY1PVhOtEyW0SvBIY38517bB0SbK7zac5HSXKfDbrf');

define('_COOKIE_IV_', 'D41sphyP');

define('_PS_CREATION_DATE_', '2011-11-03');

define('_PS_VERSION_', '1.4.5.1');

?>

 

Although I am a real newby, I have the impression that it has something to do with the localhost (isn't this supposed to run on the webserver?)

 

Any help is appreciated!! Especially if you can provide it in laymen's terms :)

 

Thanks!

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...

define('_DB_SERVER_', 'localhost');

 

this is the name of your mysql server. In some cases this will be 'localhost' and for many shared server environment this name will be different. You should obtain the name of your mysql server from your hosting account or company.

Link to comment
Share on other sites

Dear Sir

 

I am also facing the somewhat same problem.

 

My Site is working fine when i am working on my local machine.

 

but when i upload it to the webserver it shows a blank page - with no error message or any text..

 

i have tested my settings.inc.php file..

 

the database is connecting perfectly fine on the webserver... (i have tested by temporarily changing the database name or username in settings.inc.php file)

 

 

my settings.inc.php file details are mentioned below

 

define('__PS_BASE_URI__', '/');

define('_MEDIA_SERVER_1_', '');

define('_MEDIA_SERVER_2_', '');

define('_MEDIA_SERVER_3_', '');

define('_PS_CACHING_SYSTEM_', 'MCached');

define('_PS_CACHE_ENABLED_', '0');

define('_THEME_NAME_', 'prestashop_new');

define('_DB_NAME_', 'ampro_database1');

define('_MYSQL_ENGINE_', 'InnoDB');

define('_DB_SERVER_', 'localhost');

define('_DB_USER_', 'ampro_user1');

define('_DB_PREFIX_', 'ps_');

define('_DB_PASSWD_', '**********');

define('_DB_TYPE_', 'MySQL');

define('_COOKIE_KEY_', 'VWCJqsTis2CYHRUrsdMYxrQv1JTrnIBfKZc0XFx4D3If18YSZmkK0ZmO');

define('_COOKIE_IV_', 'BobEEgvx');

define('_RIJNDAEL_KEY_', 'yPwxRxfI0r0C42ZJQPm0bXNpVuHf8yeu');

define('_RIJNDAEL_IV_', 'oHuRsc6PgkFu6yrrZxcv+Q==');

define('_PS_VERSION_', '1.4.5.1');

 

 

kindly give the solution. i have tried to upload it several times.. but same status

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