Can't see my pictures Can't see my pictures
 

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

Can't see my pictures

Started by nihiel, November 11, 2005, 08:35:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nihiel

Hello, I don't know much of php so I might be making a really stupid fault but I just can't find it.
I hope you guys can help me! ;)

I have coppermine version 1.3.5 installed but when I want to add pictures to my albums I just see a square with a red cross in the upper corner. I don't get a real error but when I start the debuger I get the following info:



USER:
------------------
Array
(
    [ID] => 16c8de9223f4cb006491108bf95d07fe
    [am] => 1
    [liv] => Array
        (
           
  • => 69
                [1] => 70
                [2] => 68
                [3] => 65
                [4] => 67
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [disk_max] => 0
        [disk_min] => 0
        [can_rate_pictures] => 1
        [can_send_ecards] => 0
        [ufc_max] => 0
        [ufc_min] => 0
        [custom_user_upload] => 0
        [num_file_upload] => 5
        [num_URI_upload] => 3
        [can_post_comments] => 0
        [can_upload_pictures] => 0
        [can_create_albums] => 0
        [has_admin_access] => 0
        [pub_upl_need_approval] => 1
        [priv_upl_need_approval] => 1
        [group_name] => Anonymous
        [upload_form_config] => 0
        [group_quota] => 0
        [can_see_all_albums] => 0
        [group_id] => 3
        [groups] => Array
            (
               
  • => 3
            )

    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg135_filetypes;
        [1] => SELECT * FROM cpg135_users WHERE user_id='0'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 cpg135_usergroups WHERE group_id in (3)
        [3] => SELECT group_name FROM  cpg135_usergroups WHERE group_id= 3
        [4] => DELETE FROM cpg135_banned WHERE expiry < '2005-11-11 20:21:46'
        [5] => SELECT * FROM cpg135_banned WHERE ip_addr='213.119.152.51' OR ip_addr='213.119.152.51' OR user_id=0
        [6] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = ''  ORDER BY pos
        [7] => SELECT aid FROM cpg135_albums WHERE category = 2
        [8] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 2
        [9] => SELECT count(*) FROM cpg135_albums as a WHERE category = '2'
        [10] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg135_albums as a LEFT JOIN cpg135_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,4
        [11] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg135_pictures WHERE aid IN (1, 2, 3, 4) AND approved = 'YES' GROUP BY aid
        [12] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '2'  ORDER BY pos
        [13] => SELECT aid FROM cpg135_albums WHERE category = 3
        [14] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 3
        [15] => SELECT count(*) FROM cpg135_albums as a WHERE category = '3'
        [16] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg135_albums as a LEFT JOIN cpg135_pictures as p ON a.thumb=p.pid WHERE category=3 ORDER BY a.pos LIMIT 0,4
        [17] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg135_pictures WHERE aid IN (5, 6, 7, 8) AND approved = 'YES' GROUP BY aid
        [18] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '3'  ORDER BY pos
        [19] => SELECT aid FROM cpg135_albums WHERE category = 4
        [20] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 4
        [21] => SELECT count(*) FROM cpg135_albums as a WHERE category = '4'
        [22] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg135_albums as a LEFT JOIN cpg135_pictures as p ON a.thumb=p.pid WHERE category=4 ORDER BY a.pos LIMIT 0,2
        [23] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg135_pictures WHERE aid IN (9, 10) AND approved = 'YES' GROUP BY aid
        [24] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '4'  ORDER BY pos
        [25] => SELECT aid FROM cpg135_albums as a WHERE category>=10000
        [26] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category >= 10000
        [27] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '1'  ORDER BY pos
        [28] => SELECT aid FROM cpg135_albums as a WHERE category = '0'
        [29] => SELECT count(*) FROM cpg135_albums as a WHERE 1
        [30] => SELECT count(*) FROM cpg135_pictures as p LEFT JOIN cpg135_albums as a ON a.aid=p.aid WHERE 1
        [31] => SELECT count(*) FROM cpg135_comments as c LEFT JOIN cpg135_pictures as p ON c.pid=p.pid LEFT JOIN cpg135_albums as a ON a.aid=p.aid WHERE 1
        [32] => SELECT count(*) FROM cpg135_categories WHERE 1
        [33] => SELECT sum(hits) FROM cpg135_pictures as p LEFT JOIN cpg135_albums as a ON p.aid=a.aid WHERE 1
        [34] => SELECT count(*) FROM cpg135_albums as a WHERE category = '0'
    )

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

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

    ==========================
    Page generated in 0.378 seconds - 35 queries in 0.144 seconds - Album set :




    Here you find the coppermine albums: http://www.rebelvids.be/cpg135/index.php
    the rebelvids albums is how I get my pictures. It doesn't matter if I upload my files by batch adding them or by uploading them one for one. ???

    Hope you guys can help me! Thanks!


nihiel

Ah ok, sorry I've changed that stuff.


http://www.rebelvids.be/cpg135/index.php

You can log in as: user
with password: test

I still can't figure out what's wrong...

Nibbler

What do you have set in config for 'Default mode for files' ?

nihiel


nihiel

No I all my settings back to the fabric settings, hoping that would work.

To bad it didn't... But when I now trie to upload a pic I get a critical error:

Error executing ImageMagick - Return value: 127

Anyone that could help me?

Stramm

enter the correct path to ImageMagick (if it is installed) or try GD2