coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: jacobschmidt on April 09, 2007, 12:11:06 AM

Title: Critical error - when users login
Post by: jacobschmidt on April 09, 2007, 12:11:06 AM
Hi

I get "Critical error - There was an error while processing a database query" everytime a user or admin login.

Upgrade from 1.4.5 to 1.4.10

I can't turn on debug, because I can't log in.

www.hotel-homie.dk/galleri
Try create a test user og login with testing/1234

Regards
/Jacob

Title: Re: Critical error - when users login
Post by: Nibbler on April 09, 2007, 04:51:22 AM
http://coppermine-gallery.net/tutorial/debug_mode.php
Title: Re: Critical error - when users login
Post by: jacobschmidt on April 09, 2007, 09:01:15 AM
Thx :)

I get this one

While executing query "SELECT user_favpics FROM cpg132_favpics WHERE user_id = 1" on 0

mySQL error: Table 'galleri.cpg132_favpics' doesn't exist


USER:
------------------
Array
(
    [ID] => 51adde257648416e7e5bc75e2184ebd3
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
           
Title: Re: Critical error - when users login
Post by: Joachim Müller on April 09, 2007, 10:02:23 AM
1) Don't post debug_output unless requested!
2) http://www.hotel-homie.dk/galleri/sql/update.sql is missing
Title: Re: Critical error - when users login
Post by: jacobschmidt on April 09, 2007, 11:11:11 AM
Sorry for the debug.

http://www.hotel-homie.dk/galleri/sql/update.sql is not missing.


Title: Re: Critical error - when users login
Post by: jacobschmidt on April 09, 2007, 11:20:31 AM
to be sure I just uploaded these files

http://www.hotel-homie.dk/galleri/sql/hello.sql
http://www.hotel-homie.dk/galleri/sql/hello.txt
Title: Re: Critical error - when users login
Post by: Joachim Müller on April 10, 2007, 08:15:10 AM
Quote from: jacobschmidt on April 09, 2007, 11:11:11 AM
http://www.hotel-homie.dk/galleri/sql/update.sql is not missing.
Well, then it is not world-readable, see screenshot.