unable to see files that are ready for approval unable to see files that are ready for approval
 

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

unable to see files that are ready for approval

Started by codeaddict, March 08, 2007, 02:58:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

codeaddict

Hi i have an installation of coppermine running on www.byronbay.com/photogallery i have created user accounts they can log in and upload photos however when i as the admin go into them for approval i can approve the files but i can not see them???
dose anyone know if this problem, i have had a move occur on my VPS and i am wondering if this could be related to a permissions or something, anyone just thought i would try incase anyone is familar


cheers
aimeemaree

codeaddict

not sure if anyone can help here??? as the documentation dose not have anything about images not viewable when approving i believe i am forced to re-install...

Nibbler

Post more details, I don't understand the problem.

codeaddict

#3
Hi,

i have a coppermine gallery (just did afresh install and still have problem),  all is working a ok 1.4.10 stable version however once a user uploads his or her pictures into the gallery i have it set to admin approval, when i go into the admin approval i see the file details but i can not see the file/photo/image??

so all is working ok expect  i can not see the photos i am approving as an admin? maybe a congif setting??

the log outputs the below;


USER:
------------------
Array
(
    [ID] => 7d9311b267589a0d8e866cba3e375e71
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 198
            [1] => 199
            [2] => 200
            [3] => 201
            [4] => 202
        )

    [lap] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => padmin
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 0
    [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
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
    [1] => select * from cpg_plugins order by priority asc; (0s)
    [2] => delete from `photos`.cpg_sessions where time<1173662292 and remember=0; (0s)
    [3] => delete from `photos`.cpg_sessions where time<1172456292; (0s)
    [4] => select user_id from `photos`.cpg_sessions where session_id=md5("e75300e64ff99796d9632a85338aba1437998ef958e24777cd46fb711945bb83"); (0s)
    [5] => select user_id as id, user_password as password from `photos`.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 `photos`.cpg_users AS u INNER JOIN `photos`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `photos`.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 `photos`.cpg_sessions set time='1173665892' where session_id=md5('e75300e64ff99796d9632a85338aba1437998ef958e24777cd46fb711945bb83'); (0s)
    [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg_banned WHERE expiry < '2007-03-12 12:18:12' (0s)
    [13] => SELECT * FROM cpg_banned WHERE (ip_addr='203.51.22.195' OR ip_addr='203.51.22.195' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT DISTINCT aid, title, IF(category = 0, CONCAT('> ', title), CONCAT(name,' < ',title)) AS cat_title FROM cpg_albums, cpg_categories WHERE category < '10000' AND (category = 0 OR category = cid) ORDER BY cat_title (0s)
    [15] => SELECT aid, title FROM cpg_albums WHERE category='10001'  OR category='10001' ORDER BY title (0s)
    [16] => SELECT category, filepath, filename, owner_id FROM cpg_pictures, cpg_albums WHERE cpg_pictures.aid = cpg_albums.aid AND pid='137' (0s)
    [17] => UPDATE cpg_pictures SET aid = '10', title = '', caption = '', keywords = '', user1 = '', user2 = '', user3 = '', user4 = '', approved = 'YES' WHERE pid='137' LIMIT 1 (0s)
    [18] => SELECT category, filepath, filename, owner_id FROM cpg_pictures, cpg_albums WHERE cpg_pictures.aid = cpg_albums.aid AND pid='138' (0s)
    [19] => UPDATE cpg_pictures SET aid = '10', title = '', caption = '', keywords = '', user1 = '', user2 = '', user3 = '', user4 = '' WHERE pid='138' LIMIT 1 (0s)
    [20] => SELECT category, filepath, filename, owner_id FROM cpg_pictures, cpg_albums WHERE cpg_pictures.aid = cpg_albums.aid AND pid='139' (0s)
    [21] => UPDATE cpg_pictures SET aid = '10', title = '', caption = '', keywords = '', user1 = '', user2 = '', user3 = '', user4 = '' WHERE pid='139' LIMIT 1 (0s)
    [22] => SELECT count(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
    [23] => SELECT pid, owner_id FROM cpg_pictures WHERE owner_id != 0 AND owner_name = '' (0s)
    [24] => SELECT * FROM cpg_pictures WHERE approved = 'NO' ORDER BY pid LIMIT 0, 25 (0.001s)
    [25] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
    [26] => SELECT aid, title FROM cpg_albums WHERE category='10001'  OR category='10002' ORDER BY title (0s)
    [27] => SELECT aid, title FROM cpg_albums WHERE category='10001'  OR category='10002' ORDER BY title (0s)
)

==========================
GET :
------------------
Array
(
    [mode] => upload_approval
    [start] => 0
    [count] => 25
)

==========================
POST :
------------------
Array
(
    [count] => 25
    [pid] => Array
        (
            [0] => 137
            [1] => 138
            [2] => 139
        )

    [aid137] => 10
    [title137] =>
    [caption137] =>
    [keywords137] =>
    [user1137] =>
    [user2137] =>
    [user3137] =>
    [user4137] =>
    [approved137] => YES
    [aid138] => 10
    [title138] =>
    [caption138] =>
    [keywords138] =>
    [user1138] =>
    [user2138] =>
    [user3138] =>
    [user4138] =>
    [approved138] => NO
    [aid139] => 10
    [title139] =>
    [caption139] =>
    [keywords139] =>
    [user1139] =>
    [user2139] =>
    [user3139] =>
    [user4139] =>
    [approved139] => NO
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.0-8 - OK
------------------
mySQL version: 5.0.32-Debian_7-log
------------------
Coppermine version: 1.4.10(stable)
==========================
Module: GD
------------------
GD Version: 2.0 or higher
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support:
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.32
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.1.1
Linked Version 1.2.3
==========================
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/share/php:/usr/share/pear | .:/usr/share/php:/usr/share/pear
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 | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.063 seconds - 28 queries in 0.001 seconds - Album set : ; Meta set: ;

codeaddict

Can someone please help me this has been going on for about three weeks and i can not seem to get anyhelp and no one can give me any clues, everything works aok however i can not see photos i want to approve, i have eeb working with the applictaion for a couple of months and have at least 20websites i want to release it on a a nation wide travel search however i can not seem to get anyhelp,?????

pretty please guys........

Sami

Could be your custom theme , try using classic theme and see if it's working
‍I don't answer to PM with support question
Please post your issue to related board