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: File doe not upload  (Read 4085 times)

0 Members and 1 Guest are viewing this topic.

studiodart

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
File doe not upload
« on: July 09, 2010, 05:55:48 pm »

No file was uploaded !
Hi

As per the board, here my error message
You can logon www.studiodart.co.za/coppermine/     Mild Nudity - NSFW

User = herma
Password = 050199

If you have really selected a file to upload, check that the server allows file uploads...

File: /hsphere/local/home/johnkit/studiodart.co.za/coppermine/db_input.php - Line: 311

Error file details

USER:
------------------
Array
(
    [ID] => 87ee18510a62d7fee6d91be9ac0bafcb
    [am] => 1
    [lap] => 1
)

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

        )

    [disk_max] => 20000
    [disk_min] => 20000
    [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] => 1
    [priv_upl_need_approval] => 1
    [group_name] => Administrators
    [upload_form_config] => 0
    [group_quota] => 20000
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    
  • => SELECT extension, mime, content, player FROM cpg132_filetypes; (0.004s)
  • [1] => select * from cpg132_plugins order by priority asc; (0.001s)
        [2] => delete from `johnkit_studiodart`.cpg132_sessions where time<1278686467 and remember=0; (0.002s)
        [3] => delete from `johnkit_studiodart`.cpg132_sessions where time<1277480467; (0.009s)
        [4] => select user_id from `johnkit_studiodart`.cpg132_sessions where session_id=md5("1413e693892cdb42d4f1f077b4e291f4d0170b26a8d8c614f3132389a9660f74"); (0.001s)
        [5] => select user_id as id, user_password as password from `johnkit_studiodart`.cpg132_users where user_id=1 (0.003s)
        [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 `johnkit_studiodart`.cpg132_users AS u INNER JOIN `johnkit_studiodart`.cpg132_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.01s)
        [7] => SELECT user_group_list FROM `johnkit_studiodart`.cpg132_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
        [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 cpg132_usergroups WHERE group_id in (1) (0.001s)
        [9] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1 (0.003s)
        [10] => update `johnkit_studiodart`.cpg132_sessions set time='1278690067' where session_id=md5('1413e693892cdb42d4f1f077b4e291f4d0170b26a8d8c614f3132389a9660f74'); (0.006s)
        [11] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 1 (0.003s)
        [12] => DELETE FROM cpg132_banned WHERE expiry < '2010-07-09 15:41:08' (0.005s)
        [13] => SELECT * FROM cpg132_banned WHERE (ip_addr='196.30.245.149' OR ip_addr='41.195.89.53' OR user_id=1) AND brute_force=0 (0.001s)
        [14] => SELECT category FROM cpg132_albums WHERE aid='134' (0.004s)
        [15] => SELECT COUNT(*) FROM cpg132_pictures WHERE approved = 'NO' (0.003s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        
[album] => 134
    [MAX_FILE_SIZE] => 256000
    [title] =>
    [caption] =>
    [keywords] =>
    [event] => picture
    [user1] =>
    [user2] =>
    [user3] =>
    [user4] =>
    [user5] =>
    [user6] => 2dcb4861
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.1 - OK
------------------
mySQL version: 4.1.21-standard
------------------
Coppermine version: 1.4.14(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
XPM Support:
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.1.15
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
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 | On | On
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 | .:/hsphere/shared/apache/libexec/php5ext/php/ | .:/hsphere/shared/apache/libexec/php5ext/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 | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.564 seconds - 16 queries in 0.057 seconds

[Edit: Added NSFW tag - Jeff]
« Last Edit: July 09, 2010, 08:14:36 pm by onthepike »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: File doe not upload
« Reply #1 on: July 09, 2010, 06:38:33 pm »

As per the board, here my error message
You did the opposite of what you're supposed to do in every aspect: nobody asked debug output, nobody asked for notices_display to be enabled, you haven't set the number of file and uri upload fields as you should and your gallery is outdated (cpg1.4.14 instead of cpg1.4.27). Read Asking for support on upload issues and do exactly as suggested there after having upgraded. Stop misbehaving or you'll be banned. You have been told so before often, and this is the final warning before your ban. I mean it.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 21 queries.