index.php problem - gallery page doesn't load index.php problem - gallery page doesn't load
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

index.php problem - gallery page doesn't load

Started by tjubb, July 30, 2007, 06:23:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tjubb

I have a gallery that had been working great for a number of years.  I wanted to upload some new photos today and I was unable to access my gallery (www.scannerbytes.com/photos).  I then ftp'd into that directory and noticed the index.php was accidentally overwritten with the index.php from my root directory for the main site.  I had a backup of the photo directory so I re uploaded the version I had.  Now I just get a blank page.  All the photo gallery directories are still intact, it's just the main photo gallery page is not loading.  Can someone give me a hand?  I'm at a loss.  Thanks,
Tom


tjubb

I did the update and got this message when trying to load the gallery page:
Fatal error: Call to undefined function: db_query() in /homepages/0/d91631435/htdocs/photos/index.php on line 52

Nibbler

Then you didn't update properly. Replace all the files with the updated versions from the package, especially index.php.

tjubb

thanks, that did the trick.  Uploaded the new files, ran the update again and the gallery page was then accessible again.