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: FTP upload fail  (Read 4966 times)

0 Members and 1 Guest are viewing this topic.

lisastar08

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
FTP upload fail
« on: December 28, 2009, 02:27:42 am »

Ive searched the board trying to find a similar problem but everything seems to be with the batch add stage for FTP uploading. My issue is that when trying to FTP upload files into the directory it just fails. My co-web had the issue and I tried from my computer and same problem. Uploading directly from the link in the gallery works however. It was just working one minute and stopped the next  :-\  Its also not the FTP program I dont think because I am working on another site right now as well, and there are no FTP problems...does anyone know why it would suddenly start failing to upload?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Logged
It is a mistake to think you can solve any major problems just with potatoes.

lisastar08

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: FTP upload fail
« Reply #2 on: December 28, 2009, 03:11:12 am »

This is the gallery link: www.star-kidz.net/imagearchive

and this is the debug message:

Quote
USER:
------------------
Array
(
    [ID] => e34c37deeaf3ac82bc3acce40d2f16e9
    [am] => 1
    [lang] => english_gb
    [lap] => 2
    [liv] => Array
        (
           
  • => 126620
  • [1] => 126595
                [2] => 126612
                [3] => 126611
                [4] => 126624
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
       
[user_id] => 3
    [user_name] => Lisa
    [groups] => Array
        (
           
  • => 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] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
  • [1] => select * from cpg14x_plugins order by priority asc; (0s)
        [2] => delete from `starkidz_kids`.cpg14x_sessions where time<1261962604 and remember=0; (0.001s)
        [3] => delete from `starkidz_kids`.cpg14x_sessions where time<1260756604; (0s)
        [4] => select user_id from `starkidz_kids`.cpg14x_sessions where session_id = '0c1c6db1bc5e6142f98b635ae2f4e907' (0s)
        [5] => select user_id as id, user_password as password from `starkidz_kids`.cpg14x_users where user_id=3 (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 `starkidz_kids`.cpg14x_users AS u INNER JOIN `starkidz_kids`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='3' (0s)
        [7] => SELECT user_group_list FROM `starkidz_kids`.cpg14x_users AS u WHERE user_id='3' 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 `starkidz_kids`.cpg14x_sessions set time='1261966204' where session_id = '0c1c6db1bc5e6142f98b635ae2f4e907' (0s)
        [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 3 (0s)
        [12] => DELETE FROM cpg14x_banned WHERE expiry < '2009-12-28 02:10:04' (0s)
        [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='74.13.53.218' OR ip_addr='74.13.53.218' OR user_id=3) AND brute_force=0 (0s)
        [14] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = ''  ORDER BY pos (0.001s)
        [15] => SELECT aid FROM cpg14x_albums as a WHERE category>=10000 (0s)
        [16] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
        [17] => SELECT aid FROM cpg14x_albums WHERE category = 2 (0s)
        [18] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0s)
        [19] => SELECT aid FROM cpg14x_albums WHERE category = 3 (0s)
        [20] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0s)
        [21] => SELECT aid FROM cpg14x_albums WHERE category = 4 (0s)
        [22] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 4 (0s)
        [23] => SELECT aid FROM cpg14x_albums WHERE category = 5 (0s)
        [24] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 5 (0s)
        [25] => SELECT aid FROM cpg14x_albums WHERE category = 6 (0s)
        [26] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 6 (0s)
        [27] => SELECT aid FROM cpg14x_albums WHERE category = 7 (0s)
        [28] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 7 (0s)
        [29] => SELECT aid FROM cpg14x_albums WHERE category = 8 (0s)
        [30] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 8 (0s)
        [31] => SELECT aid FROM cpg14x_albums WHERE category = 9 (0s)
        [32] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 9 (0.001s)
        [33] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '9' (0s)
        [34] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_albums as a LEFT JOIN cpg14x_pictures as p ON a.thumb=p.pid WHERE category=9 ORDER BY a.pos LIMIT 0,16 (0.001s)
        [35] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg14x_albums AS a  LEFT JOIN cpg14x_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (959, 10, 487, 2036, 1158, 960, 999, 1961, 2132, 1636, 19, 2035, 1034, 108, 1035, 1072)GROUP BY a.aid (0.003s)
        [36] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='59447' (0s)
        [37] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='120165' (0s)
        [38] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='78943' (0s)
        [39] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='103474' (0s)
        [40] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='111413' (0s)
        [41] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='59449' (0s)
        [42] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='46201' (0s)
        [43] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='99828' (0s)
        [44] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='126793' (0s)
        [45] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='109949' (0s)
        [46] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='80840' (0s)
        [47] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='103397' (0s)
        [48] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='104079' (0s)
        [49] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='96070' (0s)
        [50] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='104075' (0s)
        [51] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='59389' (0s)
        [52] => SELECT aid FROM cpg14x_albums as a WHERE category = '0' (0s)
        [53] => SELECT count(*) FROM cpg14x_albums as a WHERE 1 (0s)
        [54] => SELECT count(*) FROM cpg14x_pictures as p LEFT JOIN cpg14x_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0.144s)
        [55] => SELECT count(*) FROM cpg14x_comments as c LEFT JOIN cpg14x_pictures as p ON c.pid=p.pid LEFT JOIN cpg14x_albums as a ON a.aid=p.aid WHERE 1 (0s)
        [56] => SELECT count(*) FROM cpg14x_categories WHERE 1 (0s)
        [57] => SELECT sum(hits) FROM cpg14x_pictures as p LEFT JOIN cpg14x_albums as a ON p.aid=a.aid WHERE 1 (0.417s)
        [58] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0.073s)
        [59] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '0' (0s)
        [60] => SELECT COUNT(*) from cpg14x_pictures WHERE approved = 'YES'  (0.076s)
        [61] => SELECT * FROM cpg14x_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,10 (0.001s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.2.10 - OK
    ------------------
    mySQL version: 5.0.85-community
    ------------------
    Coppermine version: 1.4.21(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.85
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.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.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/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 | 400 | 400
    max_input_time | 500 | 500
    upload_max_filesize | 400M | 400M
    post_max_size | 200M | 200M
    ==========================
    Page generated in 0.934 seconds - 62 queries in 0.718 seconds - Album set : ; Meta set: ;
Logged

lisastar08

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: FTP upload fail
« Reply #3 on: December 28, 2009, 03:16:10 am »

and the gallery has now decided to fix itself...uploading is working as spontaneously as it had stopped  :-\
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: FTP upload fail
« Reply #4 on: December 28, 2009, 11:38:01 am »

and this is the debug message:
Really? Great! Who asked for that? You have been told to do as suggested in the docs. What you did is quite the opposite.

and the gallery has now decided to fix itself...uploading is working as spontaneously as it had stopped  :-\
Sure. Sounds like a PEBKAC issue to me. Anyway, we'd appreciate it if you respected board rules in the future - you agreed to do so when signing up. One of the rules says that you're suppossed to properly resolve your threads and explains how.
Logged

lisastar08

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: FTP upload fail
« Reply #5 on: December 28, 2009, 10:15:31 pm »

I'm sorry I went to what the link above said and it said to get the error message so I thought it meant I was supposed to share the error message with support.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: FTP upload fail
« Reply #6 on: December 28, 2009, 11:24:09 pm »

Erm ,what? The link I posted leads you to the following posting:
Resolve your threads
If you have found an answer to your question, resolve your thread. Don't just post "I have found the answer", but tell others what you actually did to solve your issues. Posting a link to the page where you found the answer might help. Describing what you did might help as well. Finally, you can tag your answer as "solved" by clicking on the little image (see attachment) in your initial posting on your thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 19 queries.