coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: lemonsonic on October 16, 2005, 04:43:08 PM

Title: Critical error - There was an error while processing a database query.
Post by: lemonsonic on October 16, 2005, 04:43:08 PM
All of the features were great. Thanks.  But until I wanted to add an album.  When I tried to create an album, the error message "There was an error while processing a database query." appeared.

- Server OP: Windows XP
- Server API: Apache (Apache/1.3.33 (Win32) PHP/4.4.0)
- MySQL Version: 3.23.49 (<--- BTW, This is the Client API Version)

------ Error Message ------

There was an error while processing a database query.

While executing query "INSERT INTO cpg135_albums (category, title, uploads, pos) VALUES ('0', 'Test', 'NO',  '1')" on 0

mySQL error: Field 'description' doesn't have a default value

------ Info ------

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

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => lemonsonic
    [user_password] => ********
    [user_lastvisit] => 2005-10-16 10:08:45
    [user_regdate] => 2005-10-16 10:01:42
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
Title: Re: Critical error - There was an error while processing a database query.
Post by: Stramm on October 16, 2005, 06:11:39 PM
Coppermine doesn't work together with mysql5 yet
Title: Re: Critical error - There was an error while processing a database query.
Post by: Joachim Müller on October 16, 2005, 11:36:58 PM
don't use beta software (mysql 5 is beta afaik) if you don't know your way around.