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: upload problem when I change host, help!  (Read 4583 times)

0 Members and 1 Guest are viewing this topic.

zanary

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
upload problem when I change host, help!
« on: May 15, 2006, 09:54:00 pm »

I got this error...

0 uploads were successful. 
CONTINUE
 
  Error Report   
 
The following uploads encountered errors: 
File Uploads: 
File Name/URL Error Message
1. 001.jpg Impossible to move.

please help me >_<
« Last Edit: May 16, 2006, 05:12:39 pm by GauGau »
Logged

zanary

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: upload problem when I change host, help!
« Reply #2 on: May 15, 2006, 10:32:47 pm »

Well upload works now but it says when I try to place a image in album "in The previous file could not be placed."

The thumbnail doesn't show, on this link http://www.zanary.com/gallery/albums/edit/preview_3c2cb5e1.jpg

but when I check the FTP all the images and thumbnails are in http://www.zanary.com/gallery/albums/userpics/10001 and http://www.zanary.com/gallery/albums/userpics/10008
Logged

Nibbler

  • Guest
Re: upload problem when I change host, help!
« Reply #3 on: May 16, 2006, 12:23:06 am »

Please do as suggested if you want support.
Logged

zanary

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: upload problem when I change host, help!
« Reply #4 on: May 16, 2006, 02:23:38 am »

Sorry I'm new to this >_< I swear it works prefectly until I change host...




USER:
------------------
Array
(
    [ID] => 16a8e3b57e7ad730d4f49f3958c3a243
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => zanary
    [groups] => Array
        (
           
  • => 1

        )

    [disk_max] => 1024
    [disk_min] => 1024
    [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] => 10
    [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] => 1024
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0.001s)
  • [1] => select * from cpg_plugins order by priority asc; (0.001s)
        [2] => delete from `(databasname)_copp1`.cpg_sessions where time<1147734609 and remember=0; (0.001s)
        [3] => delete from `(databasname)_copp1`.cpg_sessions where time<1146528609; (0s)
        [4] => select user_id from `(databasname)_copp1`.cpg_sessions where session_id=md5("c7076aa2526d8d1634f8606b1c44a1dc314065a3dfe16033c5b692ac6f63e157"); (0s)
        [5] => select user_id as id, user_password as password from `(databasname)_copp1`.cpg_users where user_id=1 (0.001s)
        [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 `(databasname)_copp1`.cpg_users AS u INNER JOIN `(databasname)_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
        [7] => SELECT user_group_list FROM `(databasname)_copp1`.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) (0.001s)
        [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0s)
        [10] => update `(databasname)_copp1`.cpg_sessions set time='1147738209' where session_id=md5('c7076aa2526d8d1634f8606b1c44a1dc314065a3dfe16033c5b692ac6f63e157'); (0s)
        [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0.001s)
        [12] => DELETE FROM cpg_mod_online WHERE last_action < NOW() - INTERVAL 60 MINUTE (0.001s)
        [13] => REPLACE INTO cpg_mod_online (user_id, user_name, user_ip, last_action) VALUES ('1', 'zanary', '70.19.155.225', NOW()) (0s)
        [14] => DELETE FROM cpg_banned WHERE expiry < '2006-05-16 00:10:09' (0.001s)
        [15] => SELECT * FROM cpg_banned WHERE (ip_addr='70.19.155.225' OR ip_addr='70.19.155.225' OR user_id=1) AND brute_force=0 (0s)
        [16] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = ''  ORDER BY name (0.001s)
        [17] => SELECT aid FROM cpg_albums WHERE category = 5 (0.001s)
        [18] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND category = 5 (0.001s)
        [19] => SELECT count(*) FROM cpg_albums as a WHERE category = '5' (0s)
        [20] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=5 ORDER BY a.pos LIMIT 0,1 (0.001s)
        [21] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (42)GROUP BY a.aid (0s)
        [22] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = '5'  ORDER BY name (0s)
        [23] => SELECT aid FROM cpg_albums WHERE category = 2 (0s)
        [24] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND category = 2 (0.001s)
        [25] => SELECT count(*) FROM cpg_albums as a WHERE category = '2' (0s)
        [26] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,33 (0.001s)
        [27] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (10, 1, 2, 23, 21, 3, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 25, 27, 28, 29, 30, 31, 32, 33, 35, 34, 36, 37, 38, 39)GROUP BY a.aid (0.007s)
        [28] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='139' (0.001s)
        [29] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='15' (0s)
        [30] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='28' (0s)
        [31] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='433' (0s)
        [32] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='423' (0s)
        [33] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='72' (0s)
        [34] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='77' (0.001s)
        [35] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='96' (0s)
        [36] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='118' (0s)
        [37] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='177' (0s)
        [38] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='195' (0s)
        [39] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='202' (0s)
        [40] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='302' (0s)
        [41] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='310' (0s)
        [42] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='333' (0s)
        [43] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='389' (0s)
        [44] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='395' (0s)
        [45] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='438' (0s)
        [46] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='594' (0.001s)
        [47] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='505' (0s)
        [48] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='444' (0s)
        [49] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='414' (0s)
        [50] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='428' (0s)
        [51] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='452' (0s)
        [52] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='459' (0s)
        [53] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='476' (0s)
        [54] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='488' (0s)
        [55] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='519' (0s)
        [56] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='500' (0s)
        [57] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='528' (0s)
        [58] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='537' (0s)
        [59] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='539' (0s)
        [60] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='581' (0s)
        [61] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = '2'  ORDER BY name (0.001s)
        [62] => SELECT aid FROM cpg_albums WHERE category = 3 (0s)
        [63] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND category = 3 (0s)
        [64] => SELECT count(*) FROM cpg_albums as a WHERE category = '3' (0s)
        [65] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=3 ORDER BY a.pos LIMIT 0,2 (0.001s)
        [66] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (4, 5)GROUP BY a.aid (0.001s)
        [67] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='595' (0s)
        [68] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='596' (0s)
        [69] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = '3'  ORDER BY name (0s)
        [70] => SELECT aid FROM cpg_albums as a WHERE category>=10000 (0s)
        [71] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND category >= 10000 (0s)
        [72] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = '1'  ORDER BY name (0s)
        [73] => SELECT aid FROM cpg_albums as a WHERE category = '0' (0s)
        [74] => SELECT count(*) FROM cpg_albums as a WHERE 1 (0s)
        [75] => SELECT count(*) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 (0.001s)
        [76] => SELECT count(*) FROM cpg_comments as c LEFT JOIN cpg_pictures as p ON c.pid=p.pid LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 (0.001s)
        [77] => SELECT count(*) FROM cpg_categories WHERE 1 (0s)
        [78] => SELECT sum(hits) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON p.aid=a.aid WHERE 1 (0.003s)
        [79] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0.001s)
        [80] => SELECT count(*) FROM cpg_albums as a WHERE category = '0' (0s)
        [81] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES'  (0.001s)
        [82] => SELECT * FROM cpg_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 10 (0.012s)
        [83] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES'  (0.001s)
        [84] => SELECT * FROM cpg_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,10 (0.001s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.2 - OK
    ------------------
    mySQL version: 4.1.11-standard
    ------------------
    Coppermine version: 1.4.2(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 compatible)
    FreeType Support:
    T1Lib Support:
    GIF Read Support: 1
    GIF Create Support: 1
    JPG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 1
    Active Links 2
    Client API version 4.1.11
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.2.3
    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/local/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 -f zanaryc@zanary.com | /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.2 seconds - 85 queries in 0.049 seconds - Album set : ; Meta set: ;
Logged

zanary

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: upload problem when I change host, help!
« Reply #5 on: May 16, 2006, 03:43:28 am »

And here's an error when I upload only 1 image

  Critical error   
 
The file 'albums/userpics/10001/000~3.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 127


Cmd line :
/usr/bin/convert -quality 80 -antialias -geometry 100x71 'albums/userpics/10001/000~3.jpg' 'albums/userpics/10001/thumb_000~3.jpg'



The convert program said:
sh: /usr/bin/convert: No such file or directory



File: /home/zanaryc/domains/zanary.com/public_html/gallery/db_input.php - Line: 391
 
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: upload problem when I change host, help!
« Reply #6 on: May 16, 2006, 06:49:58 am »

You have specified the wrong path to ImageMagick or you don't have ImageMagick at all. Go to coppermine's Config, switch "Method for uploading pics" from "ImageMagick" to "GD2" and then try again.
Logged

zanary

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: upload problem when I change host, help!
« Reply #7 on: May 16, 2006, 02:47:20 pm »

omg it works, thank you very much GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.