Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Admin tools problem CPG 1.3  (Read 3499 times)

0 Members and 1 Guest are viewing this topic.

lucabart74

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Admin tools problem CPG 1.3
« 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
        (
           
  • => 161
  • [1] => 262
                [2] => 347
                [3] => 28
                [4] => 29
            )

       
[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
(
   
  • => SELECT extension, mime, content FROM cpg132_filetypes;
  • [1] => SELECT * FROM cpg132_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '21232f297a57a5a743894a0e4a801fc3'
        [2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg132_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg132_banned WHERE expiry < 1104163087
        [5] => SELECT * FROM cpg132_banned WHERE ip_addr='192.168.0.29' OR ip_addr='192.168.0.29' OR user_id=1
        [6] => 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
    )

    ==========================
    GET :
    ------------------
    Array
    (
    )

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.2.2 - OK
    ------------------
    mySQL version: 4.1.8-standard
    ------------------
    Coppermine version: 1.3.2
    ==========================
    Module: gd
    ------------------
    module doesn't exist
    ==========================
    Module: mysql
    ------------------
    module doesn't exist
    ==========================
    Module: zlib
    ------------------
    module doesn't exist
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | Off | Off
    safe_mode_exec_dir | no value | no value
    safe_mode_gid | Off | Off
    safe_mode_include_dir | no value | no value
    safe_mode_exec_dir | no value | no value
    sql.safe_mode | Off | Off
    disable_functions | no value | no value
    file_uploads | 1 | 1
    include_path | .:/usr/share/pear | .:/usr/share/pear
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
    SMTP | localhost | localhost |  |
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value
    max_execution_time | 30 | 30 |  |
    upload_max_filesize | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.262 seconds - 7 queries in 0.008 seconds - Album set :

    idea? link solved? thank's ???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

rcsmith

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Admin tools problem CPG 1.3
« Reply #2 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
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Admin tools problem CPG 1.3
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.