hy,
I have the problem that I cant upload anything. I'm login as user and try to upload. I try 1 picture out of 10.
After Upload I got the messages that the upload is ok. I found the files in /albums/edit/mHTTP_temp_$somestring.jpg.
But the I will go on I got the message param_missing.
Here is the Debug Output:
Das Skript wurde ohne den/die erforderlichen Parameter aufgerufen. <-- german param_missing message
Datei: /var/www/server/photo.puettmann.net/htdocs/upload.php - Zeile: 2372
USER:
------------------
Array
(
[ID] => 4b7711de204d4d40b929cc7d31b4c176
[am] => 1
[lang] => german
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 3
[user_name] => ruben
[groups] => Array
(
[0] => 2
)
[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] => 10
[num_URI_upload] => 3
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 1
[has_admin_access] => 0
[pub_upl_need_approval] => 1
[priv_upl_need_approval] => 0
[group_name] => Registered
[upload_form_config] => 3
[group_quota] => 0
[can_see_all_albums] => 0
[group_id] => 2
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM cpg132_filetypes; (0s)
[1] => select * from cpg132_plugins order by priority asc; (0s)
[2] => delete from `photo`.cpg132_sessions where time<1182181018 and remember=0; (0.001s)
[3] => delete from `photo`.cpg132_sessions where time<1180975018; (0.001s)
[4] => select user_id from `photo`.cpg132_sessions where session_id=md5("5b1cb82e5efe20ed974b880dd2cf36081459e0f5e3f993c02276a57e043dfae2"); (0.001s)
[5] => select user_id as id, user_password as password from `photo`.cpg132_users where user_id=3 (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`.cpg132_users AS u INNER JOIN `photo`.cpg132_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='3' (0s)
[7] => SELECT user_group_list FROM `photo`.cpg132_users AS u WHERE user_id='3' 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 cpg132_usergroups WHERE group_id in (2) (0s)
[9] => SELECT group_name FROM cpg132_usergroups WHERE group_id= 2 (0s)
[10] => update `photo`.cpg132_sessions set time='1182184618' where session_id=md5('5b1cb82e5efe20ed974b880dd2cf36081459e0f5e3f993c02276a57e043dfae2'); (0.001s)
[11] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 3 (0s)
[12] => DELETE FROM cpg132_banned WHERE expiry < '2007-06-18 16:36:58' (0.001s)
[13] => SELECT * FROM cpg132_banned WHERE (ip_addr='194.97.7.107' OR ip_addr='194.97.7.107' OR user_id=3) AND brute_force=0 (0s)
[14] => SELECT aid FROM cpg132_albums WHERE visibility != '0' AND visibility !='10003' AND visibility NOT IN (2) (0s)
[15] => SELECT aid, title FROM cpg132_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (2)) ORDER BY title (0s)
[16] => SELECT aid, title FROM cpg132_albums WHERE category='10003' ORDER BY title (0s)
[17] => SELECT encoded_string FROM cpg132_temp_data WHERE unique_ID = '4b0b2956' (0s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[unique_ID] => 4b0b2956
[control] => phase_2
[debugtext] => USER:
------------------
Array
(
[ID] => 4b7711de204d4d40b929cc7d31b4c176
[am] => 1
[lang] => german
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 3
[user_name] => ruben
[groups] => Array
(
[0] => 2
)
[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] => 10
[num_URI_upload] => 3
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 1
[has_admin_access] => 0
[pub_upl_need_approval] => 1
[priv_upl_need_approval] => 0
[group_name] => Registered
[upload_form_config] => 3
[group_quota] => 0
[can_see_all_albums] => 0
[group_id] => 2
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM cpg132_filetypes; (0s)
[1] => select * from cpg132_plugins order by priority asc; (0s)
[2] => delete from `photo`.cpg132_sessions where time<1182180902 and remember=0; (0.001s)
[3] => delete from `photo`.cpg132_sessions where time<1180974902; (0.001s)
[4] => select user_id from `photo`.cpg132_sessions where session_id=md5("5b1cb82e5efe20ed974b880dd2cf36081459e0f5e3f993c02276a57e043dfae2"); (0.001s)
[5] => select user_id as id, user_password as password from `photo`.cpg132_users where user_id=3 (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`.cpg132_users AS u INNER JOIN `photo`.cpg132_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='3' (0s)
[7] => SELECT user_group_list FROM `photo`.cpg132_users AS u WHERE user_id='3' 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 cpg132_usergroups WHERE group_id in (2) (0s)
[9] => SELECT group_name FROM cpg132_usergroups WHERE group_id= 2 (0s)
[10] => update `photo`.cpg132_sessions set time='1182184502' where session_id=md5('5b1cb82e5efe20ed974b880dd2cf36081459e0f5e3f993c02276a57e043dfae2'); (0.001s)
[11] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 3 (0s)
[12] => DELETE FROM cpg132_banned WHERE expiry < '2007-06-18 16:35:02' (0s)
[13] => SELECT * FROM cpg132_banned WHERE (ip_addr='194.97.7.107' OR ip_addr='194.97.7.107' OR user_id=3) AND brute_force=0 (0s)
[14] => SELECT aid FROM cpg132_albums WHERE visibility != '0' AND visibility !='10003' AND visibility NOT IN (2) (0s)
[15] => SELECT aid, title FROM cpg132_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (2)) ORDER BY title (0s)
[16] => SELECT aid, title FROM cpg132_albums WHERE category='10003' ORDER BY title (0s)
[17] => SELECT unique_ID FROM cpg132_temp_data (0.001s)
[18] => INSERT INTO cpg132_temp_data VALUES ('4b0b2956', 'YToxOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czoxMjoiRFNDXzA5NjQuanBnIjtzOjE0OiJ0ZW1wb3JhcnlfbmFtZSI7czoyMzoibUhUVFBfdGVtcF84OTRiNWQxMS5qcGciO319', '1182184502') (0.001s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[URI_array] => Array
(
[0] =>
[1] =>
[2] =>
)
[control] => phase_1
)
==========================
Page generated in 0.365 seconds - 19 queries in 0.006 seconds - Album set : ; Meta set: ;
)
==========================
Page generated in 0.358 seconds - 18 queries in 0.005 seconds - Album set : ; Meta set: ;
[Edited by Sami]:
Added code block for more read ability
Do as suggetsed under Upload troubleshooting (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble)
Yes Id did.
After some debuging I thing I found the bug.
My Version is often Updated .It startet with 1.3 ( again thx for this great software)
I ever Updated and run the database updates under the damin tool. But something mus be running wrong.
The Table cpg132_temp_data has the unique_ID as type varchar(3) but ist must a CHAR(8).
Is there a way to check the whole database? One of the update Script from the previous Versions must have a bug.
Shouting "bug" is not a bright thing if you're not sure. Always make sure to use the most recent version. If you think that you have found a genuine bug, post more details. Marking as "solved".