forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: slescure on July 26, 2019, 07:30:55 pm

Title: Fatal error: Call to a member function numRows() on boolean ... /bridge/udb_bas
Post by: slescure on July 26, 2019, 07:30:55 pm
I tried to upgrade from 1.4.27 to 1.6.06.

I got to the step to run update.php.

I get the following error:

Fatal error: Call to a member function numRows() on boolean in...g/bridge/udb_base.inc.php on line 356

I really don't know how to troubleshoot this problem. Can you help me?

thanks

steve



Title: Re: Fatal error: Call to a member function numRows() on boolean ... /bridge/udb_bas
Post by: ron4mac on July 26, 2019, 08:17:16 pm
You should restore your gallery from a backup. Then upgrade from 1.4.27 to 1.5.48 first. Then you can upgrade from 1.5.48 to 1.6.06.
Title: Re: Fatal error: Call to a member function numRows() on boolean ... /bridge/udb_bas
Post by: slescure on July 26, 2019, 10:24:22 pm
thank for the reply.

I really screwed this up.I backed up the files, which I have restored. But that didn't fix it, now I just get "fatal error". I should have done a database backup.

Any suggestions?

Title: Re: Fatal error: Call to a member function numRows() on boolean ... /bridge/udb_bas
Post by: ron4mac on July 26, 2019, 10:44:23 pm
You could try performing the upgrade procedure for 1.4.x to 1.5.48
https://documentation.coppermine-gallery.net/en/upgrading.htm#upgrade_any
https://sourceforge.net/projects/coppermine/files/Coppermine/1.5.x/
Title: Re: Fatal error: Call to a member function numRows() on boolean ... /bridge/udb_bas
Post by: slescure on July 27, 2019, 12:01:55 am
Thanks again. I copied the 1.5.48 files to the website, ran the update.php and got the same error.

Fatal error: Call to a member function numRows() on boolean in /hermes/bosnaweb25a/b883/glo.mpullen2/photos.cchca.org/bridge/udb_base.inc.php on line 356

thought i would at least get a different error...

anyway, maybe i can get the hosting service to restore the database (in my case cchca.cpg), copy back the 1.4.27 files, and hopefully it will work.

Title: Re: Fatal error: Call to a member function numRows() on boolean ... /bridge/udb_bas
Post by: slescure on July 27, 2019, 12:49:28 am
sorry, cancel that last message.

i thought it was odd i got the same error message. it's because i hadn't successfully copy the 1.4.x files back.

anyway, it working now!

Thanks so much, big, big help....