From fbonani at yahoo.com Wed Nov 30 12:50:40 2005 From: fbonani at yahoo.com (Fred Bonani) Date: Wed, 30 Nov 2005 09:50:40 -0800 (PST) Subject: [PolarBlog] Error Msg Message-ID: <20051130175040.13010.qmail@web30213.mail.mud.yahoo.com> When trying to upgrade from version 1.62 to version 1.70, I am getting the following error message. Unable to create a database object, please check your database settings in lib/PbDb_class.php DB Error: A fatal database error has occurred, please try again later. Any assitance would be appreciated. --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.polarlava.com/pipermail/polarblog_polarlava.com/attachments/20051130/77761e52/attachment.htm From kevinp at polarlava.com Wed Nov 30 14:56:36 2005 From: kevinp at polarlava.com (Kevin L. Papendick) Date: Wed, 30 Nov 2005 14:56:36 -0500 Subject: [PolarBlog] Error Msg In-Reply-To: <20051130175040.13010.qmail@web30213.mail.mud.yahoo.com> References: <20051130175040.13010.qmail@web30213.mail.mud.yahoo.com> Message-ID: <438E03F4.308@polarlava.com> Fred, Does your blog, currently load properly? If your blog loads, I don't see how you could be getting an error. Basically this indicates that your the DB settings in config/config.php are not set. You can get a more informative error message by editing lib/PbDb_class.php and changing line #30 to read: $this->setDebug(TRUE); That should then display the raw PHP MySQL error. In short, it appears that unable to authenticate using the credentials that are currently set in the config.php file. Looking at the installer again, I do see where there may be a minor problem I should probably address, but that's more of an issue for those who are installing for the first time. Basically a case where they have not configured the DB setting in config.php before running the installer. Regards, -klp Fred Bonani wrote: > When trying to upgrade from version 1.62 to version 1.70, I am getting the following error message. > > Unable to create a database object, please check your database settings in lib/PbDb_class.php > DB Error: A fatal database error has occurred, please try again later. > > Any assitance would be appreciated. > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > > > ------------------------------------------------------------------------ > > _______________________________________________ > Polarblog mailing list > Polarblog at polarlava.com > http://mail.polarlava.com/mailman/listinfo/polarblog_polarlava.com From kevinp at polarlava.com Wed Nov 30 15:45:05 2005 From: kevinp at polarlava.com (Kevin L. Papendick) Date: Wed, 30 Nov 2005 15:45:05 -0500 Subject: [PolarBlog] Error Msg In-Reply-To: <20051130201932.65407.qmail@web30214.mail.mud.yahoo.com> References: <20051130201932.65407.qmail@web30214.mail.mud.yahoo.com> Message-ID: <438E0F51.9080105@polarlava.com> Hmmm....that's very odd. It should create the DB object the same as what the blog itself uses. I'm assuming you get this error immediately when you load install.php, no? You need to resolve this and run the upgrade option in order for the database changes required for this release to work. I would turn on the debug option as mentioned below. If that doesn't give you any more useful of a message, try moving that line above the $stat = $this->MySqlDb(DB_HOST, DB_NAME, DB_USER, DB_PASSWD, DB_CONNECT, DB_PORT); line. -klp Fred Bonani wrote: > Thanks for the quick response. > > Yes the blog loads fine...I was following the upgrade directions. All I did was move the database information from the config.php file I originally had to the new one that came with v. 1.70. I also entered the email information as well. > > I guess as long as it loads I'm OK? > > "Kevin L. Papendick" wrote: Fred, > > Does your blog, currently load properly? If your blog loads, I don't see how you could be getting an error. Basically this indicates that your the DB settings in config/config.php are not set. You can get a more informative error message by editing lib/PbDb_class.php and changing line #30 to read: > > $this->setDebug(TRUE); > > That should then display the raw PHP MySQL error. In short, it appears that unable to authenticate using the credentials that are currently set in the config.php file. > > Looking at the installer again, I do see where there may be a minor problem I should probably address, but that's more of an issue for those who are installing for the first time. Basically a case where they have not configured the DB setting in config.php before running the installer. > > Regards, > > -klp > > Fred Bonani wrote: >> When trying to upgrade from version 1.62 to version 1.70, I am getting the following error message. >> >> Unable to create a database object, please check your database settings in lib/PbDb_class.php >> DB Error: A fatal database error has occurred, please try again later. >> >> Any assitance would be appreciated. >> >> >> >> >> --------------------------------- >> Yahoo! Music Unlimited - Access over 1 million songs. Try it free. >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Polarblog mailing list >> Polarblog at polarlava.com >> http://mail.polarlava.com/mailman/listinfo/polarblog_polarlava.com > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From kevinp at polarlava.com Wed Nov 30 17:10:21 2005 From: kevinp at polarlava.com (Kevin L. Papendick) Date: Wed, 30 Nov 2005 17:10:21 -0500 Subject: [PolarBlog] Error Msg In-Reply-To: <20051130211522.51844.qmail@web30204.mail.mud.yahoo.com> References: <20051130211522.51844.qmail@web30204.mail.mud.yahoo.com> Message-ID: <438E234D.20802@polarlava.com> Fred, My apologies...I just realized what's going... 1) V1.7.0 was released without the proper/new installer. Please download V1.7.1 which is what V1.7.0 should have been! This is a direct link -> http://polarblog.polarlava.com/releases/pb_v171.tgz 2) This explains the odd comment upgrade message. 3) I'm sort of guessing (because I'm not currently looking at the old installer code), but the failure you got the first time you tried is likely because you mis-typed your DB username or password. That's the only reason I can see for that happening. In any case, I think if you grab the correct version and run the installer you will all set. If you still have problems let me know. -klp Fred Bonani wrote: > Well, I don't know what happened, but when I changed the Debug to TRUE, i was then able to run the install.php file. The difference I noted that the instructions say to use "Upgrade Polarblog" and that was not one of the options under the Upgrade menu. > > I got a message that said Congratulations on your comment upgrade and when I went to the main page, it does not look any different than it looked prior to the upgrade. Neither does the admin portion of it. > > Where would I find the email upgrade? Am I missing something? > > "Kevin L. Papendick" wrote:Hmmm....that's very odd. It should create the DB object the same as what the blog itself uses. I'm assuming you get this error immediately when you load install.php, no? You need to resolve this and run the upgrade option in order for the database changes required for this release to work. I would turn on the debug option as mentioned below. If that doesn't give you any more useful of a message, try moving that line above the $stat = $this->MySqlDb(DB_HOST, DB_NAME, DB_USER, DB_PASSWD, DB_CONNECT, DB_PORT); line. > > -klp > > > Fred Bonani wrote: >> Thanks for the quick response. >> >> Yes the blog loads fine...I was following the upgrade directions. All I did was move the database information from the config.php file I originally had to the new one that came with v. 1.70. I also entered the email information as well. >> >> I guess as long as it loads I'm OK? >> >> "Kevin L. Papendick" wrote: Fred, >> >> Does your blog, currently load properly? If your blog loads, I don't see how you could be getting an error. Basically this indicates that your the DB settings in config/config.php are not set. You can get a more informative error message by editing lib/PbDb_class.php and changing line #30 to read: >> >> $this->setDebug(TRUE); >> >> That should then display the raw PHP MySQL error. In short, it appears that unable to authenticate using the credentials that are currently set in the config.php file. >> >> Looking at the installer again, I do see where there may be a minor problem I should probably address, but that's more of an issue for those who are installing for the first time. Basically a case where they have not configured the DB setting in config.php before running the installer. >> >> Regards, >> >> -klp >> >> Fred Bonani wrote: >>> When trying to upgrade from version 1.62 to version 1.70, I am getting the following error message. >>> >>> Unable to create a database object, please check your database settings in lib/PbDb_class.php >>> DB Error: A fatal database error has occurred, please try again later. >>> >>> Any assitance would be appreciated. >>> >>> >>> >>> >>> --------------------------------- >>> Yahoo! Music Unlimited - Access over 1 million songs. Try it free. >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Polarblog mailing list >>> Polarblog at polarlava.com >>> http://mail.polarlava.com/mailman/listinfo/polarblog_polarlava.com >> >> >> >> --------------------------------- >> Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free.