Install trouble
Install trouble
When I installed my WCMS thing I got up to the part where it asks you to enter admin details. After entering all the details i clicked next and it kept saying there was a problem with the admin username and password. After 20 goes with no success I accidentaly did not click the "create admin account" and when i clicked next it went to the next step. After I finished the install the index came up and when I clicked login I got this:
Warning: main(./include/inc_lib/default.inc.php): failed to open stream: No such file or directory in /home2/daviesfs/public_html/login.php on line 27
Fatal error: main(): Failed opening required './include/inc_lib/default.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/daviesfs/public_html/login.php on line 27
And then when I try to go to index.php this comes up:
Warning: main(include/inc_lib/default.inc.php): failed to open stream: No such file or directory in /home2/daviesfs/public_html/index.php on line 38
Fatal error: main(): Failed opening required 'include/inc_lib/default.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/daviesfs/public_html/index.php on line 38
Help would be great !
Warning: main(./include/inc_lib/default.inc.php): failed to open stream: No such file or directory in /home2/daviesfs/public_html/login.php on line 27
Fatal error: main(): Failed opening required './include/inc_lib/default.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/daviesfs/public_html/login.php on line 27
And then when I try to go to index.php this comes up:
Warning: main(include/inc_lib/default.inc.php): failed to open stream: No such file or directory in /home2/daviesfs/public_html/index.php on line 38
Fatal error: main(): Failed opening required 'include/inc_lib/default.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/daviesfs/public_html/index.php on line 38
Help would be great !
Ok heres the conf.inc.php:
<?php
// database values
$phpwcms["db_host"] = "localhost";
$phpwcms["db_user"] = "daviesfs_svr";
$phpwcms["db_pass"] = "******";
$phpwcms["db_table"] = "daviesfs_localhost";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "http://www.daviesfs.fs9.org/";
$phpwcms["admin_email"] = "djbailey90@hotmail.com";
// paths
$phpwcms["root"] = ""; //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"
// content values
$phpwcms["file_maxsize"] = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"] = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"] = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"] = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"] = 538; //max width of the large preview image
$phpwcms["img_prev_height"] = 400; //max height of the large preview image
$phpwcms["max_time"] = 1800; //logout after max_time/60 seconds
// other stuff
$phpwcms["compress_page"] = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"] = 0; //0 = GD, 1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"] = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"] = 1; //0 = GD1, 1 = GD2
$phpwcms["rewrite_url"] = 0; //whether URL should be rewritable
$phpwcms["wysiwyg_editor"] = 3; //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"] = 1; //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"] = "en"; //default language
$phpwcms["charset"] = "iso-8859-1"; //default charset 'iso-8859-1'
$phpwcms["allow_remote_URL"] = 0; //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms["gt_mod"] = 0; //0 = Graphical Text MOD disabled, 1 = enabled
// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"] = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"] = ''; //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"] = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'
// smtp values
$phpwcms['SMTP_FROM_EMAIL'] = 'daviesfs@yahoo.com'; // reply/from email address
$phpwcms['SMTP_FROM_NAME'] = 'Davies Flight Simulation Team'; // reply/from name
$phpwcms['SMTP_HOST'] = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT'] = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER'] = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH'] = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER'] = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS'] = ''; // default SMTP password
// Try to check and uncomment the DOCUMENT_ROOT if you have problems
// often neccessary on IIS or default MacOS X webserver settings
// Do not use backslash "\" on Windows - always replace "\" by "/"
//$_SERVER['DOCUMENT_ROOT'] = '/home2/daviesfs/public_html';
?>
I used the phpwcms_1.1-RC4_2004-06-22 version and some of the things were red but I fixed them and they all came up green.
Thanks for the help
<?php
// database values
$phpwcms["db_host"] = "localhost";
$phpwcms["db_user"] = "daviesfs_svr";
$phpwcms["db_pass"] = "******";
$phpwcms["db_table"] = "daviesfs_localhost";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;
// site values
$phpwcms["site"] = "http://www.daviesfs.fs9.org/";
$phpwcms["admin_email"] = "djbailey90@hotmail.com";
// paths
$phpwcms["root"] = ""; //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"
// content values
$phpwcms["file_maxsize"] = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"] = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"] = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"] = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"] = 538; //max width of the large preview image
$phpwcms["img_prev_height"] = 400; //max height of the large preview image
$phpwcms["max_time"] = 1800; //logout after max_time/60 seconds
// other stuff
$phpwcms["compress_page"] = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"] = 0; //0 = GD, 1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"] = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"] = 1; //0 = GD1, 1 = GD2
$phpwcms["rewrite_url"] = 0; //whether URL should be rewritable
$phpwcms["wysiwyg_editor"] = 3; //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"] = 1; //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"] = "en"; //default language
$phpwcms["charset"] = "iso-8859-1"; //default charset 'iso-8859-1'
$phpwcms["allow_remote_URL"] = 0; //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms["gt_mod"] = 0; //0 = Graphical Text MOD disabled, 1 = enabled
// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"] = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"] = ''; //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"] = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'
// smtp values
$phpwcms['SMTP_FROM_EMAIL'] = 'daviesfs@yahoo.com'; // reply/from email address
$phpwcms['SMTP_FROM_NAME'] = 'Davies Flight Simulation Team'; // reply/from name
$phpwcms['SMTP_HOST'] = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT'] = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER'] = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH'] = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER'] = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS'] = ''; // default SMTP password
// Try to check and uncomment the DOCUMENT_ROOT if you have problems
// often neccessary on IIS or default MacOS X webserver settings
// Do not use backslash "\" on Windows - always replace "\" by "/"
//$_SERVER['DOCUMENT_ROOT'] = '/home2/daviesfs/public_html';
?>
I used the phpwcms_1.1-RC4_2004-06-22 version and some of the things were red but I fixed them and they all came up green.
Thanks for the help
Have you tried the defaults? Or the original first one? Okay, I see this error:
OK... now this is the error:
Oops, back to this:
Have you confirmed that the database tables got created? Is that the right name for the database? If so, you might want to delete all the tables that phpWCMS created and run setup again.Error while trying to connect to table "daviesfs_localhost"
OK... now this is the error:
Are the user/pass still correct in "conf.inc.php"?Warning: mysql_pconnect(): Access denied for user: 'daviesfs_svr@localhost' (Using password: YES) in /home2/daviesfs/public_html/include/inc_lib/default.inc.php on line 25
Error while trying to connect to localhost
Oops, back to this:
Error while trying to connect to table "daviesfs_localhost"
Ok I just deleted the first database and made a new one but it still seems to come up with that same message only with the new DB name on it. When I told it to create DB tables on the installer it came up saying that could not be done and it would only let me continue if I selected use persistent db con. And it still wouldn't let me create and Admin user and pass.
Since it says "access denied" I can only assume that it doesn't like either the db_host, db_user, db_pass or db_table names in "config.inc.php"?? You have created a database named "daviesfs_localhost" CORRECT? And the username for that is now... "daviesfs_one" CORRECT? And you have used your control panel or phpMyAdmin to confirm that it exists?
If you only have created one database... the left portion of window should show table structure of the database and name should be at the top above the window (and below the word HOME). If not find a link named databases.
Last edited by DeXXus on Fri 13. Aug 2004, 14:50, edited 1 time in total.