forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: snowson on April 10, 2006, 05:29:58 pm
-
When I try to upload file, the below message appear and i couldn't upload any things.
The previous file could not be placed.
You have successfully placed all the files.
Who can help me? :'( :'(
USER:
------------------
Array
(
[ID] => 17f8a5c236098d3e18311df3628ea941
[am] => 1
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => admin
[groups] => Array
(
[0] => 1
)
[disk_max] => 1024
[disk_min] => 1024
[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] => 1024
[can_see_all_albums] => 1
[group_id] => 1
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM cpg143_filetypes; (0s)
[1] => select * from cpg143_plugins order by priority asc; (0s)
[2] => delete from `photo`.cpg143_sessions where time<1144678820 and remember=0; (0s)
[3] => delete from `photo`.cpg143_sessions where time<1143472820; (0s)
[4] => select user_id from `photo`.cpg143_sessions where session_id=md5("63bbefe8fd7a4594e42b1ef50c7f552e0343d256bb6768c528af6a08c960f103"); (0s)
[5] => select user_id as id, user_password as password from `photo`.cpg143_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 `photo`.cpg143_users AS u INNER JOIN `photo`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
[7] => SELECT user_group_list FROM `photo`.cpg143_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 cpg143_usergroups WHERE group_id in (1) (0s)
[9] => SELECT group_name FROM cpg143_usergroups WHERE group_id= 1 (0s)
[10] => update `photo`.cpg143_sessions set time='1144682420' where session_id=md5('63bbefe8fd7a4594e42b1ef50c7f552e0343d256bb6768c528af6a08c960f103'); (0s)
[11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0s)
[12] => DELETE FROM cpg143_banned WHERE expiry < '2006-04-10 15:20:21' (0s)
[13] => SELECT * FROM cpg143_banned WHERE (ip_addr='222.68.64.113' OR ip_addr='222.68.64.113' OR user_id=1) AND brute_force=0 (0s)
[14] => SELECT aid, title FROM cpg143_albums WHERE category < 10000 ORDER BY title (0s)
[15] => SELECT aid, title FROM cpg143_albums WHERE category='10001' ORDER BY title (0s)
[16] => SELECT encoded_string FROM cpg143_temp_data WHERE unique_ID = '8c214093' (0s)
[17] => UPDATE cpg143_temp_data SET encoded_string = 'YTowOnt9' WHERE unique_ID = '8c214093' (0s)
[18] => SELECT category FROM cpg143_albums WHERE aid='1' (0s)
[19] => DELETE FROM cpg143_temp_data WHERE unique_ID = '8c214093' (0s)
[20] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[album] => 1
[title] =>
[caption] =>
[keywords] =>
[control] => phase_2
[unique_ID] => 8c214093
[debugtext] => USER:
------------------
Array
(
[ID] => 17f8a5c236098d3e18311df3628ea941
[am] => 1
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => admin
[groups] => Array
(
[0] => 1
)
[disk_max] => 1024
[disk_min] => 1024
[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] => 1024
[can_see_all_albums] => 1
[group_id] => 1
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM cpg143_filetypes; (0s)
[1] => select * from cpg143_plugins order by priority asc; (0s)
[2] => delete from `photo`.cpg143_sessions where time<1144678052 and remember=0; (0s)
[3] => delete from `photo`.cpg143_sessions where time<1143472052; (0s)
[4] => select user_id from `photo`.cpg143_sessions where session_id=md5("63bbefe8fd7a4594e42b1ef50c7f552e0343d256bb6768c528af6a08c960f103"); (0s)
[5] => select user_id as id, user_password as password from `photo`.cpg143_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 `photo`.cpg143_users AS u INNER JOIN `photo`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
[7] => SELECT user_group_list FROM `photo`.cpg143_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 cpg143_usergroups WHERE group_id in (1) (0s)
[9] => SELECT group_name FROM cpg143_usergroups WHERE group_id= 1 (0s)
[10] => update `photo`.cpg143_sessions set time='1144681652' where session_id=md5('63bbefe8fd7a4594e42b1ef50c7f552e0343d256bb6768c528af6a08c960f103'); (0s)
[11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0s)
[12] => DELETE FROM cpg143_banned WHERE expiry < '2006-04-10 15:07:32' (0s)
[13] => SELECT * FROM cpg143_banned WHERE (ip_addr='222.68.64.113' OR ip_addr='222.68.64.113' OR user_id=1) AND brute_force=0 (0s)
[14] => SELECT aid, title FROM cpg143_albums WHERE category < 10000 ORDER BY title (0s)
[15] => SELECT aid, title FROM cpg143_albums WHERE category='10001' ORDER BY title (0s)
[16] => SELECT encoded_string FROM cpg143_temp_data WHERE unique_ID = '8c214093' (0s)
[17] => UPDATE cpg143_temp_data SET encoded_string = 'YToxOntpOjA7YTozOntzOjExOiJhY3R1YWxfbmFtZSI7czoxMjoiMDAyMTExMTEuanBnIjtzOjE0OiJ0ZW1wb3JhcnlfbmFtZSI7czoyMzoibUhUVFBfdGVtcF81YzNiMzY5OS5qcGciO3M6MTI6InByZXZpZXdfcGF0aCI7czozNDoiLi9hbGJ1bXMvZWRpdC9wcmV2aWV3Xzg4NjY5MWM2LmpwZyI7fX0=' WHERE unique_ID = '8c214093' (0s)
[18] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[unique_ID] => 8c214093
[control] => phase_2
[debugtext] => USER:
------------------
Array
(
[ID] => 17f8a5c236098d3e18311df3628ea941
[am] => 1
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => admin
[groups] => Array
(
[0] => 1
)
[disk_max] => 1024
[disk_min] => 1024
[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] => 1024
[can_see_all_albums] => 1
[group_id] => 1
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM cpg143_filetypes; (0s)
[1] => select * from cpg143_plugins order by priority asc; (0s)
[2] => delete from `photo`.cpg143_sessions where time<1144678048 and remember=0; (0s)
[3] => delete from `photo`.cpg143_sessions where time<1143472048; (0s)
[4] => select user_id from `photo`.cpg143_sessions where session_id=md5("63bbefe8fd7a4594e42b1ef50c7f552e0343d256bb6768c528af6a08c960f103"); (0s)
[5] => select user_id as id, user_password as password from `photo`.cpg143_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 `photo`.cpg143_users AS u INNER JOIN `photo`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
[7] => SELECT user_group_list FROM `photo`.cpg143_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 cpg143_usergroups WHERE group_id in (1) (0s)
[9] => SELECT group_name FROM cpg143_usergroups WHERE group_id= 1 (0s)
[10] => update `photo`.cpg143_sessions set time='1144681648' where session_id=md5('63bbefe8fd7a4594e42b1ef50c7f552e0343d256bb6768c528af6a08c960f103'); (0s)
[11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0s)
[12] => DELETE FROM cpg143_banned WHERE expiry < '2006-04-10 15:07:28' (0s)
[13] => SELECT * FROM cpg143_banned WHERE (ip_addr='222.68.64.113' OR ip_addr='222.68.64.113' OR user_id=1) AND brute_force=0 (0s)
[14] => SELECT aid, title FROM cpg143_albums WHERE category < 10000 ORDER BY title (0s)
[15] => SELECT aid, title FROM cpg143_albums WHERE category='10001' ORDER BY title (0s)
[16] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0s)
[17] => SELECT unique_ID FROM cpg143_temp_data (0s)
[18] => INSERT INTO cpg143_temp_data VALUES ('8c214093', 'YToxOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czoxMjoiMDAyMTExMTEuanBnIjtzOjE0OiJ0ZW1wb3JhcnlfbmFtZSI7czoyMzoibUhUVFBfdGVtcF81YzNiMzY5OS5qcGciO319', '1144681648') (0s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[URI_array] => Array
(
[0] =>
[1] =>
[2] =>
)
[control] => phase_1
)
==========================
VERSION INFO :
------------------
PHP version: 4.4.1 - OK
------------------
mySQL version: 4.0.26-log
------------------
Coppermine version: 1.4.4(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.0.26
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/include/mysql
MYSQL_LIBS -L/usr/local/lib/mysql -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1
Linked Version 1.2.1
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
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 | system,passthru,exec,shell_exec,popen | system,passthru,exec,shell_exec,popen
file_uploads | On | On
include_path | .: | .:
open_basedir | /usr/local/www/data/:/tmp/:/usr/local/www/squirrelmail/ | /usr/local/www/data/:/tmp/:/usr/local/www/squirrelmail/
==========================
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 | 8M | 8M
post_max_size | 8M | 8M
==========================
Page generated in 0.451 seconds - 19 queries in 0 seconds - Album set : ; Meta set: ;
)
==========================
VERSION INFO :
------------------
PHP version: 4.4.1 - OK
------------------
mySQL version: 4.0.26-log
------------------
Coppermine version: 1.4.4(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.0.26
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/include/mysql
MYSQL_LIBS -L/usr/local/lib/mysql -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1
Linked Version 1.2.1
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
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 | system,passthru,exec,shell_exec,popen | system,passthru,exec,shell_exec,popen
file_uploads | On | On
include_path | .: | .:
open_basedir | /usr/local/www/data/:/tmp/:/usr/local/www/squirrelmail/ | /usr/local/www/data/:/tmp/:/usr/local/www/squirrelmail/
==========================
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 | 8M | 8M
post_max_size | 8M | 8M
==========================
Page generated in 0.663 seconds - 19 queries in 0 seconds - Album set : ; Meta set: ;
)
==========================
VERSION INFO :
------------------
PHP version: 4.4.1 - OK
------------------
mySQL version: 4.0.26-log
------------------
Coppermine version: 1.4.4(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.0.26
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/include/mysql
MYSQL_LIBS -L/usr/local/lib/mysql -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1
Linked Version 1.2.1
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
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 | system,passthru,exec,shell_exec,popen | system,passthru,exec,shell_exec,popen
file_uploads | On | On
include_path | .: | .:
open_basedir | /usr/local/www/data/:/tmp/:/usr/local/www/squirrelmail/ | /usr/local/www/data/:/tmp/:/usr/local/www/squirrelmail/
==========================
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 | 8M | 8M
post_max_size | 8M | 8M
==========================
Page generated in 0.638 seconds - 21 queries in 0 seconds - Album set : ; Meta set: ;
-
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
-
-Do not post debug_output unless requested
-Check your folder and file permission settings on the /albums, /albums/userpics, and /albums/edit directories. All should be 777 or 755
-check your config/Files and thumbnails advanced settings/Method for resizing images , it seems you can use GD 2.X so select GD 2.X insted of ImageMagic or GD 1
-try single file upload with http
-Send a link to your site with test username and passwoed (user should have uploadpermission) if you have still problem after all.
-
-Do not post debug_output unless requested
-Check your folder and file permission settings on the /albums, /albums/userpics, and /albums/edit directories. All should be 777 or 755
-check your config/Files and thumbnails advanced settings/Method for resizing images , it seems you can use GD 2.X so select GD 2.X insted of ImageMagic or GD 1
-try single file upload with http
-Send a link to your site with test username and passwoed (user should have uploadpermission) if you have still problem after all.
-
Is there an echo in here? What's the use of your above posting, just quoting what bmossavari said?
-
Is there an echo in here? What's the use of your above posting, just quoting what bmossavari said?
Sorry!
I am already check my folder and file permission settings on the /albums, /albums/userpics, and /albums/edit directories be 777.
When i upload file, coppermine error message
"The file 'albums/userpics/Dscf0013_x7rnKlbdLAZl.jpg' can't be inserted in the album
Unable to create thumbnail or reduced size image.
File: /usr/local/www/data-dist/cpg/db_input.php - Line: 391 "
Why? Please help me.
My site
http://www.ibaby.sh/cpg
user:test
password:test
-
http://forum.coppermine-gallery.net/index.php?topic=23342.0
-
http://forum.coppermine-gallery.net/index.php?topic=23342.0
Now fix this issue,thanks a lot! ;D