Problem David...
I am running PHP version 5.4.26. I got stopped during the install. I am currently here: /install/install2.php. I had just put in my admin details and am getting this:
Warning: mysql_pconnect(): Access denied for user 'earnonli_lEarN'@'localhost' (using password: YES) in /home/earnonli/public_html/install/database.class.php on line 37
Warning: mysql_selectdb(): Access denied for user 'nobody'@'localhost' (using password: NO) in /home/earnonli/public_html/install/database.class.php on line 39
Warning: mysql_selectdb(): A link to the server could not be established in /home/earnonli/public_html/install/database.class.php on line 39
Warning: mysql_query(): Access denied for user 'nobody'@'localhost' (using password: NO) in /home/earnonli/public_html/install/database.class.php on line 147
Warning: mysql_query(): A link to the server could not be established in /home/earnonli/public_html/install/database.class.php on line 147
CREATE TABLE IF NOT EXISTS `smp_mainsite_settings` ( `id` int(11) NOT NULL DEFAULT '1' , `sitename` varchar(255), `description` varchar(255), `keywords` varchar(255), `disclaimer` LONGTEXT, `privacy` LONGTEXT, `terms` LONGTEXT, `contact` LONGTEXT, `email_from_name` varchar(255) , `mailer_details` text , `aff_points` int(11) NOT NULL DEFAULT '1', `jv_points` int(11) NOT NULL DEFAULT '5', `allow_gifts` int(11) NOT NULL DEFAULT '3', `showgiftlink` int(11) NOT NULL DEFAULT '1', `bgcolor` varchar(255) NOT NULL, `bgimage` varchar(255) NOT NULL, `header` varchar(255) NOT NULL, `footer` varchar(255) NOT NULL, `membership_type` int(11) NOT NULL DEFAULT '1', `showsqueeze` int(11) NOT NULL DEFAULT '0', `jvsponder` varchar(20) NOT NULL, `freesponder` varchar(20) NOT NULL, `gsponder` varchar(20) NOT NULL, `showgiftddlink` int(11) NOT NULL, `giftpp` varchar(255) NOT NULL, `gstart_date` date NOT NULL, `gend_date` date NOT NULL, `meta` longtext NOT NULL, `useeditor` VARCHAR(2) NOT NULL DEFAULT '1', `affiliatesponder` varchar(20) NOT NULL, `allow_bonuses` VARCHAR(2) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) 1045 Access denied for user 'nobody'@'localhost' (using password: NO)
I did check common/config.php and the script did write to this file and the information is correct.
Line 37 is:
$dbh = mysql_pconnect ($DB_HOST, $DB_USER, $DB_PASS);
Line 39 is:
mysql_selectdb($DB_NAME);
Line 147 is:
if (! (mysql_query ("$mysql")))//$mysql is for the query
Suggestions?
Kindest Regards...
Shirley