Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: upload problems  (Read 5280 times)

0 Members and 1 Guest are viewing this topic.

Fed

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 50
    • Imagetemple.com
upload problems
« on: September 14, 2008, 07:09:15 pm »

hello everyone
I noticed several people registering but no files were uploaded so I tried and noticed that when you try to upload a file you can get an error after assigning it to an album and adding keywords

it says The previous file could not be placed.

I paste what I get from the debug mode:

Code: [Select]
USER:
------------------
Array
(
    [ID] => a47bef970a2e4a3cb114175de6ecfa48
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 143
    [user_name] => Jen_N
    [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] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 0
    [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 `mouserot_itmain`.cpg132_sessions where time<1221407223 and remember=0; (0s)
    [3] => delete from `mouserot_itmain`.cpg132_sessions where time<1220201223; (0s)
    [4] => select user_id from `mouserot_itmain`.cpg132_sessions where session_id = 'b9a1974a9dbcd310c27d6e801db3c805' (0s)
    [5] => select user_id as id, user_password as password from `mouserot_itmain`.cpg132_users where user_id=143 (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 `mouserot_itmain`.cpg132_users AS u INNER JOIN `mouserot_itmain`.cpg132_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='143' (0s)
    [7] => SELECT user_group_list FROM `mouserot_itmain`.cpg132_users AS u WHERE user_id='143' 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 `mouserot_itmain`.cpg132_sessions set time='1221410823' where session_id = 'b9a1974a9dbcd310c27d6e801db3c805' (0s)
    [11] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 143 (0s)
    [12] => DELETE FROM cpg132_banned WHERE expiry < '2008-09-14 17:47:03' (0s)
    [13] => SELECT * FROM cpg132_banned WHERE (ip_addr='84.222.179.150' OR ip_addr='84.222.179.150' OR user_id=143) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg132_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (2)) ORDER BY title (0s)
    [15] => SELECT aid, title FROM cpg132_albums WHERE category='10143' ORDER BY title (0s)
    [16] => SELECT encoded_string FROM cpg132_temp_data WHERE unique_ID = '48e5d1e2' (0s)
    [17] => UPDATE cpg132_temp_data SET encoded_string = 'YTowOnt9' WHERE unique_ID = '48e5d1e2' (0s)
    [18] => SELECT category FROM cpg132_albums WHERE aid='26' and (uploads = 'YES' OR category = '10143') (0s)
    [19] => DELETE FROM cpg132_temp_data WHERE unique_ID = '48e5d1e2' (0s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
    [album] => 26
    [title] => as
    [caption] => s
    [keywords] => asa
    [control] => phase_2
    [unique_ID] => 48e5d1e2
    [debugtext] => USER:
------------------
Array
(
    [ID] => a47bef970a2e4a3cb114175de6ecfa48
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 143
    [user_name] => Jen_N
    [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] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 0
    [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 `mouserot_itmain`.cpg132_sessions where time<1221407192 and remember=0; (0s)
    [3] => delete from `mouserot_itmain`.cpg132_sessions where time<1220201192; (0s)
    [4] => select user_id from `mouserot_itmain`.cpg132_sessions where session_id = 'b9a1974a9dbcd310c27d6e801db3c805' (0s)
    [5] => select user_id as id, user_password as password from `mouserot_itmain`.cpg132_users where user_id=143 (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 `mouserot_itmain`.cpg132_users AS u INNER JOIN `mouserot_itmain`.cpg132_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='143' (0s)
    [7] => SELECT user_group_list FROM `mouserot_itmain`.cpg132_users AS u WHERE user_id='143' 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 `mouserot_itmain`.cpg132_sessions set time='1221410792' where session_id = 'b9a1974a9dbcd310c27d6e801db3c805' (0s)
    [11] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 143 (0s)
    [12] => DELETE FROM cpg132_banned WHERE expiry < '2008-09-14 17:46:32' (0s)
    [13] => SELECT * FROM cpg132_banned WHERE (ip_addr='84.222.179.150' OR ip_addr='84.222.179.150' OR user_id=143) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg132_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (2)) ORDER BY title (0s)
    [15] => SELECT aid, title FROM cpg132_albums WHERE category='10143' ORDER BY title (0s)
    [16] => SELECT encoded_string FROM cpg132_temp_data WHERE unique_ID = '48e5d1e2' (0s)
    [17] => UPDATE cpg132_temp_data SET encoded_string = 'YToxOntpOjA7YTozOntzOjExOiJhY3R1YWxfbmFtZSI7czoyNDoiYmVudGxleV9ndGNfZHJpdmVfMTAuanBnIjtzOjE0OiJ0ZW1wb3JhcnlfbmFtZSI7czoyMzoibUhUVFBfdGVtcF8wZGM0NzY4OS5qcGciO3M6MTI6InByZXZpZXdfcGF0aCI7czozNDoiLi9hbGJ1bXMvZWRpdC9wcmV2aWV3XzdhMDdhNWM2LmpwZyI7fX0=' WHERE unique_ID = '48e5d1e2' (0s)
    [18] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='26' AND cat.cid=alb.category (0s)
    [19] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='35' AND cat.cid=alb.category (0s)
    [20] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='49' AND cat.cid=alb.category (0s)
    [21] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='48' AND cat.cid=alb.category (0s)
    [22] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='20' AND cat.cid=alb.category (0s)
    [23] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='11' AND cat.cid=alb.category (0s)
    [24] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='43' AND cat.cid=alb.category (0s)
    [25] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='14' AND cat.cid=alb.category (0s)
    [26] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='32' AND cat.cid=alb.category (0s)
    [27] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='47' AND cat.cid=alb.category (0s)
    [28] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='15' AND cat.cid=alb.category (0s)
    [29] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='17' AND cat.cid=alb.category (0s)
    [30] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='46' AND cat.cid=alb.category (0s)
    [31] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='22' AND cat.cid=alb.category (0s)
    [32] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='18' AND cat.cid=alb.category (0s)
    [33] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='36' AND cat.cid=alb.category (0s)
    [34] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='50' AND cat.cid=alb.category (0s)
    [35] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='31' AND cat.cid=alb.category (0s)
    [36] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='42' AND cat.cid=alb.category (0s)
    [37] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='45' AND cat.cid=alb.category (0s)
    [38] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='16' AND cat.cid=alb.category (0s)
    [39] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='40' AND cat.cid=alb.category (0s)
    [40] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='44' AND cat.cid=alb.category (0s)
    [41] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='12' AND cat.cid=alb.category (0s)
    [42] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='9' AND cat.cid=alb.category (0s)
    [43] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='41' AND cat.cid=alb.category (0s)
    [44] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='29' AND cat.cid=alb.category (0s)
    [45] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='33' AND cat.cid=alb.category (0s)
    [46] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='28' AND cat.cid=alb.category (0s)
    [47] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='10' AND cat.cid=alb.category (0s)
    [48] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='53' AND cat.cid=alb.category (0s)
    [49] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='37' AND cat.cid=alb.category (0s)
    [50] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='51' AND cat.cid=alb.category (0s)
    [51] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='13' AND cat.cid=alb.category (0s)
    [52] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='23' AND cat.cid=alb.category (0s)
    [53] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='21' AND cat.cid=alb.category (0s)
    [54] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='54' AND cat.cid=alb.category (0s)
    [55] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='27' AND cat.cid=alb.category (0s)
    [56] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='39' AND cat.cid=alb.category (0s)
    [57] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='52' AND cat.cid=alb.category (0s)
    [58] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='34' AND cat.cid=alb.category (0s)
    [59] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='30' AND cat.cid=alb.category (0s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
    [unique_ID] => 48e5d1e2
    [control] => phase_2
    [debugtext] => USER:
------------------
Array
(
    [ID] => a47bef970a2e4a3cb114175de6ecfa48
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 143
    [user_name] => Jen_N
    [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] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 0
    [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 `mouserot_itmain`.cpg132_sessions where time<1221407188 and remember=0; (0s)
    [3] => delete from `mouserot_itmain`.cpg132_sessions where time<1220201188; (0s)
    [4] => select user_id from `mouserot_itmain`.cpg132_sessions where session_id = 'b9a1974a9dbcd310c27d6e801db3c805' (0s)
    [5] => select user_id as id, user_password as password from `mouserot_itmain`.cpg132_users where user_id=143 (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 `mouserot_itmain`.cpg132_users AS u INNER JOIN `mouserot_itmain`.cpg132_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='143' (0s)
    [7] => SELECT user_group_list FROM `mouserot_itmain`.cpg132_users AS u WHERE user_id='143' 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 `mouserot_itmain`.cpg132_sessions set time='1221410788' where session_id = 'b9a1974a9dbcd310c27d6e801db3c805' (0s)
    [11] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 143 (0s)
    [12] => DELETE FROM cpg132_banned WHERE expiry < '2008-09-14 17:46:28' (0s)
    [13] => SELECT * FROM cpg132_banned WHERE (ip_addr='84.222.179.150' OR ip_addr='84.222.179.150' OR user_id=143) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg132_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (2)) ORDER BY title (0s)
    [15] => SELECT aid, title FROM cpg132_albums WHERE category='10143' ORDER BY title (0s)
    [16] => SELECT unique_ID FROM cpg132_temp_data (0s)
    [17] => INSERT INTO cpg132_temp_data VALUES ('48e5d1e2', 'YToxOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czoyNDoiYmVudGxleV9ndGNfZHJpdmVfMTAuanBnIjtzOjE0OiJ0ZW1wb3JhcnlfbmFtZSI7czoyMzoibUhUVFBfdGVtcF8wZGM0NzY4OS5qcGciO319', '1221410788') (0s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
    [URI_array] => Array
        (
            [0] =>
            [1] =>
            [2] =>
        )

    [control] => phase_1
)

==========================
Page generated in 0.056 seconds - 18 queries in 0 seconds - Album set : ; Meta set: ;
)

==========================
Page generated in 0.304 seconds - 60 queries in 0 seconds - Album set : ; Meta set: ;
)

==========================
Page generated in 0.526 seconds - 20 queries in 0 seconds - Album set : ; Meta set: ;

and in the lower panel:
Code: [Select]
/themes/itv4/theme.php
Notice line 457: Undefined variable: rss_parser
Notice line 457: Trying to get property of non-object
Notice line 458: Undefined variable: rss_parser
Notice line 458: Trying to get property of non-object
Notice line 517: Undefined variable: rss_parser
Notice line 517: Trying to get property of non-object
Notice line 520: Undefined variable: rss_parser
Notice line 520: Trying to get property of non-object
/include/init.inc.php
Notice line 317: Undefined index: lang
/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
Warning line 272: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions
Warning line 273: imagecopyresampled(): supplied argument is not a valid Image resource
Warning line 277: imagejpeg(): supplied argument is not a valid Image resource
Warning line 279: imagedestroy(): supplied argument is not a valid Image resource
Notice line 285: getimagesize() [function.getimagesize]: Read error!

any idea? is it a known issue?
my docs page says I'm running 1.4.18
the first time I installed it was 1.3.32 (or something like that) updated from time to time
should I make a fresh install? how can I make sure not to lose any images/data?

if you want to have a look just create an account on http://www.imagetemple.com/gallery/

thanks for having a look at my issue :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

Fed

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 50
    • Imagetemple.com
Re: upload problems
« Reply #2 on: September 18, 2008, 09:10:29 pm »

hello

I upgraded to the latest version
I tried uploading with another template to eliminate the errors due to the template but I still can't finalize uploads...any idea?

I don't know what to look for!

here are the errors I get in the page after upload, where the message is
---
1 uploads were successful.

Please click 'Continue' to add the files to albums.
---

Code: [Select]
USER:
------------------
Array
(
    [ID] => 7e9eb9361704044e117578c072d56383
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 3
    [user_name] => Fed
    [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] => 10
    [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 cpg132_filetypes; (0s)
    [1] => select * from cpg132_plugins order by priority asc; (0s)
    [2] => delete from `mouserot_itmain`.cpg132_sessions where time<1221760902 and remember=0; (0s)
    [3] => delete from `mouserot_itmain`.cpg132_sessions where time<1220554902; (0s)
    [4] => select user_id from `mouserot_itmain`.cpg132_sessions where session_id = '051cc4b13c7019d631f62d32cec31987' (0s)
    [5] => select user_id as id, user_password as password from `mouserot_itmain`.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 `mouserot_itmain`.cpg132_users AS u INNER JOIN `mouserot_itmain`.cpg132_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='3' (0s)
    [7] => SELECT user_group_list FROM `mouserot_itmain`.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 (1) (0s)
    [9] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1 (0s)
    [10] => update `mouserot_itmain`.cpg132_sessions set time='1221764502' where session_id = '051cc4b13c7019d631f62d32cec31987' (0s)
    [11] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 3 (0s)
    [12] => DELETE FROM cpg132_banned WHERE expiry < '2008-09-18 20:01:42' (0s)
    [13] => SELECT * FROM cpg132_banned WHERE (ip_addr='84.222.177.161' OR ip_addr='84.222.177.161' OR user_id=3) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg132_albums WHERE category < 10000 ORDER BY title (0s)
    [15] => SELECT aid, title FROM cpg132_albums WHERE category='10003' ORDER BY title (0s)
    [16] => SELECT COUNT(*) FROM cpg132_pictures WHERE approved = 'NO' (0s)
    [17] => SELECT unique_ID FROM cpg132_temp_data (0s)
    [18] => INSERT INTO cpg132_temp_data VALUES ('9db96fcd', 'YToxOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czoyMjoiMTk5NF9hY3VyYV9pbnRlZ3JhLkpQRyI7czoxNDoidGVtcG9yYXJ5X25hbWUiO3M6MjM6Im1IVFRQX3RlbXBfMDM5YmM0N2MuSlBHIjt9fQ==', '1221764502') (0s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
    [URI_array] => Array
        (
            [0] =>
            [1] =>
            [2] =>
            [3] =>
            [4] =>
            [5] =>
            [6] =>
            [7] =>
            [8] =>
            [9] =>
        )

    [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.6 - OK
------------------
mySQL version: 5.0.51a-community
------------------
Coppermine version: 1.4.19(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.51a
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.1.2
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 | dl | dl
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
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 | 64M | 64M
post_max_size | 64M | 64M
==========================
Page generated in 0.041 seconds - 19 queries in 0 seconds - Album set : ; Meta set: ;

and these notices

Code: [Select]
/upload.php

    * Notice line 1976: Undefined variable: file_failure_array
    * Notice line 1977: Undefined variable: URI_failure_array
    * Notice line 1978: Undefined variable: zip_failure_array

this in the page where you specify album placement and keywords
Code: [Select]
USER:
------------------
Array
(
    [ID] => 7e9eb9361704044e117578c072d56383
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 3
    [user_name] => Fed
    [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] => 10
    [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 cpg132_filetypes; (0s)
    [1] => select * from cpg132_plugins order by priority asc; (0s)
    [2] => delete from `mouserot_itmain`.cpg132_sessions where time<1221761100 and remember=0; (0s)
    [3] => delete from `mouserot_itmain`.cpg132_sessions where time<1220555100; (0s)
    [4] => select user_id from `mouserot_itmain`.cpg132_sessions where session_id = '051cc4b13c7019d631f62d32cec31987' (0s)
    [5] => select user_id as id, user_password as password from `mouserot_itmain`.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 `mouserot_itmain`.cpg132_users AS u INNER JOIN `mouserot_itmain`.cpg132_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='3' (0s)
    [7] => SELECT user_group_list FROM `mouserot_itmain`.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 (1) (0s)
    [9] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1 (0s)
    [10] => update `mouserot_itmain`.cpg132_sessions set time='1221764700' where session_id = '051cc4b13c7019d631f62d32cec31987' (0s)
    [11] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 3 (0s)
    [12] => DELETE FROM cpg132_banned WHERE expiry < '2008-09-18 20:05:00' (0s)
    [13] => SELECT * FROM cpg132_banned WHERE (ip_addr='84.222.177.161' OR ip_addr='84.222.177.161' OR user_id=3) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg132_albums WHERE category < 10000 ORDER BY title (0s)
    [15] => SELECT aid, title FROM cpg132_albums WHERE category='10003' ORDER BY title (0s)
    [16] => SELECT encoded_string FROM cpg132_temp_data WHERE unique_ID = '9db96fcd' (0s)
    [17] => UPDATE cpg132_temp_data SET encoded_string = 'YToxOntpOjA7YTozOntzOjExOiJhY3R1YWxfbmFtZSI7czoyMjoiMTk5NF9hY3VyYV9pbnRlZ3JhLkpQRyI7czoxNDoidGVtcG9yYXJ5X25hbWUiO3M6MjM6Im1IVFRQX3RlbXBfMDM5YmM0N2MuSlBHIjtzOjEyOiJwcmV2aWV3X3BhdGgiO3M6MzQ6Ii4vYWxidW1zL2VkaXQvcHJldmlld185YmVlOTYwYi5KUEciO319' WHERE unique_ID = '9db96fcd' (0s)
    [18] => SELECT COUNT(*) FROM cpg132_pictures WHERE approved = 'NO' (0s)
    [19] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='26' AND cat.cid=alb.category (0s)
    [20] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='35' AND cat.cid=alb.category (0s)
    [21] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='49' AND cat.cid=alb.category (0s)
    [22] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='48' AND cat.cid=alb.category (0s)
    [23] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='20' AND cat.cid=alb.category (0s)
    [24] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='11' AND cat.cid=alb.category (0s)
    [25] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='58' AND cat.cid=alb.category (0s)
    [26] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='43' AND cat.cid=alb.category (0s)
    [27] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='14' AND cat.cid=alb.category (0s)
    [28] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='32' AND cat.cid=alb.category (0s)
    [29] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='47' AND cat.cid=alb.category (0s)
    [30] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='15' AND cat.cid=alb.category (0s)
    [31] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='17' AND cat.cid=alb.category (0s)
    [32] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='46' AND cat.cid=alb.category (0s)
    [33] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='22' AND cat.cid=alb.category (0s)
    [34] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='18' AND cat.cid=alb.category (0s)
    [35] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='36' AND cat.cid=alb.category (0s)
    [36] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='50' AND cat.cid=alb.category (0s)
    [37] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='31' AND cat.cid=alb.category (0s)
    [38] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='42' AND cat.cid=alb.category (0s)
    [39] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='45' AND cat.cid=alb.category (0s)
    [40] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='16' AND cat.cid=alb.category (0s)
    [41] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='59' AND cat.cid=alb.category (0s)
    [42] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='40' AND cat.cid=alb.category (0s)
    [43] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='44' AND cat.cid=alb.category (0s)
    [44] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='12' AND cat.cid=alb.category (0s)
    [45] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='9' AND cat.cid=alb.category (0s)
    [46] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='41' AND cat.cid=alb.category (0s)
    [47] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='29' AND cat.cid=alb.category (0s)
    [48] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='55' AND cat.cid=alb.category (0s)
    [49] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='33' AND cat.cid=alb.category (0s)
    [50] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='28' AND cat.cid=alb.category (0s)
    [51] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='10' AND cat.cid=alb.category (0s)
    [52] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='53' AND cat.cid=alb.category (0s)
    [53] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='56' AND cat.cid=alb.category (0s)
    [54] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='37' AND cat.cid=alb.category (0s)
    [55] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='51' AND cat.cid=alb.category (0s)
    [56] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='13' AND cat.cid=alb.category (0s)
    [57] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='23' AND cat.cid=alb.category (0s)
    [58] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='21' AND cat.cid=alb.category (0s)
    [59] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='54' AND cat.cid=alb.category (0s)
    [60] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='27' AND cat.cid=alb.category (0s)
    [61] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='39' AND cat.cid=alb.category (0s)
    [62] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='52' AND cat.cid=alb.category (0s)
    [63] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='34' AND cat.cid=alb.category (0s)
    [64] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='30' AND cat.cid=alb.category (0s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
    [unique_ID] => 9db96fcd
    [control] => phase_2
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.6 - OK
------------------
mySQL version: 5.0.51a-community
------------------
Coppermine version: 1.4.19(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.51a
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.1.2
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 | dl | dl
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
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 | 64M | 64M
post_max_size | 64M | 64M
==========================
Page generated in 0.094 seconds - 65 queries in 0 seconds - Album set : ; Meta set: ;

with this notice
Code: [Select]
/include/functions.inc.php

    * Notice line 2694: Undefined variable: i


** CONTINUES **
Logged

Fed

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 50
    • Imagetemple.com
Re: upload problems
« Reply #3 on: September 18, 2008, 09:11:37 pm »


and finally this in the page where I get

Code: [Select]
The previous file could not be placed.

You have successfully placed all the files.

Code: [Select]
USER:
------------------
Array
(
    [ID] => 7e9eb9361704044e117578c072d56383
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 3
    [user_name] => Fed
    [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] => 10
    [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 cpg132_filetypes; (0s)
    [1] => select * from cpg132_plugins order by priority asc; (0s)
    [2] => delete from `mouserot_itmain`.cpg132_sessions where time<1221761269 and remember=0; (0s)
    [3] => delete from `mouserot_itmain`.cpg132_sessions where time<1220555269; (0s)
    [4] => select user_id from `mouserot_itmain`.cpg132_sessions where session_id = '051cc4b13c7019d631f62d32cec31987' (0s)
    [5] => select user_id as id, user_password as password from `mouserot_itmain`.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 `mouserot_itmain`.cpg132_users AS u INNER JOIN `mouserot_itmain`.cpg132_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='3' (0s)
    [7] => SELECT user_group_list FROM `mouserot_itmain`.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 (1) (0s)
    [9] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1 (0s)
    [10] => update `mouserot_itmain`.cpg132_sessions set time='1221764869' where session_id = '051cc4b13c7019d631f62d32cec31987' (0s)
    [11] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 3 (0s)
    [12] => DELETE FROM cpg132_banned WHERE expiry < '2008-09-18 20:07:49' (0s)
    [13] => SELECT * FROM cpg132_banned WHERE (ip_addr='84.222.177.161' OR ip_addr='84.222.177.161' OR user_id=3) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg132_albums WHERE category < 10000 ORDER BY title (0s)
    [15] => SELECT aid, title FROM cpg132_albums WHERE category='10003' ORDER BY title (0s)
    [16] => SELECT encoded_string FROM cpg132_temp_data WHERE unique_ID = '9db96fcd' (0s)
    [17] => UPDATE cpg132_temp_data SET encoded_string = 'YTowOnt9' WHERE unique_ID = '9db96fcd' (0s)
    [18] => SELECT category FROM cpg132_albums WHERE aid='26' (0s)
    [19] => DELETE FROM cpg132_temp_data WHERE unique_ID = '9db96fcd' (0s)
    [20] => SELECT COUNT(*) FROM cpg132_pictures WHERE approved = 'NO' (0s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
    [album] => 26
    [title] =>
    [caption] =>
    [keywords] => asdasdasd
    [control] => phase_2
    [unique_ID] => 9db96fcd
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.6 - OK
------------------
mySQL version: 5.0.51a-community
------------------
Coppermine version: 1.4.19(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.51a
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.1.2
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 | dl | dl
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
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 | 64M | 64M
post_max_size | 64M | 64M
==========================
Page generated in 0.087 seconds - 21 queries in 0 seconds - Album set : ; Meta set: ;


I really have no clue what it might be due to, having upgrade to the latest version I should have it completely functional...maybe some wrong setting?
can you guys spot it from what I posted?
Logged

Fed

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 50
    • Imagetemple.com
Re: upload problems
« Reply #4 on: September 18, 2008, 09:13:10 pm »

I erroneously marked it as solved...I was actually looking for a edit button

thanks to who will spend a minute on it :)
any idea is welcome
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: upload problems
« Reply #5 on: September 19, 2008, 07:21:54 am »

Do exactly as suggested in the sections of the docs I have refered to. In fact you did quite the opposite of what you're suppossed to do. From the relevant section of the docs:
Quote
Asking for support on upload issues

When asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested. If you want fast results, you should disable admin approval for the group the test user is in, so supporters can tell instantly what is wrong without needing to double-check.

When people have issues with uploading and decide to post their question on the Coppermine support board, they usually are told to read this upload troubleshooting section. Many of them fail to do so properly, which results in frustration both for users as well as supporters. To make this absolutely clear: the above mentioned steps are absolutely mandatory, no matter what skill level you have, no matter what upload method you have troubles with. Failing to do exactly as suggested will result in your request for help being ignored. Yes, this applies to you. We mean it!
You haven't posted a test user account. You haven't tried with single file uploads (the number of file upload fields set to 1 and the number of URI upload fields set to 0). You have posted debug_output although instructions say that you mustn't. What do you expect? RTFM and do as suggested there!
Logged

Fed

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 50
    • Imagetemple.com
Re: upload problems
« Reply #6 on: September 19, 2008, 08:55:54 pm »

my apologies guys  :-\
the account is Jen_N with pw 'test'
I have set the number of uploadable files to 1 and the uri uploads to 0

I thought that posting everything would have made it quicker and easier...my fault...I didn't read that initial part but just the possible error messages..
Logged

Nibbler

  • Guest
Re: upload problems
« Reply #7 on: September 19, 2008, 09:13:32 pm »

Check the size set for intermediate images in config. Make sure it's not set to 1.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: upload problems
« Reply #8 on: September 19, 2008, 09:17:04 pm »

Now you have done as Joachim asked you get the following error -

Unable to create thumbnail or reduced size image

By enabling single file uploads the error messages are shown in full. Unfortunately you have now switched off debug mode or not enabled it for all to see so it makes it hard to deduce what is going on.

There are a number of threads regarding this problem and possible outcomes.

http://forum.coppermine-gallery.net/index.php?action=search2

Simple things to check in first are permissions of the albums folder and sub-folders.

*edit - Sorry, posting at the same time as nibbler.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Fed

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 50
    • Imagetemple.com
Re: upload problems
« Reply #9 on: September 20, 2008, 12:57:55 am »

hey guys
I have no idea why but intermediate size was set to 1...

thank you VERY MUCH for the help :)
it seems to be running fine now
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: upload problems
« Reply #10 on: September 20, 2008, 09:27:39 am »

Means that you have been hacked. Sanitize your site thoroughly.
Logged

Fed

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 50
    • Imagetemple.com
Re: upload problems
« Reply #11 on: September 20, 2008, 10:30:26 am »

yes I have been hacked about 5-6 months ago and I cleaned everything, I didn't notice this setting change anyway
Logged
Pages: [1]   Go Up
 

Page created in 0.038 seconds with 19 queries.