forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: cboz on August 04, 2010, 10:34:05 pm

Title: Unclear Problem...?
Post by: cboz on August 04, 2010, 10:34:05 pm
I was having a problem with my gallery and was getting a critical error, unable to connect to database, can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2).  After fighting with my host for a while I was finally able to get them to fix the problem and get the connection working again.  Everything looks like it's okay, but I'm getting the following debug information:


USER:
------------------
Array
(
    [ID] => 349396415335dbd8a0ffa023fc470365
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 0
    [user_name] => Guest
    [groups] => Array
        (
           
        )

    [group_quota] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 0
    [can_post_comments] => 0
    [can_upload_pictures] => 0
    [can_create_albums] => 0
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 1
    [upload_form_config] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [custom_user_upload] => 0
    [disk_max] => 0
    [disk_min] => 0
    [ufc_max] => 0
    [ufc_min] => 0
    [has_admin_access] => 0
    [group_name] => Anonymous
    [can_see_all_albums] => 0
    [group_id] => 3
)

==========================
Queries:
------------------
Array
(
    [referer] => index.php
)

==========================
POST :
------------------
Array
(
)

==========================
Page generated in 0.052 seconds - 12 queries in 0.009 seconds - Album set : AND aid NOT IN (5) ; Meta set: ;


Title: Re: Unclear Problem...?
Post by: Phill Luckhurst on August 04, 2010, 10:59:46 pm
Then switch off the debug output from the config.

Please, always post a link to your site with each new support request.