I really messed it up. I really messed it up.
 

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

I really messed it up.

Started by mrand, December 25, 2005, 08:45:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mrand

OK, I tried to upgrade to the latest version and then I got ots of error messages. I do have my backup from before I upgraded, but that doesn't eem to work now either.

I did a new install and was able to copy over my albums, but only th thumbnails show up. Whenever I click on a photo I get the following error message:

Fatal error: Call to undefined function: db_query() in /home/ggiurfnj/public_html/copper/thumbnails.php on line 74

Any idea what's going on?

here' the link to my gallery: http://montyrand.com/copper/index.php

I really appreciate any help on this.

Oh, here's something I found on one of the admin pages that talks about posting if I need support. Hope this mean something to somebody:USER:
------------------
Array
(
    [ID] => b55223593f419e1c182093823069ac01
    [am] => 1
    [liv] => Array
        (
           
  • => 417
                [1] => 415
                [2] => 414
                [3] => 1701
                [4] => 1432
            )

    )

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

        [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] => 10
        [num_URI_upload] => 10
        [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
    (
       
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0.001s)
        [1] => select * from cpg_plugins order by priority asc; (0s)
        [2] => delete from `ggiurfnj_copp1`.cpg_sessions where time<1135536176 and remember=0; (0s)
        [3] => delete from `ggiurfnj_copp1`.cpg_sessions where time<1134330176; (0s)
        [4] => select user_id from `ggiurfnj_copp1`.cpg_sessions where session_id=md5("0bcec802982fc37765592e13c69d0ffcd3ff29bf86d9ddc1e4420d8b8698067c"); (0s)
        [5] => select user_id as id, user_password as password from `ggiurfnj_copp1`.cpg_users where user_id=1 (0s)
        [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `ggiurfnj_copp1`.cpg_users AS u INNER JOIN `ggiurfnj_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `ggiurfnj_copp1`.cpg_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
        [8] => 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 cpg_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0s)
        [10] => update `ggiurfnj_copp1`.cpg_sessions set time='1135539776' where session_id=md5('0bcec802982fc37765592e13c69d0ffcd3ff29bf86d9ddc1e4420d8b8698067c'); (0s)
        [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg_banned WHERE expiry < '2005-12-25 19:42:56' (0s)
        [13] => SELECT * FROM cpg_banned WHERE (ip_addr='69.173.148.244' OR ip_addr='69.173.148.244' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0.002s)
        [15] => SELECT aid, category, IF(user_name IS NOT NULL,
                            CONCAT('(', user_name, ') ', a.title),
                            CONCAT(' - ', a.title)) AS title
                            FROM cpg_albums AS a
                            LEFT JOIN `ggiurfnj_copp1`.cpg_users AS u
                            ON category = (10000 + user_id)
                            ORDER BY category, title (0.007s)
        [16] => SELECT name FROM cpg_categories WHERE cid = 3 (0s)
        [17] => SELECT name FROM cpg_categories WHERE cid = 3 (0s)
        [18] => SELECT name FROM cpg_categories WHERE cid = 3 (0s)
        [19] => SELECT name FROM cpg_categories WHERE cid = 3 (0s)
        [20] => SELECT name FROM cpg_categories WHERE cid = 3 (0s)
        [21] => SELECT name FROM cpg_categories WHERE cid = 3 (0s)
        [22] => SELECT name FROM cpg_categories WHERE cid = 3 (0s)
        [23] => SELECT name FROM cpg_categories WHERE cid = 4 (0s)
        [24] => SELECT name FROM cpg_categories WHERE cid = 4 (0s)
        [25] => SELECT name FROM cpg_categories WHERE cid = 4 (0s)
        [26] => SELECT name FROM cpg_categories WHERE cid = 4 (0s)
        [27] => SELECT name FROM cpg_categories WHERE cid = 4 (0s)
        [28] => SELECT name FROM cpg_categories WHERE cid = 4 (0s)
        [29] => SELECT name FROM cpg_categories WHERE cid = 4 (0s)
        [30] => SELECT name FROM cpg_categories WHERE cid = 5 (0s)
        [31] => SELECT name FROM cpg_categories WHERE cid = 5 (0s)
        [32] => SELECT name FROM cpg_categories WHERE cid = 5 (0s)
        [33] => SELECT name FROM cpg_categories WHERE cid = 5 (0s)
        [34] => SELECT name FROM cpg_categories WHERE cid = 5 (0s)
        [35] => SELECT name FROM cpg_categories WHERE cid = 5 (0s)
        [36] => SELECT name FROM cpg_categories WHERE cid = 17 (0s)
        [37] => SELECT name FROM cpg_categories WHERE cid = 17 (0s)
        [38] => SELECT name FROM cpg_categories WHERE cid = 18 (0s)
        [39] => SELECT name FROM cpg_categories WHERE cid = 18 (0s)
        [40] => SELECT name FROM cpg_categories WHERE cid = 18 (0s)
        [41] => SELECT name FROM cpg_categories WHERE cid = 18 (0s)
        [42] => SELECT name FROM cpg_categories WHERE cid = 18 (0s)
        [43] => SELECT name FROM cpg_categories WHERE cid = 18 (0s)
        [44] => SELECT name FROM cpg_categories WHERE cid = 18 (0s)
        [45] => SELECT name FROM cpg_categories WHERE cid = 18 (0s)
        [46] => SELECT name FROM cpg_categories WHERE cid = 18 (0s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.1 - OK
    ------------------
    mySQL version: 4.0.25-standard
    ------------------
    Coppermine version: 1.4.2(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 compatible)
    FreeType Support:
    T1Lib Support:
    GIF Read Support: 1
    GIF Create Support: 1
    JPG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 4.0.25
    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.1.4
    Linked Version 1.1.4
    ==========================
    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 | On | On
    include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
    open_basedir | no value | 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 | -1 | -1
    upload_max_filesize | 20M | 20M
    post_max_size | 55M | 55M
    ==========================
    Page generated in 0.087 seconds - 47 queries in 0.01 seconds - Album set : ; Meta set: ;

Tranz

Does not seem like you properly upgraded. Make sure you overwrite the old files with the new ones.

artistsinhawaii

QuoteFatal error: Call to undefined function: db_query() in /home/ggiurfnj/public_html/copper/thumbnails.php on line 74

ditto to what tranzndance just stated.. db_query is a call from 1.3x , cpg_db_query would be the approprate call from 1.4x.

So at least thumbnails.php is from an older version.

Also, when you did the new install, did you set your table prefix to the oldset up? or did you port the data from your previous setup to the new?

Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

mrand

Looks like it's fixed. That thumbnail file lappears to have been the problem. Thanks for all the help.

Happy Holidays.

artistsinhawaii

Quote from: mrand on December 26, 2005, 12:09:53 AM
Looks like it's fixed. That thumbnail file lappears to have been the problem. Thanks for all the help.

Happy Holidays.

Looks like you didn't update your transmission theme as well.

Cause I know I put those <!-- BEGIN reportfile --> and <!-- END reportfile --> tags into the update.


Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

mrand


artistsinhawaii

just follow the downloads link at the top of the forum to the "themes" downloads.


Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.