Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: no upload after upgrade  (Read 6533 times)

0 Members and 1 Guest are viewing this topic.

iwaters

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
no upload after upgrade
« on: May 10, 2008, 05:03:19 pm »

i was having troubles so i decided to upgrade ( new uploads would only show a tiny box for image )

after upgrading uploads will not work. on my version check I fixed everything but it shows that my anycontent.php and config.php are old.... the upgrade says not to replace them.

so it goes to upload, says successfull, then you select the album and continue and then just a blank screen.

 I get a lot of these on the upload successfull page:
\include\functions.inc.php
Warning line 2938: cannot yet handle MBCS in html_entity_decode()!

I get this on the select album page:
\include\functions.inc.php
Notice line 2688: Undefined variable: i

continue... then timeout (I believe) blank screen

refresh and I see:

Upload Failure - './albums/edit/'

File: G:\iwatersGallery\upload.php - Line: 2261

\upload.php
Notice line 2149: Undefined offset: -1
Notice line 2150: Undefined offset: -1
Notice line 2153: Undefined offset: -1
Notice line 2156: Undefined offset: -1
Notice line 2157: Undefined offset: -1
Notice line 2158: Undefined offset: -1
Notice line 2181: Undefined index: user1
Notice line 2182: Undefined index: user2
Notice line 2183: Undefined index: user3
Notice line 2184: Undefined index: user4
Notice line 2249: Undefined offset: 1
Notice line 2249: Undefined offset: 2
Notice line 2251: Undefined offset: 1
Notice line 2251: Undefined offset: 2


Code: [Select]
USER:
------------------
Array
(
    [ID] => 9c0b4f9fc9c993b31402559e59df6479
    [am] => 1
    [liv] => Array
        (
            [0] => 14466
            [1] => 14445
            [2] => 14469
            [3] => 14471
            [4] => 14541
        )

    [sort] => ta
    [lap] => 10
    [search] => Array
        (
            [params] => Array
                (
                    [filename] => 1
                    [keywords] => 1
                    [caption] => 1
                    [title] => 1
                )

        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 3
    [user_name] => TomsPhotos
    [groups] => Array
        (
            [0] => 2
        )

    [disk_max] => 10240000
    [disk_min] => 10240000
    [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] => 0
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 0
    [group_name] => Registered
    [upload_form_config] => 3
    [group_quota] => 10240000
    [can_see_all_albums] => 0
    [group_id] => 2
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg132_filetypes; (0.001s)
    [1] => select * from cpg132_plugins order by priority asc; (0s)
    [2] => delete from `Gallery`.cpg132_sessions where time<1210428108 and remember=0; (0.002s)
    [3] => delete from `Gallery`.cpg132_sessions where time<1209222108; (0.001s)
    [4] => select user_id from `Gallery`.cpg132_sessions where session_id = '33eb30403a8c4690bde302193bd1807d' (0.001s)
    [5] => select user_id as id, user_password as password from `Gallery`.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 `Gallery`.cpg132_users AS u INNER JOIN `Gallery`.cpg132_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='3' (0s)
    [7] => SELECT user_group_list FROM `Gallery`.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 `Gallery`.cpg132_sessions set time='1210431708' where session_id = '33eb30403a8c4690bde302193bd1807d' (0.002s)
    [11] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 3 (0s)
    [12] => DELETE FROM cpg132_banned WHERE expiry < '2008-05-10 15:01:48' (0.001s)
    [13] => SELECT * FROM cpg132_banned WHERE (ip_addr='68.166.82.223' OR ip_addr='68.166.82.223' 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 (0.001s)
    [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 = '076c3247' (0.001s)
    [18] => UPDATE cpg132_temp_data SET encoded_string = 'YTowOnt9' WHERE unique_ID = '076c3247' (0.001s)
    [19] => SELECT category FROM cpg132_albums WHERE aid='2' and (uploads = 'YES' OR category = '10003') (0s)
)

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

==========================
POST :
------------------
Array
(
    [album] => 2
    [title] => test
    [caption] => test
    [keywords] =>
    [control] => phase_2
    [unique_ID] => 076c3247
    [debugtext] => USER:
------------------
Array
(
    [ID] => 9c0b4f9fc9c993b31402559e59df6479
    [am] => 1
    [liv] => Array
        (
            [0] => 14466
            [1] => 14445
            [2] => 14469
            [3] => 14471
            [4] => 14541
        )

    [sort] => ta
    [lap] => 10
    [search] => Array
        (
            [params] => Array
                (
                    [filename] => 1
                    [keywords] => 1
                    [caption] => 1
                    [title] => 1
                )

        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 3
    [user_name] => TomsPhotos
    [groups] => Array
        (
            [0] => 2
        )

    [disk_max] => 10240000
    [disk_min] => 10240000
    [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] => 0
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 0
    [group_name] => Registered
    [upload_form_config] => 3
    [group_quota] => 10240000
    [can_see_all_albums] => 0
    [group_id] => 2
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg132_filetypes; (0.001s)
    [1] => select * from cpg132_plugins order by priority asc; (0s)
    [2] => delete from `Gallery`.cpg132_sessions where time<1210428005 and remember=0; (0.001s)
    [3] => delete from `Gallery`.cpg132_sessions where time<1209222005; (0.001s)
    [4] => select user_id from `Gallery`.cpg132_sessions where session_id = '33eb30403a8c4690bde302193bd1807d' (0.001s)
    [5] => select user_id as id, user_password as password from `Gallery`.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 `Gallery`.cpg132_users AS u INNER JOIN `Gallery`.cpg132_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='3' (0s)
    [7] => SELECT user_group_list FROM `Gallery`.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 `Gallery`.cpg132_sessions set time='1210431605' where session_id = '33eb30403a8c4690bde302193bd1807d' (0.001s)
    [11] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 3 (0s)
    [12] => DELETE FROM cpg132_banned WHERE expiry < '2008-05-10 15:00:05' (0.001s)
    [13] => SELECT * FROM cpg132_banned WHERE (ip_addr='68.166.82.223' OR ip_addr='68.166.82.223' 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 = '076c3247' (0.001s)
    [18] => UPDATE cpg132_temp_data SET encoded_string = 'YToxOntpOjA7YTozOntzOjExOiJhY3R1YWxfbmFtZSI7czoxMDoicGFydHM1LmpwZyI7czoxNDoidGVtcG9yYXJ5X25hbWUiO3M6MjM6Im1IVFRQX3RlbXBfYmE3YzZkMTcuanBnIjtzOjEyOiJwcmV2aWV3X3BhdGgiO3M6MzQ6Ii4vYWxidW1zL2VkaXQvcHJldmlld19lYTkxOTM4OC5qcGciO319' WHERE unique_ID = '076c3247' (0.001s)
)

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

==========================
POST :
------------------
Array
(
    [unique_ID] => 076c3247
    [control] => phase_2
    [debugtext] => USER:
------------------
Array
(
    [ID] => 9c0b4f9fc9c993b31402559e59df6479
    [am] => 1
    [liv] => Array
        (
            [0] => 14466
            [1] => 14445
            [2] => 14469
            [3] => 14471
            [4] => 14541
        )

    [sort] => ta
    [lap] => 10
    [search] => Array
        (
            [params] => Array
                (
                    [filename] => 1
                    [keywords] => 1
                    [caption] => 1
                    [title] => 1
                )

        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 3
    [user_name] => TomsPhotos
    [groups] => Array
        (
            [0] => 2
        )

    [disk_max] => 10240000
    [disk_min] => 10240000
    [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] => 0
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 0
    [group_name] => Registered
    [upload_form_config] => 3
    [group_quota] => 10240000
    [can_see_all_albums] => 0
    [group_id] => 2
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg132_filetypes; (0.001s)
    [1] => select * from cpg132_plugins order by priority asc; (0s)
    [2] => delete from `Gallery`.cpg132_sessions where time<1210427949 and remember=0; (0.001s)
    [3] => delete from `Gallery`.cpg132_sessions where time<1209221949; (0.001s)
    [4] => select user_id from `Gallery`.cpg132_sessions where session_id = '33eb30403a8c4690bde302193bd1807d' (0.001s)
    [5] => select user_id as id, user_password as password from `Gallery`.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 `Gallery`.cpg132_users AS u INNER JOIN `Gallery`.cpg132_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='3' (0s)
    [7] => SELECT user_group_list FROM `Gallery`.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 `Gallery`.cpg132_sessions set time='1210431549' where session_id = '33eb30403a8c4690bde302193bd1807d' (0.001s)
    [11] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 3 (0s)
    [12] => DELETE FROM cpg132_banned WHERE expiry < '2008-05-10 14:59:09' (0.001s)
    [13] => SELECT * FROM cpg132_banned WHERE (ip_addr='68.166.82.223' OR ip_addr='68.166.82.223' 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 ('076c3247', 'YToxOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czoxMDoicGFydHM1LmpwZyI7czoxNDoidGVtcG9yYXJ5X25hbWUiO3M6MjM6Im1IVFRQX3RlbXBfYmE3YzZkMTcuanBnIjt9fQ==', '1210431549') (0.001s)
)

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

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

    [control] => phase_1
)

==========================
Page generated in 0.235 seconds - 19 queries in 0.008 seconds - Album set : AND aid NOT IN (922) ; Meta set: ;
)

==========================
Page generated in 6.015 seconds - 19 queries in 0.008 seconds - Album set : AND aid NOT IN (922) ; Meta set: ;
)

==========================
Page generated in 0.251 seconds - 20 queries in 0.011 seconds - Album set : AND aid NOT IN (922) ; Meta set: ;

Any help appreciated!!!
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: no upload after upgrade
« Reply #1 on: May 10, 2008, 06:09:24 pm »

Please read the stickyed post in this section and follow the instructions.
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

iwaters

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: no upload after upgrade
« Reply #2 on: May 10, 2008, 07:47:21 pm »

i checked all my file permissions and everything looks good..... did you have anything more specific that I should look at?

thanks
tom
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: no upload after upgrade
« Reply #3 on: May 10, 2008, 08:29:43 pm »

Yes: read the docs, sections "upload troubleshooting" and "asking for support on upload issues". Do exactly as suggested there. There is a reason why we name doc section the way we do. The sticky thread jsg has refered to says that you need to read that section of the docs as well. In fact you don't have to just read it, but actually you even need to do as suggested there.
Leave notices_display turned off unless you're a dev and know what notices are meant to be used for. Don't post debug_output unless requested (as suggested in the docs).
Logged

iwaters

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: no upload after upgrade
« Reply #4 on: May 10, 2008, 11:09:36 pm »

thanks for everybodys help so far

so far ive checked my permissions
enabled debug, turned notices off
set upload configs for single files
checked my php.ini

I just can't figure it out.
 any more ideas?

http://gallery.intlwaters.com

u: tomstest
p: testing

thanks!
tom
Logged

Nibbler

  • Guest
Re: no upload after upgrade
« Reply #5 on: May 11, 2008, 12:40:31 am »

Logged

iwaters

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: no upload after upgrade
« Reply #6 on: May 12, 2008, 11:45:22 pm »

ok Joachim or Nibbler... I can't figure out how to make this thing work right..... would either of you take $20 paypal to fix it for me?  email me at tom2@cyberonic.com of that's ok.

thanks
tom
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: no upload after upgrade
« Reply #7 on: May 13, 2008, 08:11:36 am »

Neither Nibbler nor I do paid support. It's not a bright idea to post your email address publicly. I suggest doing as suggested in the Yikes-thread. Moving your thread from the upload board to paid help in case that some freelancer is ready to accept the job.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.