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: Fatal error: Please Help  (Read 5450 times)

0 Members and 1 Guest are viewing this topic.

89ravenclaw

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Fatal error: Please Help
« on: August 22, 2007, 07:30:00 am »

When i got to the index.php of my galleries i get this error message

Fatal error:

While executing query "SELECT extension, mime, content, player FROM cpg1411_filetypes;" on 0

mySQL error: Unknown column 'player' in 'field list'


Logged

Nibbler

  • Guest
Re: Fatal error: Please Help
« Reply #1 on: August 22, 2007, 07:41:46 am »

Run update.php. If that doesn't help then search the board.
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Fatal error: Please Help
« Reply #2 on: August 22, 2007, 07:43:56 am »

The more info you post the better the support wil become.

Did you try to upgrade your CPG with an automated tool as the dreaded Fantastico ?

One way of solving this is by downloading the cpg 1.4.12 package and performing a clean update of your cpg.
http://forum.coppermine-gallery.net/index.php?topic=44747.0

Searching the board with "mySQL error: Unknown column" as the search criteria would have gotten you this answer as wel, please search before posting ;)
Logged

89ravenclaw

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Fatal error: Please Help
« Reply #3 on: August 22, 2007, 09:14:34 pm »

Okay, I ran update.php (successful) and now no matter what page I try to access (with the exception of install.php, update.php, etc.) all I get is a blank page with no error message.

PHP: 5
MYSQL:
Coppermine: 1.4.12
Server: IIS
Gallery URL: http://www.theowlery.org/cpg1412/

I didn't use fantastico or anything like that. I installed it directly onto my server. I am using a database from an older version, but wouldn't the update.php have sorted that out?
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Fatal error: Please Help
« Reply #4 on: August 22, 2007, 09:40:51 pm »

See if you can get debug turned on by going into phpmyadmin , opening your cpg database and going to the cpg***_congif table.
In there should be a mentioning off "debug_mode" which is set to 0 if not turned on. Set the value to 1 and save. Reload your site, there should be a debug message appearing. Post that here, it might help me or other supporters etc.
Logged

89ravenclaw

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Fatal error: Please Help
« Reply #5 on: August 23, 2007, 12:02:04 am »

Debug has been on

that's how I got my orginal error message
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Fatal error: Please Help
« Reply #6 on: August 23, 2007, 07:43:17 am »

Blank pages are usually a result of broken/corrupted files. Get a fresh package of cpg1.4.12, re-upload it to your webserver, making sure that you're using the proper FTP mode and that your FTP app is configured to overwrite existing files. Use a "real" FTP app (not some crap like the uploader built into MS Frontpage).
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.