Page 1 of 1

Problem about setup the CMS

Posted: Sun 16. Nov 2003, 12:17
by kam5
When I upload all files in my server and run setup,then an error message
tell me "Error while trying to contact to table "phpwcms".

What should I do to set up the CMS ?

or How do i find detail information about that issue as i do not really
understant the setup process.

Thank you.

Posted: Sun 16. Nov 2003, 12:26
by Oliver Georgi
Do you have a mysql table "phpwcms". You have to solve base things first before you can install phpwcms. You should know how to create and setup mysql database.

The error occurs because of mistakes in you db infos

check : username, password, mysql db host, mysql table name.

Oliver

Posted: Sun 16. Nov 2003, 14:58
by kam5
I have run setup.conf.init.sql

Code: Select all

$phpwcms["db_table"]          = "phpwcms";
$phpwcms["db_prepend"]        = "";
Is $phpwcms["db_table"] the variable of the database name or I need to create a table called phpwcms ?

What other things I should do despite running setup.conf.init.sql to setup phpwcms ?

what is the meaning of $phpwcms["db_prepend"] ?

thank you, Oliver!

Posted: Sun 16. Nov 2003, 15:04
by Oliver Georgi
You must have a MySQL database, in your sample it should be "phpwcms". If you want to have a phpwcms table prefix then you should fill in the db_prepend. Then every phpwcms_... table will become "db_prepend_phpwcms_..."

Oliver

Posted: Sun 16. Nov 2003, 15:14
by kam5
A bad thing is that i do have a SQL database but not named Phpwcms
and the wrost thing is i canot chande its name.

can I still use Phpwcms ?

Posted: Sun 16. Nov 2003, 16:27
by Oliver Georgi
Yeah that's what I tried to tell you - you have to take your db name - phpwcms is only a sample ;-)

Posted: Mon 17. Nov 2003, 00:05
by kam5
Error while trying to contact to table "phpwcms".

thank, Oliver
Now I know what the "table" means.

It refers the database name , not a single table.

maybe you can change the error message into :

Error while trying to contact to database "phpwcms".

it is more easy for beginers to understand.

Posted: Mon 17. Nov 2003, 00:12
by Oliver Georgi
:D