0 uploads were successful. 0 uploads were successful.
 

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

0 uploads were successful.

Started by spyle10, July 08, 2007, 07:54:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

spyle10

First,
   Yes I have already gone through the FAQ and other documentation. All directories required are set to 777. I am out of ideas. Any help would be greatly appreciated. Thank you in advance!

Here is the debug info i receive. BTW, I can upload via ftp and via url. just not http.



USER:
------------------
Array
(
    [ID] => 4c001488c7c69d6ef95ae8f3cabe6419
    [am] => 1
    [lang] => english
)

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

        [disk_max] => 0
        [disk_min] => 0
        [can_rate_pictures] => 1
        [can_send_ecards] => 1
        [ufc_max] => 3
        [ufc_min] => 3
        [custom_user_upload] => 0
        [num_file_upload] => 1
        [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
    (
       
  • => SELECT extension, mime, content, player FROM cpg1411_filetypes; (0.113s)
        [1] => select * from cpg1411_plugins order by priority asc; (0.003s)
        [2] => delete from `cpg1412`.cpg1411_sessions where time<1183912989 and remember=0; (0.172s)
        [3] => delete from `cpg1412`.cpg1411_sessions where time<1182706989; (0.01s)
        [4] => select user_id from `cpg1412`.cpg1411_sessions where session_id=md5("6890d9330ab14feba1334d37cb4c326c33277410825499fa5ded1255bd695a0b"); (0.012s)
        [5] => select user_id as id, user_password as password from `cpg1412`.cpg1411_users where user_id=1 (0.01s)
        [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 `cpg1412`.cpg1411_users AS u INNER JOIN `cpg1412`.cpg1411_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
        [7] => SELECT user_group_list FROM `cpg1412`.cpg1411_users AS u WHERE user_id='1' and user_group_list <> ''; (0.004s)
        [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 cpg1411_usergroups WHERE group_id in (1) (0.009s)
        [9] => SELECT group_name FROM  cpg1411_usergroups WHERE group_id= 1 (0.002s)
        [10] => update `cpg1412`.cpg1411_sessions set time='1183916589' where session_id=md5('6890d9330ab14feba1334d37cb4c326c33277410825499fa5ded1255bd695a0b'); (0.005s)
        [11] => SELECT user_favpics FROM cpg1411_favpics WHERE user_id = 1 (0.088s)
        [12] => DELETE FROM cpg1411_banned WHERE expiry < '2007-07-08 17:43:09' (0.007s)
        [13] => SELECT * FROM cpg1411_banned WHERE (ip_addr='69.251.164.107' OR ip_addr='69.251.164.107' OR user_id=1) AND brute_force=0 (0.214s)
        [14] => SELECT aid, title FROM cpg1411_albums WHERE category < 10000 ORDER BY title (0.005s)
        [15] => SELECT aid, title FROM cpg1411_albums WHERE category='10001' ORDER BY title (0.056s)
        [16] => SELECT COUNT(*) FROM cpg1411_pictures WHERE approved = 'NO' (0.043s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [URI_array] => Array
            (
               
  • =>
                [1] =>
                [2] =>
            )

        [control] => phase_1
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.6 - OK
    ------------------
    mySQL version: 4.1.18-standard-log
    ------------------
    Coppermine version: 1.4.12(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 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
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 4.1.11
    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
    Compiled Version 1.2.2
    Linked Version 1.2.2
    ==========================
    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-4.4.6/lib/php | .:/usr/local/lib/php-4.4.6/lib/php
    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 | 4M | 4M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 1.046 seconds - 17 queries in 0.754 seconds - Album set : ; Meta set: ;


spyle10

Please Delete. I figured it out! the php.ini file had the wrong root directory for uploads.

skidpics

I just started getting this error today! Admin Batch uploads working fine, all directories cmod to 777 - Was working fine yesterday!

Test User Account: Test
                           Test

http://skidpics.com


This is also showing on the screen now:

No file was uploaded !
If you have really selected a file to upload, check that the server allows file uploads...
File: /db_input.php - Line: 360


Here is my debug info:

USER:
------------------
Array
(
    [ID] => 7a23fc89137c9e6a4f2487ba9741028e
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => skidpics
    [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 cpg1411_filetypes; (0.001s)
        [1] => select * from cpg1411_plugins order by priority asc; (0.001s)
        [2] => delete from `coppermine`.cpg1411_sessions where time<1188101956 and remember=0; (0.001s)
        [3] => delete from `coppermine`.cpg1411_sessions where time<1186895956; (0.001s)
        [4] => select user_id from `coppermine`.cpg1411_sessions where session_id=md5("2fb5551f8c92c6f2cd8914dc9d7587104d93cfe47dd883797359fc892d3c8164"); (0.001s)
        [5] => select user_id as id, user_password as password from `coppermine`.cpg1411_users where user_id=1 (0s)
        [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.avatar_url AS avatar_url, u.enable_admin_email AS notify, u.auto_subscribe_post AS auto_subscribe_post, u.auto_subscribe_comment AS auto_subscribe_comment, u.user_group+100 AS group_id FROM `coppermine`.cpg1411_users AS u INNER JOIN `coppermine`.cpg1411_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
        [7] => SELECT user_group_list FROM `coppermine`.cpg1411_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 cpg1411_usergroups WHERE group_id in (1) (0.001s)
        [9] => SELECT group_name FROM  cpg1411_usergroups WHERE group_id= 1 (0.001s)
        [10] => update `coppermine`.cpg1411_sessions set time='1188105556' where session_id=md5('2fb5551f8c92c6f2cd8914dc9d7587104d93cfe47dd883797359fc892d3c8164'); (0.001s)
        [11] => SELECT user_favpics FROM cpg1411_favpics WHERE user_id = 1 (0s)
        [12] => SHOW TABLES LIKE 'cpg1411_cms_config' (0.003s)
        [13] => SELECT * FROM cpg1411_cms_config (0s)
        [14] => DELETE FROM cpg1411_mod_online WHERE last_action < NOW() - INTERVAL 10 MINUTE (0.003s)
        [15] => REPLACE INTO cpg1411_mod_online (user_id, user_name, user_ip, last_action) VALUES ('1', 'skidpics', '75.32.56.222', NOW()) (0.006s)
        [16] => SELECT count(*) FROM  cpg1411_pms WHERE owner=1 (0.001s)
        [17] => SELECT count(*) FROM  cpg1411_pms WHERE owner=1 AND showed='0' (0s)
        [18] => SELECT count(*) FROM  cpg1411_buddy WHERE user_id=1 (0s)
        [19] => SELECT count(*) FROM  cpg1411_buddy_req WHERE buddy_to=1 (0s)
        [20] => DELETE FROM cpg1411_banned WHERE expiry < '2007-08-25 23:19:17' (0s)
        [21] => SELECT * FROM cpg1411_banned WHERE (ip_addr='75.32.56.222' OR ip_addr='75.32.56.222' OR user_id=1) AND brute_force=0 (0s)
        [22] => SELECT category FROM cpg1411_albums WHERE aid='17' (0.001s)
        [23] => SELECT COUNT(*) FROM cpg1411_pictures WHERE approved = 'NO' (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [album] => 17
        [MAX_FILE_SIZE] => 1048576
        [title] =>
        [caption] =>
        [keywords] =>
        [event] => picture
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.11 - OK
    ------------------
    mySQL version: 4.1.14
    ------------------
    Coppermine version: 1.4.12 modpack v2(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 compatible)
    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
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 3.23.49
    MYSQL_MODULE_TYPE builtin
    MYSQL_SOCKET /tmp/mysql.sock
    MYSQL_INCLUDE no value
    MYSQL_LIBS no value
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.1.4
    Linked Version 1.1.3
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | Off | Off
    safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
    safe_mode_gid | Off | Off
    safe_mode_include_dir | no value | no value
    safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
    sql.safe_mode | Off | Off
    disable_functions | leak, symlink | leak, symlink
    file_uploads | On | On
    include_path | .:/include:/usr/lib/php | .:/include:/usr/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 | 90 | 90
    max_input_time | -1 | -1
    upload_max_filesize | 50M | 50M
    post_max_size | 50M | 50M
    ==========================
    Page generated in 0.175 seconds - 24 queries in 0.023 seconds - Album set : ; Meta set: ;




Joachim Müller

Quote from: skidpics on August 26, 2007, 07:27:23 AM
Test User Account: Test
                           Test
Wrong: test user account actually is "test" / "test" (mind the capitalization). Don't waste supporter's time trying to figure out such things.



Quote from: skidpics on August 26, 2007, 07:27:23 AMThis is also showing on the screen now:

No file was uploaded !
If you have really selected a file to upload, check that the server allows file uploads...
File: /db_input.php - Line: 360
Does the server allow uploads then?

Quote from: skidpics on August 26, 2007, 07:27:23 AMHere is my debug info:
Nobody asked for it.

Instead of doing as suggested in the upload troubleshooting section of the docs that we constantly have to refer to you decide to hijack someone else's thread. Not a bright idea. Stay out of this thread, read the upload troubleshooting section and start a thread of your own if you can't figure this out on your own.