Broken images after upgrade Broken images after upgrade
 

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]

Main Menu

Broken images after upgrade

Started by strokesfan, June 07, 2005, 09:36:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

strokesfan

I upgraded to 1.3 and now all the images in my gallery are broken, but thumbnails are fine. (example here: http://www.alavigne.org/displayimage.php?album=lastup&cat=0&pos=5)

Any form of help will be appreciated. I tried searching but nothing came up.

strokesfan

I upgraded to 1.3 from 1.2 and now I'm getting broken images when I try to view pictures in my gallery. Thumbnails are still working, though.

I would be eternally grateful for any help :)

Abbas Ali

Chief Geek at Ranium Systems

Joachim Müller

permissions issue: when right clicking, properties, you can get the url of your pics. Pasting the url into the address bar of the browser shows a "403 forbidden" error. This means that you haven't set permissions properly. Either CHMOD or undo your changes to .htaccess files you might accidentally have applied. Not related to the upgrade.

Joachim

P.S. Don't double-post. I merged your identical postings.

strokesfan

My site is www.alavigne.org.

I didn't mean to double post - I get a page cannot be displayed after I post so I refresh it and it says that my post wasn't post it so I posted it again.

Nibbler

CHMOD 777/755 all the way down themes/water_drop/images/ and remember to update your theme as in the docs.

strokesfan

What do you mean by CHMOD 777/755? All the folders or all the files?

Joachim Müller

the folder and all files within it

strokesfan


Joachim Müller

then ask you webhost for support, tell them you have a 403 forbidden.
Take http://www.alavigne.org/albums/captures/a-f/AccessHollywood32303/02.jpg as an example, which should be the pic embedded in http://www.alavigne.org/displayimage.php?pos=-1152 . It is broken, if you paste the url into the address bar of the browser, you're being sent to your start page, so there must be some strange .htaccess stuff in place somewhere. If you placed any .htaccees file, temporarily remove it and see if this cures your issues. If you haven't, ask your webhost for support as suggested.

Joachim

P.S. Thank god FF comes with a pop-up blocker: it blocks 6 pop-ups! Definitely too many ads on your page...

strokesfan

I looked for an .htaccess somewhere and there was nothing. I contacted my host but he seems to be MIA for months now so I have no clue what to do. I went to cpanel and disabled hotlink protection but it turned out that it was already disabled. Should I put it in debug mode and see what it says?

strokesfan

I put it in debug mode and this is what it says:
USER:
------------------
Array
(
    [ID] => df92012db9d904575282c2754ff1c6a9
    [am] => 1
    [liv] => Array
        (
           
  • => 25903
                [1] => 25898
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_group] => 1
        [user_active] => YES
        [user_name] => alavigne
        [user_password] => ********
        [user_lastvisit] => 2005-05-31 18:37:03
        [user_regdate] => 2004-08-19 04:35:06
        [user_group_list] =>
        [user_email] =>
        [user_website] =>
        [user_location] =>
        [user_interests] =>
        [user_occupation] =>
        [user_actkey] =>
        [user_favpics] =>
        [disk_max] => 10000000
        [disk_min] => 10000000
        [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] => 1
        [priv_upl_need_approval] => 0
        [group_name] => Administrators
        [upload_form_config] => 3
        [group_quota] => 10000000
        [can_see_all_albums] => 1
        [group_id] => 1
        [groups] => Array
            (
                [1] => 1
            )

    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg11d_filetypes;
        [1] => SELECT * FROM cpg11d_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '77f4de0c4db55dec736561ac64c7ea6b'
        [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 cpg11d_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg11d_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg11d_banned WHERE expiry < 1119938725
        [5] => SELECT * FROM cpg11d_banned WHERE ip_addr='68.70.83.203' OR ip_addr='68.70.83.203' OR user_id=1
        [6] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = ''  ORDER BY pos
        [7] => SELECT aid FROM cpg11d_albums as a WHERE category>=10000
        [8] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category >= 10000
        [9] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '1'  ORDER BY pos
        [10] => SELECT aid FROM cpg11d_albums WHERE category = 2
        [11] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 2
        [12] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '2'  ORDER BY pos
        [13] => SELECT aid FROM cpg11d_albums WHERE category = 7
        [14] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 7
        [15] => SELECT aid FROM cpg11d_albums WHERE category = 8
        [16] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 8
        [17] => SELECT aid FROM cpg11d_albums WHERE category = 9
        [18] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 9
        [19] => SELECT aid FROM cpg11d_albums WHERE category = 10
        [20] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 10
        [21] => SELECT aid FROM cpg11d_albums WHERE category = 3
        [22] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 3
        [23] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '3'  ORDER BY pos
        [24] => SELECT aid FROM cpg11d_albums WHERE category = 13
        [25] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 13
        [26] => SELECT aid FROM cpg11d_albums WHERE category = 12
        [27] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 12
        [28] => SELECT aid FROM cpg11d_albums WHERE category = 11
        [29] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 11
        [30] => SELECT aid FROM cpg11d_albums WHERE category = 42
        [31] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 42
        [32] => SELECT aid FROM cpg11d_albums WHERE category = 4
        [33] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 4
        [34] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '4'  ORDER BY pos
        [35] => SELECT aid FROM cpg11d_albums WHERE category = 37
        [36] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 37
        [37] => SELECT aid FROM cpg11d_albums WHERE category = 27
        [38] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 27
        [39] => SELECT aid FROM cpg11d_albums WHERE category = 28
        [40] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 28
        [41] => SELECT aid FROM cpg11d_albums WHERE category = 29
        [42] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 29
        [43] => SELECT aid FROM cpg11d_albums WHERE category = 30
        [44] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 30
        [45] => SELECT aid FROM cpg11d_albums WHERE category = 31
        [46] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 31
        [47] => SELECT aid FROM cpg11d_albums WHERE category = 32
        [48] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 32
        [49] => SELECT aid FROM cpg11d_albums WHERE category = 5
        [50] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 5
        [51] => SELECT count(*) FROM cpg11d_albums as a WHERE category = '5'
        [52] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_albums as a LEFT JOIN cpg11d_pictures as p ON a.thumb=p.pid WHERE category=5 ORDER BY a.pos LIMIT 0,10
        [53] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg11d_pictures WHERE aid IN (19, 21, 22, 23, 25, 28, 29, 30, 706, 807) AND approved = 'YES' GROUP BY aid
        [54] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='463'
        [55] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='478'
        [56] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='568'
        [57] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='720'
        [58] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='987'
        [59] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='24436'
        [60] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '5'  ORDER BY pos
        [61] => SELECT aid FROM cpg11d_albums WHERE category = 36
        [62] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 36
        [63] => SELECT aid FROM cpg11d_albums WHERE category = 6
        [64] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 6
        [65] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '6'  ORDER BY pos
        [66] => SELECT aid FROM cpg11d_albums WHERE category = 47
        [67] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 47
        [68] => SELECT aid FROM cpg11d_albums WHERE category = 33
        [69] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 33
        [70] => SELECT aid FROM cpg11d_albums WHERE category = 34
        [71] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 34
        [72] => SELECT aid FROM cpg11d_albums WHERE category = 35
        [73] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 35
        [74] => SELECT aid FROM cpg11d_albums WHERE category = 41
        [75] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 41
        [76] => SELECT count(*) FROM cpg11d_albums as a WHERE category = '41'
        [77] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_albums as a LEFT JOIN cpg11d_pictures as p ON a.thumb=p.pid WHERE category=41 ORDER BY a.pos LIMIT 0,8
        [78] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg11d_pictures WHERE aid IN (720, 759, 760, 761, 762, 763, 764, 765) AND approved = 'YES' GROUP BY aid
        [79] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='20936'
        [80] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='22772'
        [81] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='24952'
        [82] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '41'  ORDER BY pos
        [83] => SELECT aid FROM cpg11d_albums as a WHERE category = '0'
        [84] => SELECT count(*) FROM cpg11d_albums as a WHERE 1
        [85] => SELECT count(*) FROM cpg11d_pictures as p LEFT JOIN cpg11d_albums as a ON a.aid=p.aid WHERE 1
        [86] => SELECT count(*) FROM cpg11d_comments as c LEFT JOIN cpg11d_pictures as p ON c.pid=p.pid LEFT JOIN cpg11d_albums as a ON a.aid=p.aid WHERE 1
        [87] => SELECT count(*) FROM cpg11d_categories WHERE 1
        [88] => SELECT sum(hits) FROM cpg11d_pictures as p LEFT JOIN cpg11d_albums as a ON p.aid=a.aid WHERE 1
        [89] => SELECT count(*) FROM cpg11d_albums as a WHERE category = '0'
        [90] => SELECT COUNT(*) from cpg11d_pictures WHERE approved = 'YES'
        [91] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid,title, caption, owner_id, owner_name, aid FROM cpg11d_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,8
        [92] => SELECT COUNT(*) from cpg11d_pictures WHERE approved = 'YES'
        [93] => SELECT *,cpg11d_albums.title AS title,cpg11d_albums.aid AS aid  FROM cpg11d_pictures,cpg11d_albums WHERE cpg11d_pictures.aid = cpg11d_albums.aid AND approved = 'YES'  GROUP  BY cpg11d_pictures.aid ORDER BY cpg11d_pictures.ctime DESC  LIMIT 0 ,8
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.10 - OK
    ------------------
    mySQL version: 4.0.22-standard
    ------------------
    Coppermine version: 1.3.2
    ==========================
    Module: gd
    ------------------
    GD Support enabled
    GD Version bundled (2.0.28 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    GIF Read Support enabled
    GIF Create Support enabled
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
    XBM Support enabled
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 0
    Active Links 1
    Client API version 3.23.49
    MYSQL_MODULE_TYPE builtin
    MYSQL_SOCKET /var/tmp/mysql.sock
    MYSQL_INCLUDE no value
    MYSQL_LIBS no value
    ==========================
    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 | dl,exec,passthru,proc_open,proc_close,shell_exec,system,curl_init,curl_exec | dl,exec,passthru,proc_open,proc_close,shell_exec,system,curl_init,curl_exec
    file_uploads | On | On
    include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
    open_basedir | /home/alavigno:/usr/lib/php:/usr/local/lib/php:/tmp | 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 | 2M | 2M
    post_max_size | 55M | 55M
    ==========================
    Page generated in 0.057 seconds - 94 queries in 0.01 seconds - Album set :

Joachim Müller