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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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.