Добрый день.
Поставил галлерею cpg1418.
Все бы хорошо, но не загружаются файлы с локальной машины.
Если указывать на файлы, которые находятся в сети интеренет, то они корректно загружаются, и отображаются.
Если же с локальной машины, то пишет сначала что файл был успешно загружен("Удачных загрузок: 1."), а затем:
"Предыдущий файл не может быть добавлен."
На сервер изображения загружаются, но на этом все заканчивается.
Заметки со станицы "Удачная загрузка", это так где появлятеся надпись "Удачных загрузок: 1.":
/include/functions.inc.php
* Warning line 2938: cannot yet handle MBCS in html_entity_decode()!
/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
Заметки со страницы выбора альбома, названия файлов, описания файлов:
/include/functions.inc.php
* Notice line 2688: Undefined variable: i
Заметки со страницы "Предыдущий файл не может быть добавлен.":
/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
Отладочная информация со страницы "Предыдущий файл не может быть добавлен.":
USER:
------------------
Array
(
[ID] => 73d8505d4c6bd760ebeefbbc43a82658
[am] => 1
[lang] => russian
[liv] => Array
(
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => roman
[groups] => Array
(
[0] => 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] => 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
(
[0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
[1] => select * from cpg14x_plugins order by priority asc; (0s)
[2] => delete from `db_romanvm_1`.cpg14x_sessions where time<1214295146 and remember=0; (0s)
[3] => delete from `db_romanvm_1`.cpg14x_sessions where time<1213089146; (0s)
[4] => select user_id from `db_romanvm_1`.cpg14x_sessions where session_id = '89c7048d32b3f84d244ca92608de4918' (0s)
[5] => select user_id as id, user_password as password from `db_romanvm_1`.cpg14x_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 `db_romanvm_1`.cpg14x_users AS u INNER JOIN `db_romanvm_1`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
[7] => SELECT user_group_list FROM `db_romanvm_1`.cpg14x_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 cpg14x_usergroups WHERE group_id in (1) (0s)
[9] => SELECT group_name FROM cpg14x_usergroups WHERE group_id= 1 (0s)
[10] => update `db_romanvm_1`.cpg14x_sessions set time='1214298746' where session_id = '89c7048d32b3f84d244ca92608de4918' (0s)
[11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
[12] => DELETE FROM cpg14x_banned WHERE expiry < '2008-06-24 09:12:26' (0s)
[13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='81.211.21.150' OR ip_addr='81.211.21.150' OR user_id=1) AND brute_force=0 (0s)
[14] => SELECT aid, title FROM cpg14x_albums WHERE category < 10000 ORDER BY title (0s)
[15] => SELECT aid, title FROM cpg14x_albums WHERE category='10001' ORDER BY title (0s)
[16] => SELECT encoded_string FROM cpg14x_temp_data WHERE unique_ID = 'ad3f2d3d' (0s)
[17] => UPDATE cpg14x_temp_data SET encoded_string = 'YTowOnt9' WHERE unique_ID = 'ad3f2d3d' (0s)
[18] => SELECT category FROM cpg14x_albums WHERE aid='1' (0s)
[19] => DELETE FROM cpg14x_temp_data WHERE unique_ID = 'ad3f2d3d' (0s)
[20] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[album] => 1
[title] => erfe
[caption] => rferfe
[keywords] => rf
[control] => phase_2
[unique_ID] => ad3f2d3d
[debugtext] => USER:
------------------
Array
(
[ID] => 73d8505d4c6bd760ebeefbbc43a82658
[am] => 1
[lang] => russian
[liv] => Array
(
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => roman
[groups] => Array
(
[0] => 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] => 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
(
[0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
[1] => select * from cpg14x_plugins order by priority asc; (0s)
[2] => delete from `db_romanvm_1`.cpg14x_sessions where time<1214295103 and remember=0; (0s)
[3] => delete from `db_romanvm_1`.cpg14x_sessions where time<1213089103; (0s)
[4] => select user_id from `db_romanvm_1`.cpg14x_sessions where session_id = '89c7048d32b3f84d244ca92608de4918' (0s)
[5] => select user_id as id, user_password as password from `db_romanvm_1`.cpg14x_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 `db_romanvm_1`.cpg14x_users AS u INNER JOIN `db_romanvm_1`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
[7] => SELECT user_group_list FROM `db_romanvm_1`.cpg14x_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 cpg14x_usergroups WHERE group_id in (1) (0s)
[9] => SELECT group_name FROM cpg14x_usergroups WHERE group_id= 1 (0s)
[10] => update `db_romanvm_1`.cpg14x_sessions set time='1214298703' where session_id = '89c7048d32b3f84d244ca92608de4918' (0s)
[11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
[12] => DELETE FROM cpg14x_banned WHERE expiry < '2008-06-24 09:11:43' (0s)
[13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='81.211.21.150' OR ip_addr='81.211.21.150' OR user_id=1) AND brute_force=0 (0s)
[14] => SELECT aid, title FROM cpg14x_albums WHERE category < 10000 ORDER BY title (0s)
[15] => SELECT aid, title FROM cpg14x_albums WHERE category='10001' ORDER BY title (0s)
[16] => SELECT encoded_string FROM cpg14x_temp_data WHERE unique_ID = 'ad3f2d3d' (0s)
[17] => UPDATE cpg14x_temp_data SET encoded_string = 'YToxOntpOjA7YTozOntzOjExOiJhY3R1YWxfbmFtZSI7czoxNjoic2lkZWJhcnRpdGxlLmpwZyI7czoxNDoidGVtcG9yYXJ5X25hbWUiO3M6MjM6Im1IVFRQX3RlbXBfOWNjYjFkM2EuanBnIjtzOjEyOiJwcmV2aWV3X3BhdGgiO3M6MzQ6Ii4vYWxidW1zL2VkaXQvcHJldmlld182MTg3M2ZiMC5qcGciO319' WHERE unique_ID = 'ad3f2d3d' (0s)
[18] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
[19] => SELECT cat.name FROM cpg14x_categories cat, cpg14x_albums alb WHERE alb.aid='1' AND cat.cid=alb.category (0s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[unique_ID] => ad3f2d3d
[control] => phase_2
[debugtext] => USER:
------------------
Array
(
[ID] => 73d8505d4c6bd760ebeefbbc43a82658
[am] => 1
[lang] => russian
[liv] => Array
(
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => roman
[groups] => Array
(
[0] => 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] => 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
(
[0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
[1] => select * from cpg14x_plugins order by priority asc; (0s)
[2] => delete from `db_romanvm_1`.cpg14x_sessions where time<1214295100 and remember=0; (0s)
[3] => delete from `db_romanvm_1`.cpg14x_sessions where time<1213089100; (0s)
[4] => select user_id from `db_romanvm_1`.cpg14x_sessions where session_id = '89c7048d32b3f84d244ca92608de4918' (0s)
[5] => select user_id as id, user_password as password from `db_romanvm_1`.cpg14x_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 `db_romanvm_1`.cpg14x_users AS u INNER JOIN `db_romanvm_1`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
[7] => SELECT user_group_list FROM `db_romanvm_1`.cpg14x_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 cpg14x_usergroups WHERE group_id in (1) (0s)
[9] => SELECT group_name FROM cpg14x_usergroups WHERE group_id= 1 (0s)
[10] => update `db_romanvm_1`.cpg14x_sessions set time='1214298700' where session_id = '89c7048d32b3f84d244ca92608de4918' (0s)
[11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
[12] => DELETE FROM cpg14x_banned WHERE expiry < '2008-06-24 09:11:41' (0s)
[13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='81.211.21.150' OR ip_addr='81.211.21.150' OR user_id=1) AND brute_force=0 (0s)
[14] => SELECT aid, title FROM cpg14x_albums WHERE category < 10000 ORDER BY title (0s)
[15] => SELECT aid, title FROM cpg14x_albums WHERE category='10001' ORDER BY title (0s)
[16] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
[17] => SELECT unique_ID FROM cpg14x_temp_data (0s)
[18] => INSERT INTO cpg14x_temp_data VALUES ('ad3f2d3d', 'YToxOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czoxNjoic2lkZWJhcnRpdGxlLmpwZyI7czoxNDoidGVtcG9yYXJ5X25hbWUiO3M6MjM6Im1IVFRQX3RlbXBfOWNjYjFkM2EuanBnIjt9fQ==', '1214298701') (0s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[URI_array] => Array
(
[0] =>
[1] =>
[2] =>
)
[control] => phase_1
)
==========================
VERSION INFO :
------------------
PHP version: 4.4.4 - OK
------------------
mySQL version: 4.1.22
------------------
Coppermine version: 1.4.18(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 4.1.22
MYSQL_MODULE_TYPE none
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
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 | no value | no value
file_uploads | On | On
include_path | .:/usr/local/php4/share/pear | .:/usr/local/php4/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 | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.218 seconds - 19 queries in 0 seconds - Album set : ; Meta set: ;
)
==========================
VERSION INFO :
------------------
PHP version: 4.4.4 - OK
------------------
mySQL version: 4.1.22
------------------
Coppermine version: 1.4.18(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 4.1.22
MYSQL_MODULE_TYPE none
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
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 | no value | no value
file_uploads | On | On
include_path | .:/usr/local/php4/share/pear | .:/usr/local/php4/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 | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.207 seconds - 20 queries in 0 seconds - Album set : ; Meta set: ;
)
==========================
VERSION INFO :
------------------
PHP version: 4.4.4 - OK
------------------
mySQL version: 4.1.22
------------------
Coppermine version: 1.4.18(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 4.1.22
MYSQL_MODULE_TYPE none
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
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 | no value | no value
file_uploads | On | On
include_path | .:/usr/local/php4/share/pear | .:/usr/local/php4/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 | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.203 seconds - 21 queries in 0 seconds - Album set : ; Meta set: ;
Буду очень признателен за помощь.
Заранее спасибо.