Advanced search  

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]

Pages: [1]   Go Down

Author Topic: index.php problem - gallery page doesn't load  (Read 7112 times)

0 Members and 1 Guest are viewing this topic.

tjubb

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
index.php problem - gallery page doesn't load
« on: July 30, 2007, 06:23:20 pm »

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
« Last Edit: July 31, 2007, 12:37:10 am by Nibbler »
Logged

Nibbler

  • Guest
Re: index.php problem - gallery page doesn't load
« Reply #1 on: July 30, 2007, 06:31:47 pm »

Update your gallery.
Logged

tjubb

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: index.php problem - gallery page doesn't load
« Reply #2 on: July 30, 2007, 06:42:51 pm »

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
Logged

Nibbler

  • Guest
Re: index.php problem - gallery page doesn't load
« Reply #3 on: July 30, 2007, 06:57:21 pm »

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

tjubb

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: index.php problem - gallery page doesn't load
« Reply #4 on: July 30, 2007, 08:48:16 pm »

thanks, that did the trick.  Uploaded the new files, ran the update again and the gallery page was then accessible again.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.