phpWCMS looks a great program! After installation and creating the database tables I encountered a problem during the first time use. The following error occurred:
Warning: mysql_pconnect(): Access denied for user: 'wwwrun@localhost' (Using password: NO) in /home/sites/site4/web/php/cms1/include/inc_lib/default.inc.php on line 25
Error while trying to connect to localhost
These are the lines, which I made during setup and which gave a succesfull table creation:
<?php
// database values
$phpwcms["db_host"] = "localhost";
$phpwcms["db_user"] = "shopuser";
$phpwcms["db_pass"] = "*****";
$phpwcms["db_table"] = "cms1";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "http://pro.xt.nl/";
$phpwcms["admin_email"] = "mail@xt.nl";
// paths
$phpwcms["root"] = "php/cms1"; //default: ""
$phpwcms["file_path"] = "phpwcms_filestorage"; //default: "phpwcms_filestorage"
$phpwcms["file_tmp"] = "phpwcms_tmp"; //default: "phpwcms_tmp"
$phpwcms["templates"] = "phpwcms_template"; //default: "phpwcms_template"
$phpwcms["dir_thlist"] = "thumb_list"; //default: "thumb_list"
$phpwcms["dir_preview"] = "thumb_preview"; //default: "thumb_preview"
$phpwcms["content_path"] = "content"; //default: "content"
$phpwcms["cimage_path"] = "images"; //default: "images"
$phpwcms["ftp_path"] = "phpwcms_ftp"; //default: "phpwcms_ftp"
I hope it's a simple problem and somebody will be able to provide a solution. All the best!
Error in default.inc.php
Re: Error in default.inc.php
jaap wrote:Warning: mysql_pconnect(): Access denied for user: 'wwwrun@localhost' (Using password: NO) in /home/sites/site4/web/php/cms1/include/inc_lib/default.inc.php on line 25
Error while trying to connect to localhost
so which one is correct?jaap wrote: $phpwcms["db_user"] = "shopuser";
'welcome to the real world!' datensysteme-lenk
Thanks for your replies
The user "shopuser" is the indicated username. With this username and corresponding password I managed to complete the setup and the tables were automatically created.
The user "wwwrun" does not exist in my MySQL database. So I don't know where this username originates from.
Any more suggestions?
Thanks for your help.
The user "wwwrun" does not exist in my MySQL database. So I don't know where this username originates from.
Any more suggestions?
Thanks for your help.
-
- Posts: 21
- Joined: Fri 5. Mar 2004, 07:32
Problem solved
Thanks for your advice. I changed permissions in some include submaps and now it runs perfect.
Re: Problem solved
hellojaap wrote:Thanks for your advice. I changed permissions in some include submaps and now it runs perfect.
could you tell us wich one's!? maybe sombody get's this problem also!