Gossamer Forum
Home : Products : Gossamer Links : PHP Front End :

Re: [Dan Kaplan] problems after moving to new host

Quote Reply
Re: [Dan Kaplan] problems after moving to new host In reply to
I solved the fatal error in Jump.inc.php and Rate.inc.php! In both cases, $sth was returning false and needed an if() check in order to successfully execute fetchrow_one(), i.e.:

Code:
if ($sth) {
$rows = $sth->fetchrow_one();
}

I'm not sure if that's a PHP or MySQL difference resulting in the false return value...

I'll have to do more interface testing to see if the problem exists in any of these other files that contain fetchrow_one():

Add.inc.php, Authenticate.inc.php, Modify.inc.php, Page.inc.php, Review.inc.php, Search.inc.php, Subscribe.inc.php, Utils.inc.php, User.inc.php

That's a major issue checked off the list! Now if I can just figure out the adodb piece and clean up all those error log warnings...

Dan
Subject Author Views Date
Thread problems after moving to new host Dan Kaplan 938992 Oct 13, 2010, 8:53 AM
Thread Re: [Dan Kaplan] problems after moving to new host
Andy 938576 Oct 14, 2010, 1:07 AM
Thread Re: [Andy] problems after moving to new host
Dan Kaplan 938583 Oct 14, 2010, 8:54 AM
Thread Re: [Dan Kaplan] problems after moving to new host
Andy 938560 Oct 14, 2010, 9:00 AM
Thread Re: [Andy] problems after moving to new host
Dan Kaplan 938567 Oct 14, 2010, 9:15 AM
Thread Re: [Dan Kaplan] problems after moving to new host
Andy 938568 Oct 14, 2010, 9:30 AM
Post Re: [Andy] problems after moving to new host
Dan Kaplan 938512 Oct 14, 2010, 12:19 PM
Thread Re: [Dan Kaplan] problems after moving to new host
brewt 938507 Oct 14, 2010, 4:06 PM
Thread Re: [brewt] problems after moving to new host
Dan Kaplan 938524 Oct 14, 2010, 6:58 PM
Thread Re: [Dan Kaplan] problems after moving to new host
brewt 938529 Oct 14, 2010, 7:22 PM
Thread Re: [brewt] problems after moving to new host
Dan Kaplan 938516 Oct 14, 2010, 7:30 PM
Thread Re: [Dan Kaplan] problems after moving to new host
Dan Kaplan 938523 Oct 14, 2010, 8:59 PM
Thread Re: [Dan Kaplan] problems after moving to new host
Dan Kaplan 938494 Oct 14, 2010, 9:09 PM
Thread Re: [Dan Kaplan] problems after moving to new host
brewt 938513 Oct 14, 2010, 11:55 PM
Thread Re: [brewt] problems after moving to new host
Dan Kaplan 938492 Oct 15, 2010, 10:08 AM
Thread Re: [Dan Kaplan] problems after moving to new host
brewt 938455 Oct 17, 2010, 3:18 PM
Post Re: [brewt] problems after moving to new host
Dan Kaplan 938374 Oct 21, 2010, 1:04 AM