You are here:  » Problem installing PT

Support Forum



Problem installing PT

Submitted by Wouter Rens on Mon, 2012-10-22 13:32 in

Hi,

I have a problem installing PT (step 4). When I browse to setup.php. the following is not displayed:

Checking database connection...PASS
Checking database selection...PASS
Checking database tables...FAIL [click here to install tables]

I checked the config.php if all information is filled in correctly (i think it is). Can you help me out? Thanks a lot!

Wouter

Submitted by support on Mon, 2012-10-22 14:07

Hello Wouter, and welcome to the forum!

When you browse to setup.php, a failure at any level of the database tests can be diagnosed as follows:

Checking database connection...

If this test fails, it is most likely $config_databaseServer that is incorrect. The default is "localhost" which is the most common case where MySQL is installed on the same server as the web server, but occasionally it may be a different host, for example mysql1234.yourhostingcompany.com

Checking database selection...

If this test fails, it is most likely $config_databaseUsername and/or $config_databasePassword that is incorrect - more usually the password which is the first thing to double check in this situation.

Checking database tables...

The first time you browse to setup.php this test will show FAIL with a link to install the tables. After clicking the link, it should then display PASS. If this test continues to fail after attempting to install the tables then the most likely problem is that the user (as specified in $config_databaseUsername does not have the CREATE TABLE priv on the database. Check the tool that you used to create the database if exists, and ensure that the user has CREATE/SELECT/UPDATE/DELETE privs as the bare minimum.

If you're still not sure just let me know, and i'll help you investigate further...

Cheers,
David.
--
PriceTapestry.com

Submitted by Wouter Rens on Tue, 2012-10-23 12:50

Hi David,

Thanks for the fast and great support!

I have verified all the settings, and think they are right. After installing WP i made a note of the settings for DB_NAME, DB_USER and DB_PASSWORD from wp-config.php, and copied them in to config.php.

When i login with my FTP program the extention is still config.php.dist. Maybe that's the problem? Allso the DBname and DBuser are exactly the same.

Thanks a lot!

Wouter

Submitted by support on Tue, 2012-10-23 13:14

Hello Wouter,

Ah yes - that will be the problem!

config.php.dist must be renamed to config.php.

I suggest making the change on your local copy, then uploading it as config.php.

Don't forget to DELETE config.php.dist from your server!

All the best,

Cheers,
David.
--
PriceTapestry.com

Submitted by Wouter Rens on Tue, 2012-10-23 17:40

Hi David,

It doesn't work. Maybe, i could email you the information/ wpconfig.php file?

Thanks!

Wouter

Submitted by support on Tue, 2012-10-23 17:45

Hello Wouter,

Of course, if you are happy for me to have temporary FTP access please email me the details and I'll check it out for you. Please include:

URL of WordPress installation
URL of Price Tapestry installation
Temporary FTP details with access to both of the above

Cheers,
David.
--
PriceTapestry.com