Problem about setup the CMS

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
kam5
Posts: 8
Joined: Sat 8. Nov 2003, 16:57
Location: Hong Kong,China
Contact:

Problem about setup the CMS

Post 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.
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
kam5
Posts: 8
Joined: Sat 8. Nov 2003, 16:57
Location: Hong Kong,China
Contact:

Post 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!
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
kam5
Posts: 8
Joined: Sat 8. Nov 2003, 16:57
Location: Hong Kong,China
Contact:

Post 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 ?
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Yeah that's what I tried to tell you - you have to take your db name - phpwcms is only a sample ;-)
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
kam5
Posts: 8
Joined: Sat 8. Nov 2003, 16:57
Location: Hong Kong,China
Contact:

Post 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.
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

:D
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply