error after updating from 1.3.5 to 1.4.2 :( error after updating from 1.3.5 to 1.4.2 :(
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

error after updating from 1.3.5 to 1.4.2 :(

Started by magu, December 01, 2005, 04:24:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

magu

Hi to all. :D

if have make the update like it shown in the update/install file. first i get the "FATAL ERROR" massage like it post here, "error in date base .... cpg133_filetypes  extension, mime, content .... something like this." . Second time run the update.php , shown no errors (also shown no errors the first time) but now pls. see the debug info. :( :(

also i think the update is failed.
i´m a little bit afraid to install > reinstall now....   afraid to crash the date base. :o

i have no idea.

USER:
------------------
Array
(
    [ID] => *************************
    [am] => 1
    [liv] => Array
        (
           
  • => 4354
                [1] => 4658
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_group] => 1
        [user_active] => YES
        [user_name] => ***********
        [user_password] => ********
        [user_lastvisit] => 2005-12-02 00:32:14
        [user_regdate] => 2005-08-01 17:49:25
        [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] => 1
        [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] => 1
        [priv_upl_need_approval] => 1
        [group_name] => Administrator
        [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 cpg133_filetypes;
        [1] => SELECT * FROM cpg133_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '*******************'
        [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 cpg133_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg133_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg133_banned WHERE expiry < '2005-12-02 00:32:15'
        [5] => SELECT * FROM cpg133_banned WHERE ip_addr='84.142.121.132' OR ip_addr='84.142.121.132' OR user_id=1
        [6] => SELECT cid, name, description, thumb FROM cpg133_categories WHERE parent = ''  ORDER BY pos
        [7] => SELECT aid FROM cpg133_albums as a WHERE category>=10000
        [8] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category >= 10000
        [9] => SELECT cid, name, description, thumb FROM cpg133_categories WHERE parent = '1'  ORDER BY pos
        [10] => SELECT aid FROM cpg133_albums WHERE category = 9
        [11] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 9
        [12] => SELECT cid, name, description, thumb FROM cpg133_categories WHERE parent = '9'  ORDER BY pos
        [13] => SELECT aid FROM cpg133_albums WHERE category = 13
        [14] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 13
        [15] => SELECT aid FROM cpg133_albums WHERE category = 25
        [16] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 25
        [17] => SELECT aid FROM cpg133_albums WHERE category = 24
        [18] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 24
        [19] => SELECT aid FROM cpg133_albums WHERE category = 10
        [20] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 10
        [21] => SELECT cid, name, description, thumb FROM cpg133_categories WHERE parent = '10'  ORDER BY pos
        [22] => SELECT aid FROM cpg133_albums WHERE category = 14
        [23] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 14
        [24] => SELECT aid FROM cpg133_albums WHERE category = 30
        [25] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 30
        [26] => SELECT aid FROM cpg133_albums WHERE category = 26
        [27] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 26
        [28] => SELECT aid FROM cpg133_albums WHERE category = 11
        [29] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 11
        [30] => SELECT cid, name, description, thumb FROM cpg133_categories WHERE parent = '11'  ORDER BY pos
        [31] => SELECT aid FROM cpg133_albums WHERE category = 15
        [32] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 15
        [33] => SELECT aid FROM cpg133_albums WHERE category = 29
        [34] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 29
        [35] => SELECT aid FROM cpg133_albums WHERE category = 28
        [36] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 28
        [37] => SELECT aid FROM cpg133_albums WHERE category = 27
        [38] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 27
        [39] => SELECT aid FROM cpg133_albums WHERE category = 12
        [40] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 12
        [41] => SELECT cid, name, description, thumb FROM cpg133_categories WHERE parent = '12'  ORDER BY pos
        [42] => SELECT aid FROM cpg133_albums WHERE category = 16
        [43] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 16
        [44] => SELECT aid FROM cpg133_albums WHERE category = 17
        [45] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 17
        [46] => SELECT aid FROM cpg133_albums WHERE category = 23
        [47] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 23
        [48] => SELECT aid FROM cpg133_albums WHERE category = 20
        [49] => SELECT count(*) FROM cpg133_pictures as p, cpg133_albums as a WHERE p.aid = a.aid AND category = 20
        [50] => SELECT aid FROM cpg133_albums as a WHERE category = '0'
        [51] => SELECT count(*) FROM cpg133_albums as a WHERE 1
        [52] => SELECT count(*) FROM cpg133_pictures as p LEFT JOIN cpg133_albums as a ON a.aid=p.aid WHERE 1
        [53] => SELECT count(*) FROM cpg133_comments as c LEFT JOIN cpg133_pictures as p ON c.pid=p.pid LEFT JOIN cpg133_albums as a ON a.aid=p.aid WHERE 1
        [54] => SELECT count(*) FROM cpg133_categories WHERE 1
        [55] => SELECT sum(hits) FROM cpg133_pictures as p LEFT JOIN cpg133_albums as a ON p.aid=a.aid WHERE 1
        [56] => SELECT count(*) FROM cpg133_albums as a WHERE category = '0'
        [57] => SELECT COUNT(*) from cpg133_pictures WHERE approved = 'YES'
        [58] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, aid FROM cpg133_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8
        [59] => SELECT COUNT(*) from cpg133_pictures WHERE approved = 'YES'
        [60] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid,title, caption, owner_id, owner_name, aid FROM cpg133_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,8
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.0.3 - OK
    ------------------
    mySQL version: 4.1.10a
    ------------------
    Coppermine version: 1.3.5
    ==========================
    Module: gd
    ------------------
    GD Support enabled
    GD Version bundled (2.0.28 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    FreeType Version 2.1.9
    GIF Read Support enabled
    GIF Create Support enabled
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
    XPM Support enabled
    XBM Support enabled
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 0
    Active Links 1
    Client API version 4.1.10a
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.2.2
    Linked Version 1.2.2
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | Off | Off
    safe_mode_exec_dir | /srv/www/htdocs/empty/ | no value
    safe_mode_gid | Off | Off
    safe_mode_include_dir | no value | no value
    safe_mode_exec_dir | /srv/www/htdocs/empty/ | no value
    sql.safe_mode | Off | Off
    disable_functions | no value | no value
    file_uploads | On | On
    include_path | . | .:
    open_basedir | /srv/www/htdocs/****** | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | no value | no value
    sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
    SMTP | localhost | localhost
    smtp_port | 25 | 25
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value
    max_execution_time | 30 | 30
    max_input_time | 60 | 60
    upload_max_filesize | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.113 seconds - 61 queries in 0.06 seconds - Album set : 

    pls. help... :-\\ :-\\

    greetz markus

    sorry for my english.... ::) ::)
...from dusk till dawn...

Joachim Müller


magu

...from dusk till dawn...

Joachim Müller

where's the error message? When does it appear? If you need to be logged in to reproduce it, post a non-admin test user account.

magu

Hi Gau Gau!

you can see it only when the the debug info is activated, but i not will make it public. don´t now exactly if there are some secret details.

pls. contact me, send you the account details.
OK?

Markus
...from dusk till dawn...

Joachim Müller

Quote from: magu on December 04, 2005, 08:34:08 PM
OK?
no, not OK for me. Debug_info won't reveal vulnerabilities. Still, if you're afraid to post a link, post the error message by copying and pasting it into your reply.

Joachim

magu

 ???

you can see the debug info above, my first post. this is it.

Markus
...from dusk till dawn...

Joachim Müller

I didn't ask for it. Do as suggested by supporters if you want help. Do I have to beg to let me help you? ::)
I'm out of this thread now.

magu

 :-\
i think i understand something wrong...

anyway..

Testuser login:
Benutzername : test
Passwort : test

Markus
...from dusk till dawn...

magu

#9
nobody can  help me with this problem?


solved

I have restore everything to 1.35.  then again,step by step, update all files to 1.4.2.

now it shows me in admin-center 1.4.2 is running. :)

the debug info shows the same report like this one in my
first post. but i think it doesn´t matter.
at this time i found nothing that
complain.

Markus
...from dusk till dawn...