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 when loging in  (Read 3974 times)

0 Members and 1 Guest are viewing this topic.

ilbt

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
fatal error when loging in
« on: December 04, 2003, 03:53:40 am »

I just installed my gallery and integrated it into my invision forum.  I get the following error when I try to login in or view my gallery.  any help is greatly appreciated.

Fatal error :
There was an error while processing a database query
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
fatal error when loging in
« Reply #1 on: December 04, 2003, 09:11:27 am »

as you can't get into the config right now, edit init.inc.php and turn the integration off for the moment (putt the // back in). Then log into coppermine standalone (with the username/pw you created on installation) and switch debug_mode on in coppermine config. Afterwards you log out and turn bbs integration back on (init.inc.php). Check what the debug output says (copy-and-paste it into your posting/reply here).

GauGau
Logged

ilbt

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
fatal error when loging in
« Reply #2 on: December 05, 2003, 12:39:49 am »

hi.

ok, here is the error message:

Quote

Fatal error :

There was an error while processing a database query.

While executing query "SELECT id as user_id, name as user_name, mgroup FROM `dormadsc_Bg4r`.ibf_members WHERE id='0' AND password='*'" on 0

mySQL error: Table 'dormadsc_Bg4r.ibf_members' doesn't exist
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
fatal error when loging in
« Reply #3 on: December 05, 2003, 09:40:56 am »

Well, the error says it clearly: the table doesn't exist!
Did you try to have mySQL tables with dots in the table name? This won't work!

GauGau
Logged

ilbt

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
fatal error when loging in
« Reply #4 on: December 05, 2003, 06:30:42 pm »

Well, I know nothing about mysql or php.  so I'm kinda lost at the moment here.  My forum has been running on this database for almost a year now without any problems, so I'm confused why I'm getting this error.  I don't remember creating any tables with dots in the name.  

Can you tell me what I can do?  create a new table?  If so how?

I really want to get my gallery up and running.  Thanks.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
fatal error when loging in
« Reply #5 on: December 05, 2003, 10:17:24 pm »

get a tool like phpMyAdmin and check if the table is actually there!

GauGau
Logged

Kronberg

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
There was an error while processing a database query.
« Reply #6 on: February 22, 2004, 02:35:25 pm »

Hi

I have same problem

Quote
While executing query "SELECT user_id, username as user_name, user_level FROM `thaidatabase`.phpbb_users WHERE user_id='0' AND user_password='*'" on 0

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


And I have not a dot in the database name, and it is actually there when I look in MYSQL

What can I do???

Regards, Robert
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
fatal error when loging in
« Reply #7 on: February 22, 2004, 05:54:35 pm »

if you get
Quote
Fatal error :
There was an error while processing a database query
go to coppermine config, switch debug_mode on (at the very bottom of the page) and check the debug output - it should give you an idea what query fails...

GauGau
Logged

tatapx

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://www.tatapx.org
fatal error when loging in
« Reply #8 on: March 03, 2004, 05:06:12 pm »

Quote from: "gaugau"
as you can't get into the config right now, edit init.inc.php and turn the integration off for the moment (putt the // back in). Then log into coppermine standalone (with the username/pw you created on installation) and switch debug_mode on in coppermine config. Afterwards you log out and turn bbs integration back on (init.inc.php). Check what the debug output says (copy-and-paste it into your posting/reply here).

GauGau


Hi,

I have the same problem and follwed your tip to enable debug. Got the error below. (I edited my IP below)

Fatal error :

There was an error while processing a database query.

_____________________________________________________________
While executing query "SELECT member_id as user_id, member_name as user_name, member_group as mgroup FROM `dbase`.ibf_sessions WHERE id = 'd5b2169084320b59ce67603f5ba90528' AND ip_address = '203.x.x.x'" on 0

mySQL error: Table 'dbase.ibf_sessions' doesn't exist
_____________________________________________________________
Logged

tatapx

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://www.tatapx.org
fatal error when loging in
« Reply #9 on: March 03, 2004, 05:19:30 pm »

Ooops, I got it. I need to edit the line below in invisionboard.inc.php as I didn't took the default when I set up Invision.

Thanks.

define('IB_TABLE_PREFIX', 'ibf_'); // The prefix used for the DB tables

to

define('IB_TABLE_PREFIX', 'forum_'); // The prefix used for the DB tables
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 16 queries.