I know another one but I can not find a resolve searching old threads...
All of a sudden my upload is returning a "0 uploads were successful." message. Notice I have not changed a single thing on Coppermind... this has to be the result of an update of some other software.
PHP Version 4.3.10
Zend Optimizer v2.5.7
GD Version 2.0.28
When I try an upload I get these errors at the top of the page.
Notice: Undefined index: file_upload_array in /home/rcflying/public_html/gallery/upload.php on line 1014
Notice: Undefined index: URI_array in /home/rcflying/public_html/gallery/upload.php on line 1261
Notice: Undefined variable: escrow_array in /home/rcflying/public_html/gallery/upload.php on line 1939
Notice: Undefined variable: file_failure_array in /home/rcflying/public_html/gallery/upload.php on line 1940
Notice: Undefined variable: URI_failure_array in /home/rcflying/public_html/gallery/upload.php on line 1941
Notice: Undefined variable: zip_failure_array in /home/rcflying/public_html/gallery/upload.php on line 1942
In the Debug info box:
USER:
------------------
Array
(
[ID] => d119527fc60ff592c66e3ddedaf2d51c
[am] => 1
[liv] => Array
(
- => 2724
[1] => 316
[2] => 822
[3] => 607
[4] => 2963
)
)
==========================
USER DATA:
------------------
Array
(
- => 1
[user_id] => 1
[1] => WreckRman2
[user_name] => WreckRman2
[2] => 6
[mgroup] => 6
[3] => 6
[group_id] => 6
[4] => Administrators
[group_name] => Administrators
[5] => 51200
[group_quota] => 51200
[6] => 0
[has_admin_access] => 1
[7] => 1
[can_rate_pictures] => 1
[8] => 1
[can_send_ecards] => 1
[9] => 1
[can_post_comments] => 1
[10] => 1
[can_upload_pictures] => 1
[11] => 1
[can_create_albums] => 1
[12] => 1
[pub_upl_need_approval] => 1
[13] => 0
[priv_upl_need_approval] => 0
[14] => 1
[upload_form_config] => 1
[15] => 0
[custom_user_upload] => 0
[16] => 5
[num_file_upload] => 5
[17] => 3
[num_URI_upload] => 3
[can_see_all_albums] => 1
[groups] => Array
(
- => 6
)
)
==========================
Queries:
------------------
Array
(
- => SELECT extension, mime, content FROM cpg11d_filetypes;
[1] => SELECT sessionhash,userid,host,useragent,styleid FROM `rcflying_forums`.session WHERE sessionhash='21bdce887c6f69b686730211097461a5' AND host='68.249.99.34' AND idhash='aa376df3001f5c956209e507a4013d57'
[2] => SELECT userid as user_id, username as user_name, usergroupid as mgroup FROM `rcflying_forums`.user WHERE userid='1'
[3] => SELECT * FROM cpg11d_usergroups WHERE group_id = '6'
[4] => DELETE FROM cpg11d_banned WHERE expiry < 1104906271
[5] => SELECT * FROM cpg11d_banned WHERE ip_addr='68.249.99.34' OR ip_addr='68.249.99.34' OR user_id=1
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[control] => phase_1
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.10 - OK
------------------
mySQL version: 4.0.22-standard
------------------
Coppermine version: 1.3.1
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.28 compatible)
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /var/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.4
==========================
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 | Off | Off
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | /home/rcflying/:/usr/lib/php:/usr/local/lib/php:/tmp | 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 | -1 | -1
upload_max_filesize | 32M | 32M
post_max_size | 55M | 55M
==========================
Page generated in 0.094 seconds - 6 queries in 0.002 seconds - Album set :
Quote from: WreckRman2 on January 05, 2005, 07:26:28 AM
When I try an upload I get these errors at the top of the page.
QuoteNotice: Undefined index: file_upload_array in /home/rcflying/public_html/gallery/upload.php on line 1014
Notice: Undefined index: URI_array in /home/rcflying/public_html/gallery/upload.php on line 1261
Notice: Undefined variable: escrow_array in /home/rcflying/public_html/gallery/upload.php on line 1939
Notice: Undefined variable: file_failure_array in /home/rcflying/public_html/gallery/upload.php on line 1940
Notice: Undefined variable: URI_failure_array in /home/rcflying/public_html/gallery/upload.php on line 1941
Notice: Undefined variable: zip_failure_array in /home/rcflying/public_html/gallery/upload.php on line 1942
Those are no errors, but notices - it's safe to ignore them (or disable them in coppermine config if they don't mean anything to you). Temporarily enable "single file uploads only" in "Groups" and check the actual error message (if any).
Joachim