forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: gisellebebegirl on July 02, 2008, 11:52:20 pm

Title: error processing database
Post by: gisellebebegirl on July 02, 2008, 11:52:20 pm
There was an error while processing a database query 

oh my lanta me again. whenever i try to acess the gallery on its main url
photos.chantellepaige.org i get that.. the main page keeps giving me that error
but if i go into resently uploaded etc, it works just fine..

any help?
Title: Re: error processing database
Post by: Nibbler on July 03, 2008, 12:05:26 am
Try doing what I already told you to do.

When you do, enable debug mode in config and post the mysql error message you get when you go to the main page.
Title: Re: error processing database
Post by: gisellebebegirl on July 03, 2008, 12:58:41 am
While executing query "SELECT * FROM cpg_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8" on 0

mySQL error: Got error 28 from storage engine



USER:
------------------
Array
(
    [ID] => cdbf4c56f4e2d0ace5fe8bf8675bfecc
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [sort] => pa
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => giselle
    [groups] => Array
        (
           
        )

    [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
)

==========================
Queries:
------------------
Array
(
   
Title: Re: error processing database
Post by: Nibbler on July 03, 2008, 01:11:11 am
Disable the random meta album in config (remove random from the 'contents of the main page' setting in config) so you can access the main page again and then report the error to your host.
Title: Re: error processing database
Post by: gisellebebegirl on July 03, 2008, 02:25:57 am
i did that.. the home shows up, but i cant upload. is there any fix i can do myself, by messing with the code? i doubt my host will do anything =/
Title: Re: error processing database
Post by: Nibbler on July 03, 2008, 02:29:48 am
The upload issue may or may not be related. Read http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble and start a new thread in the upload support section providing the requested information.

If your host won't fix their servers you should consider moving.
Title: Re: error processing database
Post by: Joachim Müller on July 03, 2008, 08:34:07 am
Tell your webhost that you're getting
While executing query "SELECT * FROM cpg_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8" on 0

mySQL error: Got error 28 from storage engine

This should trigger an immediate action by them, as it's related to webserver setup, not to coppermine in itself.