forum.coppermine-gallery.net

Support => Older/other versions => cpg1.3.x Support => Topic started by: lucabart74 on December 27, 2004, 05:12:29 pm

Title: Admin tools problem CPG 1.3
Post by: lucabart74 on December 27, 2004, 05:12:29 pm
Hello guys,
im write from italy and sorry for my english.
I ave one problem with cpg 1.3 and i ave good idea (it's no good) upgrade my sql and voilà the problem.
in admin tools i ave one critical error:

There was an error while processing a database query

ok the error is in database. :-[
this is the debug:
While executing query "SELECT aid, category, IF(user_name IS NOT NULL, CONCAT('(', user_name, ') ',title), CONCAT(' - ', title)) AS title FROM cpg132_albums AS a LEFT JOIN cpg132_users AS u ON category = (10000 + user_id) ORDER BY category, title" on 0

mySQL error: Got error 28 from storage engine

thi is the debug text:

USER:
------------------
Array
(
    [ID] => 95caa044492dd2ee694a7f5d735ec5de
    [am] => 1
    [liv] => Array
        (
            [sort] => na
    [lap] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => admin
    [user_password] => ********
    [user_lastvisit] => 2004-12-27 12:26:22
    [user_regdate] => 2004-12-11 16:54:27
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [user_favpics] =>
    [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: Admin tools problem CPG 1.3
Post by: Joachim Müller on December 27, 2004, 05:50:27 pm
http://forum.coppermine-gallery.net/index.php?topic=7626.msg33622#msg33622

Joachim
Title: Re: Admin tools problem CPG 1.3
Post by: rcsmith on December 27, 2004, 08:46:43 pm
I just upgraded from 1.2 to 1.3.2.  When I click on admin tool, I can watch my msyql usage go from about 6% up to about 98%.  The admin tool never loads.

Server OS:     FreeBSD 4.7-RELEASE          Database:     MySQL 4.0.17
HTTP Server:     Apache/2.0.49 (Unix) PHP/4.3.6 mod_ssl/2.0.49 OpenSSL/0.9.6g
Title: Re: Admin tools problem CPG 1.3
Post by: Tranz on December 27, 2004, 09:01:24 pm
You should upgrade to PHP 4.3.10 and Zend Optimizer 2.5.7 due to serious security issues with older versions of PHP.