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 after upgrade  (Read 8660 times)

0 Members and 1 Guest are viewing this topic.

Bolivar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Fatal Error after upgrade
« on: June 03, 2009, 06:30:20 am »

I just upgraded from 1.3 to 1.4.  I ran the update.php file and that seemed to work.  I got a lot of "already done" messages and a few "Ok" messages but when I try to go to the site I get a white screen with "Fatal Error :"

Any suggestions?
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Fatal Error after upgrade
« Reply #1 on: June 03, 2009, 07:12:02 am »

Enable the debug mode and paste the actual error message here.
Logged
Chief Geek at Ranium Systems

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Fatal Error after upgrade
« Reply #2 on: June 03, 2009, 08:43:32 am »

...and post a link to your gallery...
Logged

Bolivar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: Fatal Error after upgrade
« Reply #3 on: June 03, 2009, 04:20:19 pm »

I don't know how to enable debugging if I can't get into the system.  The error is "Fatal Error :"  That is all there is.

The gallery is at:

www.bvnsp.com/photos
Logged

Nibbler

  • Guest
Re: Fatal Error after upgrade
« Reply #4 on: June 03, 2009, 04:34:07 pm »

Follow the link Abbas gave you and you will learn how.
Logged

Bolivar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: Fatal Error after upgrade
« Reply #5 on: June 03, 2009, 06:57:59 pm »

Thank you I hadn't realized that was a link.  I am working on the myphpadmin.  The instuctions are not nearly as good as your instructions and I am struggling with it.  Hopefully I will figure it out and get it working.
Logged

Bolivar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: Fatal Error after upgrade
« Reply #6 on: June 03, 2009, 07:25:41 pm »

OK, got it.  Debug is now turned on.

The site is www.bvnsp.com/photos
Logged

Bolivar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: Fatal Error after upgrade
« Reply #7 on: June 03, 2009, 10:46:40 pm »

I just realized now that debug is on, I get a message I can post here.  This is what it says when trying to run in debug:

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

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Fatal Error after upgrade
« Reply #8 on: June 04, 2009, 11:39:00 am »

You haven't upgraded properly. Re-read the instructions! You need to upload all files that come with cpg1.4.x. The sql files are still old as well as the docs folder. Haven't tested more...
Logged

Bolivar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: Fatal Error after upgrade
« Reply #9 on: June 04, 2009, 06:29:36 pm »

That is odd.  I did upload them -- or more accurately I gave the instruction in FTP to upload them.  I did all the files in one big batch in FTP and assumed they had all uploaded.  Apparently there was an issue.  I am at work now with no access to upload the files.  When I get home I will do that.

You make the comment "Haven't tested more..."  I am not sure what you are telling me there.  Is there some testing I could have done to determine that or are you saying you just aren't doing more until I upload those files (which I would expect).  I just want to make sure I am doing everything I can rather than asking you to do things.

I am trying... Just not succeeding unfortunately.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Fatal Error after upgrade
« Reply #10 on: June 04, 2009, 07:30:52 pm »

By "haven't tested more" Joachim is saying he has checked some files and there is an obvious problem. He has told you what to do and doing so should fix your problems. There is no point him going through every file on your system checking what has suceeded and what has not, that is your job.

Each file has in its header the version details of that file. All the core files should be the same version. So if some files are at an earlier revision there is a problem. Try examining some of the files in folders Joachim mentioned with a text editor and you will see for yourself. If after upgrading again you still find those files are at the wrong revision you will know that something is not working with your ftp process and you will need to speak to your host or check/change ftp app (filezilla is my recomendation, google it).

Logged
It is a mistake to think you can solve any major problems just with potatoes.

Bolivar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: Fatal Error after upgrade
« Reply #11 on: June 04, 2009, 07:49:19 pm »

Filezilla is what I am using actually.  I will look through all the files and see if there are others that didn't upload properly.

Thanks, I'll let you know the results.
Logged

Bolivar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: Fatal Error after upgrade
« Reply #12 on: June 05, 2009, 04:52:48 am »

What a mess.  Half the files hadn't downloaded I didn't realize that.  I went through them all directory by directory and I think I got them all straightened out, but it still isn't working so maybe not.  I also realize that before I upgraded it was using a custom theme and I thought maybe that could be an issue so I used phpmyadmin to poke around to see where the theme was selected in the database but I couldn't find anything. 

So, it still isn't working.
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Fatal Error after upgrade
« Reply #13 on: June 05, 2009, 05:14:45 am »

You forgot to run update.php after uploading the files. I did that for you and now your home page is coming fine.
Logged
Chief Geek at Ranium Systems

Bolivar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: Fatal Error after upgrade
« Reply #14 on: June 05, 2009, 06:30:14 pm »

When I first loaded the files I did run that, I didn't think I should do it again after correcting the files.  I guess I should have.  Thank you. 

I still can not upload files, but that is another issue that is already being the discussed in the upload thread.

Thank you again.
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Fatal Error after upgrade
« Reply #15 on: June 05, 2009, 06:33:18 pm »

The sql file which updates the database was out of date initially and hence update.php was to be ran after correcting the files (which included the sql file).
Logged
Chief Geek at Ranium Systems
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.