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: 0 uploads were successful/No file was uploaded !  (Read 2624 times)

0 Members and 1 Guest are viewing this topic.

ElementalCrisis

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
0 uploads were successful/No file was uploaded !
« on: December 09, 2008, 02:12:13 pm »

Hello,

Just installed Coppermine and I've run into a problem.

When I have "File upload boxes:" set to anything more then 1 I encounter the "0 uploads were successful" message. When I have it set to 1 I encounter the No file was uploaded!" message.

site: http://www.rpgcrisis.net/resources
user: test
pass: test123

Debug Info For "0 uploads were successful"
Code: [Select]
USER:
------------------
Array
(
    [ID] => 0a9bfa16e09015d63fc0ca8d7eb326fc
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Elemental Crisis
    [groups] => Array
        (
            [0] => 104
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 1
    [num_file_upload] => 1
    [num_URI_upload] => 1
    [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] => Owner
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 104
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => SELECT * FROM cpg14x_bridge (0s)
    [3] => SELECT member_id , member_login_key FROM `ec_forums`.ibf_sessions AS s INNER JOIN `ec_forums`.ibf_members AS u ON s.member_id = u.id WHERE s.id = '16acebb759e2cf4ed851fe08d0dceadc' (0s)
    [4] => SELECT u.id AS id, u.name AS username, u.member_login_key AS password, u.mgroup+100 AS group_id FROM `ec_forums`.ibf_members AS u INNER JOIN `ec_forums`.ibf_groups AS g ON u.mgroup=g.g_id WHERE u.id='1' (0s)
    [5] => 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 (104) (0s)
    [6] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 104 (0s)
    [7] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
    [8] => DELETE FROM cpg14x_banned WHERE expiry < '2008-12-10 05:03:34' (0s)
    [9] => SELECT * FROM cpg14x_banned WHERE (ip_addr='66.238.69.75' OR ip_addr='66.238.69.75' OR user_id=1) AND brute_force=0 (0s)
    [10] => SELECT aid, title FROM cpg14x_albums WHERE category < 10000 ORDER BY title (0s)
    [11] => SELECT aid, title FROM cpg14x_albums WHERE category='10001' ORDER BY title (0s)
    [12] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
)

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

==========================
POST :
------------------
Array
(
    [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.6 - OK
------------------
mySQL version: 5.0.67-community
------------------
Coppermine version: 1.4.19(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.67
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib64 -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 | passthru,proc_open | passthru,proc_open
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php:/usr/local/cpanel/3rdparty/lib/php:/tmp:/home:/home2 | .:/usr/lib/php:/usr/local/lib/php:/usr/local/cpanel/3rdparty/lib/php:/tmp:/home:/home2
open_basedir | /home/ec:/usr/lib/php:/usr/local/lib/php:/tmp | /home:/tmp:/usr/lib/php:/usr/local/lib/php:/usr/local/cpanel:/var/netenberg/:.
==========================
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 | 200 | 90
max_input_time | 300 | 300
upload_max_filesize | 100M | 32M
post_max_size | 100M | 32M
==========================
Page generated in 0.029 seconds - 13 queries in 0 seconds - Album set : ; Meta set: ;

Debug Info For No file was uploaded!
Code: [Select]
USER:
------------------
Array
(
    [ID] => 0a9bfa16e09015d63fc0ca8d7eb326fc
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Elemental Crisis
    [groups] => Array
        (
            [0] => 104
        )

    [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] => Owner
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 104
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => SELECT * FROM cpg14x_bridge (0s)
    [3] => SELECT member_id , member_login_key FROM `ec_forums`.ibf_sessions AS s INNER JOIN `ec_forums`.ibf_members AS u ON s.member_id = u.id WHERE s.id = '16acebb759e2cf4ed851fe08d0dceadc' (0s)
    [4] => SELECT u.id AS id, u.name AS username, u.member_login_key AS password, u.mgroup+100 AS group_id FROM `ec_forums`.ibf_members AS u INNER JOIN `ec_forums`.ibf_groups AS g ON u.mgroup=g.g_id WHERE u.id='1' (0s)
    [5] => 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 (104) (0s)
    [6] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 104 (0s)
    [7] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
    [8] => DELETE FROM cpg14x_banned WHERE expiry < '2008-12-10 05:10:00' (0s)
    [9] => SELECT * FROM cpg14x_banned WHERE (ip_addr='66.238.69.75' OR ip_addr='66.238.69.75' OR user_id=1) AND brute_force=0 (0s)
    [10] => SELECT category FROM cpg14x_albums WHERE aid='3' (0s)
    [11] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 5.2.6 - OK
------------------
mySQL version: 5.0.67-community
------------------
Coppermine version: 1.4.19(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.67
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib64 -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 | passthru,proc_open | passthru,proc_open
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php:/usr/local/cpanel/3rdparty/lib/php:/tmp:/home:/home2 | .:/usr/lib/php:/usr/local/lib/php:/usr/local/cpanel/3rdparty/lib/php:/tmp:/home:/home2
open_basedir | /home/ec:/usr/lib/php:/usr/local/lib/php:/tmp | /home:/tmp:/usr/lib/php:/usr/local/lib/php:/usr/local/cpanel:/var/netenberg/:.
==========================
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 | 200 | 90
max_input_time | 300 | 300
upload_max_filesize | 100M | 32M
post_max_size | 100M | 32M
==========================
Page generated in 0.033 seconds - 12 queries in 0 seconds - Album set : ; Meta set: ;

file_uploads is set to ON for both local and master values.

Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: 0 uploads were successful/No file was uploaded !
« Reply #1 on: December 09, 2008, 02:29:22 pm »

You'll need to create an album where the test user is allowed to upload files for us to do anything. I can see you have done all the other settings correctly.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_support
Logged
It is a mistake to think you can solve any major problems just with potatoes.

ElementalCrisis

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: 0 uploads were successful/No file was uploaded !
« Reply #2 on: December 09, 2008, 05:57:14 pm »

My apologies, I've created an album you can upload to.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: 0 uploads were successful/No file was uploaded !
« Reply #3 on: December 09, 2008, 07:38:51 pm »

The error you are getting suggests there is something wrong with your php.ini settings.

Take a look at the preliminary docs for cpg1.5 as the same things apply for cpg1.4x

http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#no_file_uploaded
Logged
It is a mistake to think you can solve any major problems just with potatoes.

ElementalCrisis

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: 0 uploads were successful/No file was uploaded !
« Reply #4 on: December 10, 2008, 08:14:29 am »

Hello,

max_input_time = 300 for both local and master.
upload_max_filesize = 100M for local, 32M for Master.
post_max_size = 100M for local, 32M for Master.
memory_limit = 500M for local, 64M for Master.
No idea what the LimitRequestBody.
file_uploads = on for both local and master,
upload_tmp_dir = Response from host
Quote
The temporary directory /tmp is already allowed by our security implementation of open_basedir
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.