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 :  (Read 7599 times)

0 Members and 1 Guest are viewing this topic.

eyema

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Fatal error :
« on: July 11, 2011, 09:51:44 pm »

My girl from host made for me upgrade but it appearances http://ultimate-tlc.flirtatious.org/gallery/index.php I can't log in and she can’t log in to get the debug message . what's wrong? someone help me?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Fatal error :
« Reply #1 on: July 14, 2011, 11:02:41 am »

You can enable debug mode manually via PHPMyAdmin. Open the 'config' table and change 'debug_mode' to '1'.
Logged

eyema

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Fatal error :
« Reply #2 on: July 17, 2011, 10:08:46 am »

ok, so what now?

http://ultimate-tlc.flirtatious.org/gallery/

it's new frame

While executing query 'SELECT MAX(group_quota) AS disk_max, MIN(group_quota) AS disk_min, MAX(can_rate_pictures) AS can_rate_pictures, MAX(can_send_ecards) AS can_send_ecards, MAX(can_post_comments) AS can_post_comments, MAX(can_upload_pictures) AS can_upload_pictures, MAX(can_create_albums) AS can_create_albums, MAX(has_admin_access) AS has_admin_access, MAX(access_level) AS access_level, MIN(pub_upl_need_approval) AS pub_upl_need_approval, MIN( priv_upl_need_approval) AS  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (3)' in bridge/udb_base.inc.php on line 323

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

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Fatal error :
« Reply #3 on: July 17, 2011, 10:26:26 am »

It seems that you haven't run http://ultimate-tlc.flirtatious.org/gallery/update.php as admin. Please read the upgrade docs carefully.
Logged

eyema

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Fatal error :
« Reply #4 on: July 17, 2011, 08:43:27 pm »

I didn't see the page even then I opened http://ultimate-tlc.flirtatious.org/gallery/update.php there's all white!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Logged

eyema

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Fatal error :
« Reply #6 on: July 18, 2011, 09:01:12 am »

I try http://ultimate-tlc.flirtatious.org/gallery/login.php?referer=update.php and your link but it doesn't work, sorry
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Fatal error :
« Reply #7 on: July 18, 2011, 09:23:48 am »

Summary:

1.) when I visit http://ultimate-tlc.flirtatious.org/gallery/index.php I get the following error message:
Code: [Select]
While executing query 'SELECT MAX(group_quota) AS disk_max, MIN(group_quota) AS disk_min, MAX(can_rate_pictures) AS can_rate_pictures, MAX(can_send_ecards) AS can_send_ecards, MAX(can_post_comments) AS can_post_comments, MAX(can_upload_pictures) AS can_upload_pictures, MAX(can_create_albums) AS can_create_albums, MAX(has_admin_access) AS has_admin_access, MAX(access_level) AS access_level, MIN(pub_upl_need_approval) AS pub_upl_need_approval, MIN( priv_upl_need_approval) AS  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (3)' in bridge/udb_base.inc.php on line 323

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

2.) when I visit http://ultimate-tlc.flirtatious.org/gallery/update.php I can see your website running a custom TLC theme and the info
Quote
Gallery is currently offline - check back soon


Please confirm if this is the same behavior for you while not logged in. Delete the Coppermine cookies in your browser if you also get a blank page when you visit logout.php.
Logged

eyema

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Fatal error :
« Reply #8 on: July 18, 2011, 08:16:54 pm »

I try LOGGING in and then it gets the fatal error

still, still, still fatal error!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Re: Fatal error :
« Reply #9 on: July 18, 2011, 08:25:29 pm »

Please confirm if this is the same behavior for you while not logged in.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1503
  • aka 'i-imagine'
    • Home Page
Re: Fatal error :
« Reply #10 on: July 18, 2011, 11:49:57 pm »

@ eyema, Please confirm, so Αndré can help further, if possible.

1) If you try: http://ultimate-tlc.flirtatious.org/gallery/update.php?theme=curve
Then:
You are NOT logged in AND you are in the Curve theme.

2) You try to log in from the link on the update page or this one: http://ultimate-tlc.flirtatious.org/gallery/login.php?theme=curve
Then:
This error message -
Quote
While executing query 'SELECT MAX(group_quota) AS disk_max, MIN(group_quota) AS disk_min, MAX(can_rate_pictures) AS can_rate_pictures, MAX(can_send_ecards) AS can_send_ecards, MAX(can_post_comments) AS can_post_comments, MAX(can_upload_pictures) AS can_upload_pictures, MAX(can_create_albums) AS can_create_albums, MAX(has_admin_access) AS has_admin_access, MAX(access_level) AS access_level, MIN(pub_upl_need_approval) AS pub_upl_need_approval, MIN( priv_upl_need_approval) AS  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (3)' in bridge/udb_base.inc.php on line 323

mySQL error: Unknown column 'access_level' in 'field list'
AND there is only a blank page.

Please confirm and also reply if you or your host can edit php files.

Please also note that automatic installations and updates are not normally supported, because of the types of trouble you are now seeing.

+++++++

@  Αndré,
If somehow the user has logged out and broken the gallery during a failed upgrade, could update.php be slightly modified so that an unlogged admin could run it? Perhaps even under a different name (ex. xxupdate.php) before it is replaced with a clean copy?

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Re: Fatal error :
« Reply #11 on: July 19, 2011, 09:06:33 am »

If somehow the user has logged out and broken the gallery during a failed upgrade, could update.php be slightly modified so that an unlogged admin could run it?
Usually there's no need to modify the file. Further information: http://documentation.coppermine-gallery.net/en/upgrading.htm#updater_authorization
Logged

eyema

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Fatal error :
« Reply #12 on: July 21, 2011, 10:26:08 am »

1) Yes, I see the curve theme.
2) Yes, the fatal error page is there with the error.
3) My host can update the php codes wherever necessary.
 
The fatal error happened after a manual FTP uploaded upgrade.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Fatal error :
« Reply #13 on: July 21, 2011, 10:37:35 am »

If you're ready give me your admin login data, I'll send you a PM with my contact details.
Logged

eyema

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Fatal error :
« Reply #14 on: July 21, 2011, 05:49:42 pm »

can you just tell me what to do?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Fatal error :
« Reply #15 on: July 21, 2011, 06:23:12 pm »

I already told you what to do: upgrade your database by executing update.php. You said you get a blank page, I asked you to  confirm my summary, which you haven't. It seems that you're not able to give us meaningful information, that's why I want to have a look at your gallery myself.
Logged

eyema

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Fatal error :
« Reply #16 on: July 22, 2011, 08:49:25 am »

We can’t UPGRADE by going to update.php because it gives that fatal error.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Fatal error :
« Reply #17 on: July 22, 2011, 09:15:57 am »

You already said that ::) Unless you want to give us some admin login data or confirm my summary (this is already the fourth time I ask you to do that), please don't reply to this thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.