Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: unable to view uploaded image  (Read 3705 times)

0 Members and 1 Guest are viewing this topic.

aanyah80

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
[Solved]: unable to view uploaded image
« on: March 26, 2008, 12:39:38 pm »

I've just moved my gallery to a new server. imported the backup & the userpics folders. the album loaded well but i am unable to view any of the images. all i see is a links only. even if i click on the image i cannot view it, unless ofcourse i right click on the image & click on "view image"

my gallery is located at http://www.preityzinta-fanclub.com/gallery7

i've created a test account

username: testuser
password: test

Code: [Select]
USER:
------------------
Array
(
    [ID] => 0c25ecda0110df028021cad7c8dec6d6
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

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

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 1
    [num_URI_upload] => 0
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 0
    [has_admin_access] => 1
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 1
    [group_name] => Administrators
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => delete from `preityzi_gallerypzfc`.cpg14x_sessions where time<1206527164 and remember=0; (0s)
    [3] => delete from `preityzi_gallerypzfc`.cpg14x_sessions where time<1205321164; (0s)
    [4] => select user_id from `preityzi_gallerypzfc`.cpg14x_sessions where session_id=md5("7370dc416de39b3d81458782501f2737384cf9af5fdfe52b13e9704c10b6592c"); (0s)
    [5] => select user_id as id, user_password as password from `preityzi_gallerypzfc`.cpg14x_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 `preityzi_gallerypzfc`.cpg14x_users AS u INNER JOIN `preityzi_gallerypzfc`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `preityzi_gallerypzfc`.cpg14x_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 cpg14x_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
    [10] => update `preityzi_gallerypzfc`.cpg14x_sessions set time='1206530764' where session_id=md5('7370dc416de39b3d81458782501f2737384cf9af5fdfe52b13e9704c10b6592c'); (0s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2008-03-26 11:26:04' (0s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='203.59.178.214' OR ip_addr='203.59.178.214' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT aid from cpg14x_pictures WHERE pid='6153'  LIMIT 1 (0s)
    [15] => SELECT title,keyword from cpg14x_albums WHERE aid='256' (0s)
    [16] => SELECT COUNT(*) from cpg14x_pictures WHERE ((aid='256'  ) )   (0s)
    [17] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, title, caption,hits,owner_id,owner_name from cpg14x_pictures WHERE ((aid='256'  ) )   ORDER BY pid DESC  (0s)
    [18] => SELECT title,keyword from cpg14x_albums WHERE aid='256' (0s)
    [19] => SELECT COUNT(*) from cpg14x_pictures WHERE ((aid='256'  ) )   (0s)
    [20] => SELECT * from cpg14x_pictures WHERE ((aid='256'  ) )   ORDER BY pid DESC  LIMIT 0 ,1 (0s)
    [21] => SELECT title, comments, votes, category, aid FROM cpg14x_albums WHERE aid='256' LIMIT 1 (0s)
    [22] => SELECT name, parent FROM cpg14x_categories WHERE cid = '121' (0s)
    [23] => SELECT cid, name, parent FROM cpg14x_categories WHERE cid = '120' (0s)
    [24] => SELECT cid, name, parent FROM cpg14x_categories WHERE cid = '2' (0s)
    [25] => SELECT * FROM cpg14x_exif WHERE filename='albums/userpics/10001/zinta1.jpg' (0.193s)
    [26] => INSERT INTO cpg14x_exif VALUES ('albums/userpics/10001/zinta1.jpg', 'a:18:{s:13:\"VerboseOutput\";i:0;s:6:\"Errors\";i:0;s:9:\"ValidJpeg\";i:1;s:13:\"ValidIPTCData\";i:0;s:13:\"ValidJFIFData\";i:1;s:13:\"ValidEXIFData\";i:1;s:13:\"ValidAPP2Data\";i:0;s:12:\"ValidCOMData\";i:0;s:4:\"JFIF\";a:4:{s:4:\"Size\";i:16;s:4:\"Data\";s:14:\"JFIF\0\0H\0H\0\0\";s:10:\"Identifier\";s:5:\"JFIF\0\";s:13:\"ExtensionCode\";s:2:\"02\";}s:8:\"APP1Size\";i:2921;s:6:\"Endien\";s:8:\"Motorola\";s:11:\"IFD0NumTags\";i:7;s:4:\"IFD0\";a:7:{s:11:\"Orientation\";s:14:\"Normal (O deg)\";s:11:\"xResolution\";i:72;s:11:\"yResolution\";i:72;s:14:\"ResolutionUnit\";s:4:\"Inch\";s:8:\"Software\";s:28:\"Adobe Photoshop CS3 Windows\0\";s:8:\"DateTime\";s:20:\"2008:03:19 15:28:34\0\";s:10:\"ExifOffset\";i:164;}s:10:\"IFD1Offset\";i:208;s:13:\"SubIFDNumTags\";i:3;s:6:\"SubIFD\";a:3:{s:10:\"ColorSpace\";s:4:\"sRGB\";s:14:\"ExifImageWidth\";s:10:\"730 pixels\";s:15:\"ExifImageHeight\";s:10:\"430 pixels\";}s:11:\"IFD1NumTags\";i:6;s:4:\"IFD1\";a:6:{s:11:\"Compression\";s:16:\"Jpeg Compression\";s:11:\"xResolution\";s:26:\"72 dots per ResolutionUnit\";s:11:\"yResolution\";s:26:\"72 dots per ResolutionUnit\";s:14:\"ResolutionUnit\";s:4:\"Inch\";s:12:\"JpegIFOffset\";i:302;s:15:\"JpegIFByteCount\";i:2611;}}') (0.012s)
    [27] => SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, author_md5_id, msg_raw_ip, msg_hdr_ip, pid FROM cpg14x_comments WHERE pid='6153' ORDER BY msg_id ASC (0s)
    [28] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0.007s)
    [29] => SELECT title,keyword from cpg14x_albums WHERE aid='256' (0s)
    [30] => SELECT COUNT(*) from cpg14x_pictures WHERE ((aid='256'  ) )   (0s)
    [31] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, title, caption,hits,owner_id,owner_name from cpg14x_pictures WHERE ((aid='256'  ) )   ORDER BY pid DESC  LIMIT 0 ,10 (0s)
    [32] => SELECT count(*) from cpg14x_comments where pid=6153 and msg_id!=0 (0s)
    [33] => SELECT count(*) from cpg14x_comments where pid=2910 and msg_id!=0 (0s)
    [34] => SELECT count(*) from cpg14x_comments where pid=2895 and msg_id!=0 (0s)
    [35] => SELECT count(*) from cpg14x_comments where pid=2894 and msg_id!=0 (0s)
)

==========================
GET :
------------------
Array
(
    [pos] => -6153
)

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

==========================
VERSION INFO :
------------------
PHP version: 5.2.5 - OK
------------------
mySQL version: 5.0.45-community
------------------
Coppermine version: 1.4.16(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.45
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib64 -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.1.2
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/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 | 60 | 60
upload_max_filesize | 50M | 50M
post_max_size | 20M | 20M
==========================
Page generated in 0.627 seconds - 36 queries in 0.212 seconds - Album set : ; Meta set: ;
« Last Edit: March 27, 2008, 08:34:28 am by Joachim Müller »
Logged

Nibbler

  • Guest
Re: unable to view uploaded image
« Reply #1 on: March 26, 2008, 01:38:28 pm »

You have 2 problems. First is hotlink protection - adjust it for your new domain or remove it. Secondly, some of the files are simply not there.

http://preityzinta-fanclub.com/gallery7/albums/userpics/10003/thumb_godfrey-bravery-001-pzfc.jpg

So upload them.
Logged

aanyah80

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: unable to view uploaded image
« Reply #2 on: March 27, 2008, 04:08:45 am »

thanks nibbler, how do i remove the hotlink protection??

Logged

aanyah80

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: unable to view uploaded image
« Reply #3 on: March 27, 2008, 04:25:16 am »

sorry, ignore my above post..i've figured out it now.  please mark this as solved.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.