This needs to be in 1.4 standalone. Can a moderator move it please?
Uploading image shows as succeeded however this notice shows in debug: /upload.php
Notice line 1968: Undefined variable: file_failure_array
Notice line 1969: Undefined variable: URI_failure_array
Notice line 1970: Undefined variable: zip_failure_array
Click Continue and the file name shows up but the thumbnail does not and notices = /include/picmgmt.inc.php
Notice line 205: Undefined index: OS
Warning line 225: unlink(./albums/edit/preview_131510c7.JPG) [function.unlink]: No such file or directory
/include/functions.inc.php
Notice line 2648: Undefined variable: i
(The image that is in this directory at this point is named: mHTTP_temp_0f9a4fc6.JPG)If I continue with the move Information shows: The previous file could not be placed.
You have successfully placed all the files.
Notices shows:/upload.php
Notice line 2181: Undefined index: user1
Notice line 2182: Undefined index: user2
Notice line 2183: Undefined index: user3
Notice line 2184: Undefined index: user4
/include/picmgmt.inc.php
Notice line 205: Undefined index: OS
Warning line 225: unlink(albums/userpics/10001/thumb_matt~3.JPG) [function.unlink]: No such file or directory
The Directory albums/userpics/10001/ exists but the only photos in there are the original uploaded photos.
Debug info:
USER:
------------------
Array
(
[ID] => f9bb0b642999d828a2af8d364b49bdd8
[am] => 1
[lang] => english
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => webmaster
[groups] => Array
(
)
[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] => 5
[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 cpg140_filetypes; (0.001s)
[1] => select * from cpg140_plugins order by priority asc; (0.001s)
[2] => delete from `portal`.cpg140_sessions where time<1133015431 and remember=0; (0.001s)
[3] => delete from `portal`.cpg140_sessions where time<1131809431; (0s)
[4] => select user_id from `portal`.cpg140_sessions where session_id=md5("db58ecb15a3fec81825e0287a27c19a4957e0b9d6373a12ffe418355589b442f"); (0s)
[5] => select user_id as id, user_password as password from `portal`.cpg140_users where user_id=1 (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 `portal`.cpg140_users AS u INNER JOIN `portal`.cpg140_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
[7] => SELECT user_group_list FROM `portal`.cpg140_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 cpg140_usergroups WHERE group_id in (1) (0.001s)
[9] => SELECT group_name FROM cpg140_usergroups WHERE group_id= 1 (0s)
[10] => update `portal`.cpg140_sessions set time='1133019031' where session_id=md5('db58ecb15a3fec81825e0287a27c19a4957e0b9d6373a12ffe418355589b442f'); (0.001s)
[11] => SELECT user_favpics FROM cpg140_favpics WHERE user_id = 1 (0.001s)
[12] => DELETE FROM cpg140_banned WHERE expiry < '2005-11-26 15:30:31' (0.001s)
[13] => SELECT * FROM cpg140_banned WHERE (ip_addr='68.208.146.36' OR ip_addr='68.208.146.36' OR user_id=1) AND brute_force=0 (0.001s)
[14] => SELECT aid, title FROM cpg140_albums WHERE category < 10000 ORDER BY title (0.001s)
[15] => SELECT aid, title FROM cpg140_albums WHERE category='10001' ORDER BY title (0s)
[16] => SELECT encoded_string FROM cpg140_temp_data WHERE unique_ID = 'b1b0de0d' (0s)
[17] => UPDATE cpg140_temp_data SET encoded_string = 'YTowOnt9' WHERE unique_ID = 'b1b0de0d' (0.001s)
[18] => SELECT category FROM cpg140_albums WHERE aid='1' (0s)
[19] => DELETE FROM cpg140_temp_data WHERE unique_ID = 'b1b0de0d' (0.001s)
[20] => SELECT COUNT(*) FROM cpg140_pictures WHERE approved = 'NO' (0.001s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[album] => 1
[title] =>
[caption] =>
[keywords] =>
[control] => phase_2
[unique_ID] => b1b0de0d
[debugtext] => USER:
------------------
Array
(
[ID] => f9bb0b642999d828a2af8d364b49bdd8
[am] => 1
[lang] => english
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => webmaster
[groups] => Array
(
)
[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] => 5
[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 cpg140_filetypes; (0.001s)
[1] => select * from cpg140_plugins order by priority asc; (0.001s)
[2] => delete from `portal`.cpg140_sessions where time<1133015336 and remember=0; (0.001s)
[3] => delete from `portal`.cpg140_sessions where time<1131809336; (0s)
[4] => select user_id from `portal`.cpg140_sessions where session_id=md5("db58ecb15a3fec81825e0287a27c19a4957e0b9d6373a12ffe418355589b442f"); (0s)
[5] => select user_id as id, user_password as password from `portal`.cpg140_users where user_id=1 (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 `portal`.cpg140_users AS u INNER JOIN `portal`.cpg140_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
[7] => SELECT user_group_list FROM `portal`.cpg140_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 cpg140_usergroups WHERE group_id in (1) (0.001s)
[9] => SELECT group_name FROM cpg140_usergroups WHERE group_id= 1 (0s)
[10] => update `portal`.cpg140_sessions set time='1133018936' where session_id=md5('db58ecb15a3fec81825e0287a27c19a4957e0b9d6373a12ffe418355589b442f'); (0.001s)
[11] => SELECT user_favpics FROM cpg140_favpics WHERE user_id = 1 (0.001s)
[12] => DELETE FROM cpg140_banned WHERE expiry < '2005-11-26 15:28:56' (0s)
[13] => SELECT * FROM cpg140_banned WHERE (ip_addr='68.208.146.36' OR ip_addr='68.208.146.36' OR user_id=1) AND brute_force=0 (0.001s)
[14] => SELECT aid, title FROM cpg140_albums WHERE category < 10000 ORDER BY title (0.001s)
[15] => SELECT aid, title FROM cpg140_albums WHERE category='10001' ORDER BY title (0s)
[16] => SELECT encoded_string FROM cpg140_temp_data WHERE unique_ID = 'b1b0de0d' (0.001s)
[17] => UPDATE cpg140_temp_data SET encoded_string = 'YToxOntpOjA7YTozOntzOjExOiJhY3R1YWxfbmFtZSI7czo4OiJtYXR0LkpQRyI7czoxNDoidGVtcG9yYXJ5X25hbWUiO3M6MjM6Im1IVFRQX3RlbXBfYzY1ZWYxZjguSlBHIjtzOjEyOiJwcmV2aWV3X3BhdGgiO3M6MzQ6Ii4vYWxidW1zL2VkaXQvcHJldmlld18xMzE1MTBjNy5KUEciO319' WHERE unique_ID = 'b1b0de0d' (0.001s)
[18] => SELECT COUNT(*) FROM cpg140_pictures WHERE approved = 'NO' (0.001s)
[19] => SELECT cat.name FROM cpg140_categories cat, cpg140_albums alb WHERE alb.aid='1' AND cat.cid=alb.category (0.002s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[unique_ID] => b1b0de0d
[control] => phase_2
[debugtext] => USER:
------------------
Array
(
[ID] => f9bb0b642999d828a2af8d364b49bdd8
[am] => 1
[lang] => english
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => webmaster
[groups] => Array
(
)
[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] => 5
[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 cpg140_filetypes; (0.001s)
[1] => select * from cpg140_plugins order by priority asc; (0.001s)
[2] => delete from `portal`.cpg140_sessions where time<1133015314 and remember=0; (0.001s)
[3] => delete from `portal`.cpg140_sessions where time<1131809314; (0s)
[4] => select user_id from `portal`.cpg140_sessions where session_id=md5("db58ecb15a3fec81825e0287a27c19a4957e0b9d6373a12ffe418355589b442f"); (0s)
[5] => select user_id as id, user_password as password from `portal`.cpg140_users where user_id=1 (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 `portal`.cpg140_users AS u INNER JOIN `portal`.cpg140_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
[7] => SELECT user_group_list FROM `portal`.cpg140_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 cpg140_usergroups WHERE group_id in (1) (0.001s)
[9] => SELECT group_name FROM cpg140_usergroups WHERE group_id= 1 (0s)
[10] => update `portal`.cpg140_sessions set time='1133018914' where session_id=md5('db58ecb15a3fec81825e0287a27c19a4957e0b9d6373a12ffe418355589b442f'); (0.001s)
[11] => SELECT user_favpics FROM cpg140_favpics WHERE user_id = 1 (0.001s)
[12] => DELETE FROM cpg140_banned WHERE expiry < '2005-11-26 15:28:34' (0s)
[13] => SELECT * FROM cpg140_banned WHERE (ip_addr='68.208.146.36' OR ip_addr='68.208.146.36' OR user_id=1) AND brute_force=0 (0s)
[14] => SELECT aid, title FROM cpg140_albums WHERE category < 10000 ORDER BY title (0.001s)
[15] => SELECT aid, title FROM cpg140_albums WHERE category='10001' ORDER BY title (0s)
[16] => SELECT COUNT(*) FROM cpg140_pictures WHERE approved = 'NO' (0.001s)
[17] => SELECT unique_ID FROM cpg140_temp_data (0.001s)
[18] => INSERT INTO cpg140_temp_data VALUES ('b1b0de0d', 'YToxOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czo4OiJtYXR0LkpQRyI7czoxNDoidGVtcG9yYXJ5X25hbWUiO3M6MjM6Im1IVFRQX3RlbXBfYzY1ZWYxZjguSlBHIjt9fQ==', '1133018914') (0.001s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[URI_array] => Array
(
[1] =>
[2] =>
)
[control] => phase_1
)
==========================
VERSION INFO :
------------------
PHP version: 5.0.4 - OK
------------------
mySQL version: 4.1.14
------------------
Coppermine version: 1.4.2(stable)
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.1.14
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
Compiled Version 1.2.2.2
Linked Version 1.2.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/share/pear | .:/usr/share/pear
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 | 10M | 10M
post_max_size | 10M | 10M
==========================
Page generated in 0.201 seconds - 19 queries in 0.011 seconds - Album set : ; Meta set: ;
)
==========================
VERSION INFO :
------------------
PHP version: 5.0.4 - OK
------------------
mySQL version: 4.1.14
------------------
Coppermine version: 1.4.2(stable)
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.1.14
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
Compiled Version 1.2.2.2
Linked Version 1.2.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/share/pear | .:/usr/share/pear
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 | 10M | 10M
post_max_size | 10M | 10M
==========================
Page generated in 0.418 seconds - 20 queries in 0.014 seconds - Album set : ; Meta set: ;
)
==========================
VERSION INFO :
------------------
PHP version: 5.0.4 - OK
------------------
mySQL version: 4.1.14
------------------
Coppermine version: 1.4.2(stable)
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.1.14
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
Compiled Version 1.2.2.2
Linked Version 1.2.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/share/pear | .:/usr/share/pear
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 | 10M | 10M
post_max_size | 10M | 10M
==========================
Page generated in 0.421 seconds - 21 queries in 0.013 seconds - Album set : ; Meta set: ;