coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: madcow on April 19, 2005, 12:50:32 PM

Title: first time user
Post by: madcow on April 19, 2005, 12:50:32 PM
ignore this first post or can this post be deleted
Title: Re: first time user
Post by: madcow on April 19, 2005, 01:05:18 PM
i found the steps but this error came up

Fatal error :
There was an error while processing a database query
Title: Re: first time user
Post by: Nibbler on April 19, 2005, 01:50:39 PM
Enable debug mode and post the actual sql error message. Don't edit your posts to make them useless.
Title: Re: first time user
Post by: madcow on April 19, 2005, 02:21:36 PM
how do i enable debug mode? i cant get on any pages of the gallery
Title: Re: first time user
Post by: Nibbler on April 19, 2005, 02:26:21 PM
Disable the integration by re-commenting the line in init.inc.php
Title: Re: first time user
Post by: madcow on April 19, 2005, 02:30:07 PM
when i do that there is no error and the gallery works fine but then the gallery isnt integrated
Title: Re: first time user
Post by: Nibbler on April 19, 2005, 02:32:54 PM
Re-enable the bridge, keeping debug mode on.
Title: Re: first time user
Post by: madcow on April 19, 2005, 02:36:11 PM
what do you mean i have not changed the bridge but i have recommented the init.inc.php is that what you want and thats what makes no error
Title: Re: first time user
Post by: madcow on April 20, 2005, 04:43:58 AM
the bridge was changed originally what i am saying is i havnt re edited it as it is the way i was told to make it
Title: Re: first time user
Post by: donnoman on April 20, 2005, 04:52:02 AM
@madcow

As I understand it:
When you enable bridging your gallery doesn't work properly.
When you disable bridging your gallery works again but is unbridged (thats to be expected, but it will allow you to get in to change the config)

What you should do when your gallery is working is login as an admin, go to the config page

at the bottom under "Miscellaneous settings " set "Enable debug mode" to "yes:everyone"
set "Display notices in debug mode" to yes
apply the settings
verify your gallery still works in standalone mode.
re-edit init.inc.php to enable bridging.
Try to login.
copy the debug output and notices and paste them into this thread.
Title: Re: first time user
Post by: madcow on April 20, 2005, 07:13:00 AM
While executing query "SELECT id as user_id, name as user_name, mgroup FROM `madcow_`.ibf_members WHERE id='1' AND password='e5b6b63efd616b81d8d38ddc194433b6'" on 0

mySQL error: Unknown column 'password' in 'where clause'

that was the error. i never knew how to get debug mode working
Title: Re: first time user
Post by: madcow on April 20, 2005, 08:24:52 AM
this is the debug info

USER:
------------------
Array
(
    [ID] => 3a3dbbef30f29442ffa35e3e8139264c
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 0
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 0
    [can_upload_pictures] => 0
    [can_create_albums] => 0
    [has_admin_access] => 0
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 1
    [group_name] => Anonymous
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 0
    [group_id] => 3
    [groups] => Array
        (
           
Title: Re: first time user
Post by: Nibbler on April 20, 2005, 07:08:07 PM
Please search the board for your error message.
Title: Re: first time user
Post by: Joachim Müller on April 21, 2005, 11:01:57 AM
Quote from: madcow on April 19, 2005, 12:50:32 PM
ignore this first post or can this post be deleted
We don't delete threads, as the whole point of a support board is that your postings might be helpful to others as well. By editing your first posting and removing it's contents the whole thread becomes useless >:(. This is very selfish behaviour.

Joachim