Advanced search  

News:

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

Pages: [1]   Go Down

Author Topic: Critical error : Updating To 1.5.46  (Read 1121 times)

0 Members and 2 Guests are viewing this topic.

Texas-Hunter

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Critical error : Updating To 1.5.46
« on: July 05, 2017, 01:48:22 AM »

Good day,

 All seemed good during the upgrade till after I ran the update.php. When I go to the home page I get "Critical error
There was an error while processing a database query" If I go to My Galleries I have no pictures, if I go to album lists the pictures are there. Any ideas?? I know I followed the instructions to a T.

Here is the site to see for yourself.. http://www.smoked-meat.com/gallery/index.php
Logged

Texas-Hunter

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Critical error : Updating To 1.5.46
« Reply #1 on: July 05, 2017, 01:55:24 AM »

OK, Just noticed that this is an issue when you are logged in, anyone as a guest the site looks correct, so it is when anyone is logged in.
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4420
    • Windsurf.me
Re: Critical error : Updating To 1.5.46
« Reply #2 on: July 05, 2017, 09:17:49 PM »

Did you run update.php ?
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Texas-Hunter

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Re: Critical error : Updating To 1.5.46
« Reply #3 on: July 06, 2017, 01:35:06 AM »

Did you run update.php ?



Good day,

 All seemed good during the upgrade till after I ran the update.php. When I go to the home page I get "Critical error
There was an error while processing a database query" If I go to My Galleries I have no pictures, if I go to album lists the pictures are there. Any ideas?? I know I followed the instructions to a T.

Here is the site to see for yourself.. http://www.smoked-meat.com/gallery/index.php

Yep..., now I have pictures on the home page but still no pictures when I view My Gallery..
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15381
Re: Critical error : Updating To 1.5.46
« Reply #4 on: July 06, 2017, 10:42:51 AM »

Please enable debug mode with a tool like phpMyAdmin to get an extended error message: http://documentation.coppermine-gallery.net/en/errors.htm#errors_debug_mode_manual
Logged

Texas-Hunter

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Re: Critical error : Updating To 1.5.46
« Reply #5 on: July 06, 2017, 01:55:24 PM »

Please enable debug mode with a tool like phpMyAdmin to get an extended error message: http://documentation.coppermine-gallery.net/en/errors.htm#errors_debug_mode_manual

This is what it shows..

/include/init.inc.php

    Notice line 194: Undefined index: log_retention


Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15381
Re: Critical error : Updating To 1.5.46
« Reply #6 on: July 06, 2017, 02:13:03 PM »

That's no database error. Actually, that's no error at all. Please do what you've done while this happened:
When I go to the home page I get "Critical error
There was an error while processing a database query"

This time, you'll get an extended error message.
Logged

Texas-Hunter

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Critical error : Updating To 1.5.46
« Reply #7 on: July 07, 2017, 02:04:43 AM »

Quote
All seemed good during the upgrade till after I ran the update.php. When I go to the home page I get "Critical error
There was an error while processing a database query"
If I go to My Galleries I have no pictures, if I go to album lists the pictures are there. Any ideas?? I know I followed the instructions to a T.

This was my issue in my first post of this thread..


Yep..., now I have pictures on the home page but still no pictures when I view My Gallery..

This was my follow up answer to the first question.. I still do not have any pictures in my gallery in the Admin mode.


Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15381
Re: Critical error : Updating To 1.5.46
« Reply #8 on: July 07, 2017, 06:45:14 AM »

So the critical error is gone?
Logged

Texas-Hunter

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Critical error : Updating To 1.5.46
« Reply #9 on: July 07, 2017, 12:39:37 PM »

Yes, for some reason it went away after about 24 hrs. Not sure if it was the database that updated or what. The only two issues I have left are that the pictures are not showing in My Gallery when logged in as Admin, and the other is when I upload a picture via flash driven it uploads fine (see attachment 1) Then when I click on continue it logs me out and then I get this page. (see attachment 2)..
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15381
Re: Critical error : Updating To 1.5.46
« Reply #10 on: July 07, 2017, 12:45:29 PM »

pictures are not showing in My Gallery when logged in as Admin

Please start a new thread for that issue.


when I upload a picture via flash driven it uploads fine (see attachment 1) Then when I click on continue it logs me out and then I get this page. (see attachment 2)..

Have a look at the address bar on both pictures. You need to decide if you want to access your gallery with or without www and set that URL accordingly in the Coppermine config. Additionally you should consider to redirect to the correct URL as described here: http://documentation.coppermine-gallery.net/en/bridging.htm#integrating_subdomain_www
Logged
Pages: [1]   Go Up
 

Page created in 0.094 seconds with 21 queries.