This seems to be a recurring problem for a lot of people....

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
jamba
Posts: 50
Joined: Fri 23. Apr 2004, 11:18
Location: UK
Contact:

This seems to be a recurring problem for a lot of people....

Post by jamba »

But I still can't get the posted solutions to solve my problem.

I have run the setup, downloaded the conf.inf.php and then uploaded to the live (Apache) server, checked PHPMyAdmin and the tables are all there (eg. phpwcms__phpwcms_address), but I still get the dreaded "Error while trying to connect to table """ message.

Here's the relevant part of my conf.inc.php file:

// database values
$phpwcms["db_host"] = "localhost";
$phpwcms["db_user"] = "admin";
$phpwcms["db_pass"] = *******; [masked for security - but it is correct!]
$phpwcms["db_table"] = "surflocker";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;

This seems to be plagueing a lot of people. Is there a definitive thread that corrects this installation error?
Pappnase

Re: This seems to be a recurring problem for a lot of people

Post by Pappnase »

jamba wrote:But I still can't get the posted solutions to solve my problem.

I have run the setup, downloaded the conf.inf.php and then uploaded to the live (Apache) server, checked PHPMyAdmin and the tables are all there (eg. phpwcms__phpwcms_address), but I still get the dreaded "Error while trying to connect to table """ message.

Here's the relevant part of my conf.inc.php file:

// database values
$phpwcms["db_host"] = "localhost";
$phpwcms["db_user"] = "admin";
$phpwcms["db_pass"] = *******; [masked for security - but it is correct!]
$phpwcms["db_table"] = "surflocker";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;

This seems to be plagueing a lot of people. Is there a definitive thread that corrects this installation error?
hello

you write that the tables in phpmyadmin where named this way phpwcms__phpwcms_address but why is the field in the connf.inc.php
$phpwcms["db_prepend"] = ""; empty? look s like you install phpwcms a several times without delting the tables before. so please delete the tables an dtry it again with out an db_prepend. leave the fiel in the setup empty!
jamba
Posts: 50
Joined: Fri 23. Apr 2004, 11:18
Location: UK
Contact:

Post by jamba »

Stupid error on my part. The setup and conf files were uploading one directory higher than they should have been. Problem solved.
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

the problem with a 'difinative thread' is that there are usually more than a dozen reasons for the same symtoms. 13 if you count yours too ;)
Post Reply