Error in default.inc.php
Posted: Sat 8. May 2004, 02:26
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!
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!