FTp/Thumbnail/Batch Add Problem FTp/Thumbnail/Batch Add Problem
 

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

FTp/Thumbnail/Batch Add Problem

Started by charleswbrown, November 03, 2005, 01:49:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

charleswbrown

Hi there, I have just switched hosts and gone from www.charlie-brown.co.uk/album to www.charleswbrown.com/gallery everything on the forum works except the batch add. When i FTP files up and when I click on the file in the file tree in batch add I have a series of errors in the images ie the red cross. However, if you click the images it can find them.

I have a test user account:

UN: test
PW: test
URL: www.charleswbrown.com/gallery

Debug info is as follows:

USER:
------------------
Array
(
    [ID] => d1aab1c5eea0363b1f612f34f8364fe3
    [am] => 1
    [liv] => Array
        (
            [0] => 827
            [1] => 1297
            [2] => 1302
        )

    [theme] => classic
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 7
    [user_group] => 2
    [user_active] => YES
    [user_name] => Charlie
    [user_password] => ********
    [user_lastvisit] => 2005-11-01 09:12:13
    [user_regdate] => 2005-04-16 16:08:27
    [user_group_list] => 1
    [user_email] => webmaster@charlie-brown.co.uk
    [user_website] => http://www.charleswbrown.com
    [user_location] => Birstall, West Yorkshire
    [user_interests] =>
    [user_occupation] => Student
    [user_actkey] => 0ce0b636e004d5bd20ff3798c6294682
    [disk_max] => 3000
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 10
    [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] => Registered
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 2
    [groups] => Array
        (
            [0] => 1
            [1] => 2
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content FROM cpg11d_filetypes;
    [1] => SELECT * FROM cpg11d_users WHERE user_id='7'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '915068eddff19a55f8428328013ba011'
    [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,2)
    [3] => SELECT group_name FROM  cpg11d_usergroups WHERE group_id= 2
    [4] => DELETE FROM cpg11d_banned WHERE expiry < '2005-11-02 16:47:56'
    [5] => SELECT * FROM cpg11d_banned WHERE ip_addr='84.12.170.186' OR ip_addr='84.12.170.186' OR user_id=7
    [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 = 4
    [11] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 4
    [12] => SELECT count(*) FROM cpg11d_albums as a WHERE category = '4'
    [13] => 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=4 ORDER BY a.pos LIMIT 0,3
    [14] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg11d_pictures WHERE aid IN (25, 26, 44) AND approved = 'YES' GROUP BY aid
    [15] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='877'
    [16] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '4'  ORDER BY pos
    [17] => SELECT aid FROM cpg11d_albums WHERE category = 3
    [18] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 3
    [19] => SELECT count(*) FROM cpg11d_albums as a WHERE category = '3'
    [20] => 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=3 ORDER BY a.pos LIMIT 0,3
    [21] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg11d_pictures WHERE aid IN (7, 22, 28) AND approved = 'YES' GROUP BY aid
    [22] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='936'
    [23] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '3'  ORDER BY pos
    [24] => SELECT aid FROM cpg11d_albums WHERE category = 6
    [25] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 6
    [26] => SELECT count(*) FROM cpg11d_albums as a WHERE category = '6'
    [27] => 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=6 ORDER BY a.pos LIMIT 0,14
    [28] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg11d_pictures WHERE aid IN (29, 30, 31, 32, 33, 34, 35, 36, 37, 42, 45, 47, 46, 48) AND approved = 'YES' GROUP BY aid
    [29] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='994'
    [30] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='984'
    [31] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='798'
    [32] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='380'
    [33] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='634'
    [34] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='623'
    [35] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='385'
    [36] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='884'
    [37] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='620'
    [38] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='1153'
    [39] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='1247'
    [40] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='1239'
    [41] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='1301'
    [42] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '6'  ORDER BY pos
    [43] => SELECT aid FROM cpg11d_albums WHERE category = 7
    [44] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 7
    [45] => SELECT count(*) FROM cpg11d_albums as a WHERE category = '7'
    [46] => 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=7 ORDER BY a.pos LIMIT 0,3
    [47] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg11d_pictures WHERE aid IN (39, 49, 50) AND approved = 'YES' GROUP BY aid
    [48] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='1010'
    [49] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '7'  ORDER BY pos
    [50] => SELECT aid FROM cpg11d_albums as a WHERE category = '0'
    [51] => SELECT count(*) FROM cpg11d_albums as a WHERE 1
    [52] => SELECT count(*) FROM cpg11d_pictures as p LEFT JOIN cpg11d_albums as a ON a.aid=p.aid WHERE 1
    [53] => 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
    [54] => SELECT count(*) FROM cpg11d_categories WHERE 1
    [55] => SELECT sum(hits) FROM cpg11d_pictures as p LEFT JOIN cpg11d_albums as a ON p.aid=a.aid WHERE 1
    [56] => SELECT count(*) FROM cpg11d_albums as a WHERE category = '0'
    [57] => SELECT COUNT(*) from cpg11d_pictures WHERE approved = 'YES'
    [58] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, aid FROM cpg11d_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8
    [59] => SELECT COUNT(*) from cpg11d_pictures WHERE approved = 'YES'
    [60] => 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
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.3.6 - OK
------------------
mySQL version: 4.1.10a
------------------
Coppermine version: 1.3.5
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.22 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
JIS-mapped Japanese Font Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 4.0.18
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/include/mysql
MYSQL_LIBS -L/usr/local/lib/mysql -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 | .:/php/includes:/usr/local/share/pear:/usr/local/lib/php/pear | .:/php/includes:/usr/local/share/pear:/usr/local/lib/php/pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
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 | 8M | 8M
post_max_size | 8M | 8M
==========================
Page generated in 0.651 seconds - 61 queries in 0.393 seconds - Album set :


All my old albums that I uploaded on my old host are working fine as well as their thumbs its just the new albums in the new host. Im hosted with globat.com could it be a GD problem? its set at v.2 at the mo, shall i switch to imagemagick

please help

Thanks

kegobeer

Did you change the ecards target URL in the config settings to your new location (www.charleswbronw.com/gallery/)?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller

this is the error message I get when clicking your link:
QuoteIPB WARNING [2] main(./sources/boards.php): failed to open stream: No such file or directory (Line: 652 of /index.php)

charleswbrown

#3
Thats the forum sorry (again I know it needs sorting and im on that) So go to www.charleswbrown.com/gallery as yes i did change the ecards config to www.charleswbrown.com/gallery

Any more help would be great :D

xplicit

Can't access the site.... server timed out
Don't ask me: Can you do this .... or Give me that...or I need Quick help in PM's. I'm not Santaclaus so post your questions on the board so it will be in the benefit for everyone.

charleswbrown

I can access it pretty well. Try again please. Thanks!

Joachim Müller

temporarily disable admin approval if you want support.


Joachim Müller

regular http upload works fine - please PM me an admin account.

charleswbrown


Joachim Müller

ftp-upload some files to the test folder that dont contain a space or other special chars - we'll have to find out about this step by step. Nothing obviously wrong as far as I can see.

charleswbrown

I have uploaded a file called test.jpg to the test album.

Thanks.