[Closed]: bukl upload prob [Closed]: bukl upload prob
 

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]

Main Menu

[Closed]: bukl upload prob

Started by iain sherriff, June 17, 2009, 03:56:46 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

iain sherriff

this only seems to happen with one folder.
I can upload images to the album one at a time and all is fine.
if i try to bulk upload to that folder [others work fine] i just get returned to the "select directory" page and nothing happens. I can upload images from the same folder one at a time to the same album.

this is the debug info

USER:
------------------
Array
(
   [ID] => dde4f1f9220b43a378cd1c7f76d462a8
   [am] => 1
   [lang] => english_gb
   [liv] => Array
       (
       )

)

==========================
USER DATA:
------------------
Array
(
   [user_id] => 1
   [user_name] => fatdaddy
   [groups] => Array
       (
           [0] => 1
       )

   [disk_max] => 0
   [disk_min] => 0
   [can_rate_pictures] => 1
   [can_send_ecards] => 1
   [ufc_max] => 3
   [ufc_min] => 3
   [custom_user_upload] => 0
   [num_file_upload] => 5
   [num_URI_upload] => 3
   [can_post_comments] => 1
   [can_upload_pictures] => 1
   [can_create_albums] => 1
   [has_admin_access] => 1
   [pub_upl_need_approval] => 0
   [priv_upl_need_approval] => 0
   [group_name] => Administrators
   [upload_form_config] => 3
   [group_quota] => 0
   [can_see_all_albums] => 1
   [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
   [1] => delete from `uklows_cpg`.cpg14x_sessions where time<1245243120 and remember=0; (0s)
   [2] => delete from `uklows_cpg`.cpg14x_sessions where time<1244037120; (0s)
   [3] => select user_id from `uklows_cpg`.cpg14x_sessions where session_id = 'd06cb6aae9c5f397111a8d73c7f391cb' (0s)
   [4] => select user_id as id, user_password as password from `uklows_cpg`.cpg14x_users where user_id=1 (0s)
   [5] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `uklows_cpg`.cpg14x_users AS u INNER JOIN `uklows_cpg`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
   [6] => SELECT user_group_list FROM `uklows_cpg`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
   [7] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (1) (0s)
   [8] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
   [9] => update `uklows_cpg`.cpg14x_sessions set time='1245246720' where session_id = 'd06cb6aae9c5f397111a8d73c7f391cb' (0s)
   [10] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
   [11] => DELETE FROM cpg14x_banned WHERE expiry < '2009-06-17 14:52:00' (0s)
   [12] => SELECT * FROM cpg14x_banned WHERE (ip_addr='88.105.68.10' OR ip_addr='88.105.68.10' OR user_id=1) AND brute_force=0 (0s)
   [13] => SELECT aid, title FROM cpg14x_albums WHERE 1 (0s)
   [14] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
)

==========================
GET :
------------------
Array
(
   [insert] => 1
)

==========================
POST :
------------------
Array
(
   [d0000] => 8
   [pics] => Array
       (
           [0] => i0000
           [1] => i0001
           [2] => i0002
           [3] => i0003
           [4] => i0004
           [5] => i0005
           [6] => i0006
           [7] => i0007
           [8] => i0008
           [9] => i0009
           [10] => i0010
           [11] => i0011
           [12] => i0012
           [13] => i0013
           [14] => i0014
           [15] => i0015
           [16] => i0016
           [17] => i0017
           [18] => i0018
           [19] => i0019
           [20] => i0020
           [21] => i0021
           [22] => i0022
           [23] => i0023
           [24] => i0024
           [25] => i0025
           [26] => i0026
           [27] => i0027
           [28] => i0028
           [29] => i0029
           [30] => i0030
           [31] => i0031
           [32] => i0032
           [33] => i0033
           [34] => i0034
           [35] => i0035
           [36] => i0036
           [37] => i0037
           [38] => i0038
           [39] => i0039
           [40] => i0040
           [41] => i0041
           [42] => i0042
           [43] => i0043
           [44] => i0044
           [45] => i0045
           [46] => i0046
           [47] => i0047
           [48] => i0048
           [49] => i0049
           [50] => i0050
           [51] => i0051
           [52] => i0052
           [53] => i0053
           [54] => i0054
           [55] => i0055
           [56] => i0056
           [57] => i0057
           [58] => i0058
           [59] => i0059
           [60] => i0060
           [61] => i0061
           [62] => i0062
           [63] => i0063
           [64] => i0064
           [65] => i0065
           [66] => i0066
       )

   [album_lb_id_i0000] => d0000
   [picfile_i0000] => QW50Mi9hbnQwMS5qcGc=
   [album_lb_id_i0001] => d0000
   [picfile_i0001] => QW50Mi9hbnQwMTAuanBn
   [album_lb_id_i0002] => d0000
   [picfile_i0002] => QW50Mi9hbnQwMTEuanBn
   [album_lb_id_i0003] => d0000
   [picfile_i0003] => QW50Mi9hbnQwMTIuanBn
   [album_lb_id_i0004] => d0000
   [picfile_i0004] => QW50Mi9hbnQwMTMuanBn
   [album_lb_id_i0005] => d0000
   [picfile_i0005] => QW50Mi9hbnQwMTQuanBn
   [album_lb_id_i0006] => d0000
   [picfile_i0006] => QW50Mi9hbnQwMTUuanBn
   [album_lb_id_i0007] => d0000
   [picfile_i0007] => QW50Mi9hbnQwMTYuanBn
   [album_lb_id_i0008] => d0000
   [picfile_i0008] => QW50Mi9hbnQwMTcuanBn
   [album_lb_id_i0009] => d0000
   [picfile_i0009] => QW50Mi9hbnQwMTguanBn
   [album_lb_id_i0010] => d0000
   [picfile_i0010] => QW50Mi9hbnQwMTkuanBn
   [album_lb_id_i0011] => d0000
   [picfile_i0011] => QW50Mi9hbnQwMi5qcGc=
   [album_lb_id_i0012] => d0000
   [picfile_i0012] => QW50Mi9hbnQwMjAuanBn
   [album_lb_id_i0013] => d0000
   [picfile_i0013] => QW50Mi9hbnQwMjEuanBn
   [album_lb_id_i0014] => d0000
   [picfile_i0014] => QW50Mi9hbnQwMjIuanBn
   [album_lb_id_i0015] => d0000
   [picfile_i0015] => QW50Mi9hbnQwMjMuanBn
   [album_lb_id_i0016] => d0000
   [picfile_i0016] => QW50Mi9hbnQwMjQuanBn
   [album_lb_id_i0017] => d0000
   [picfile_i0017] => QW50Mi9hbnQwMjUuanBn
   [album_lb_id_i0018] => d0000
   [picfile_i0018] => QW50Mi9hbnQwMjYuanBn
   [album_lb_id_i0019] => d0000
   [picfile_i0019] => QW50Mi9hbnQwMjcuanBn
   [album_lb_id_i0020] => d0000
   [picfile_i0020] => QW50Mi9hbnQwMjguanBn
   [album_lb_id_i0021] => d0000
   [picfile_i0021] => QW50Mi9hbnQwMjkuanBn
   [album_lb_id_i0022] => d0000
   [picfile_i0022] => QW50Mi9hbnQwMy5qcGc=
   [album_lb_id_i0023] => d0000
   [picfile_i0023] => QW50Mi9hbnQwMzAuanBn
   [album_lb_id_i0024] => d0000
   [picfile_i0024] => QW50Mi9hbnQwMzEuanBn
   [album_lb_id_i0025] => d0000
   [picfile_i0025] => QW50Mi9hbnQwMzIuanBn
   [album_lb_id_i0026] => d0000
   [picfile_i0026] => QW50Mi9hbnQwMzMuanBn
   [album_lb_id_i0027] => d0000
   [picfile_i0027] => QW50Mi9hbnQwMzQuanBn
   [album_lb_id_i0028] => d0000
   [picfile_i0028] => QW50Mi9hbnQwMzUuanBn
   [album_lb_id_i0029] => d0000
   [picfile_i0029] => QW50Mi9hbnQwMzYuanBn
   [album_lb_id_i0030] => d0000
   [picfile_i0030] => QW50Mi9hbnQwMzcuanBn
   [album_lb_id_i0031] => d0000
   [picfile_i0031] => QW50Mi9hbnQwMzguanBn
   [album_lb_id_i0032] => d0000
   [picfile_i0032] => QW50Mi9hbnQwMzkuanBn
   [album_lb_id_i0033] => d0000
   [picfile_i0033] => QW50Mi9hbnQwNC5qcGc=
   [album_lb_id_i0034] => d0000
   [picfile_i0034] => QW50Mi9hbnQwNDAuanBn
   [album_lb_id_i0035] => d0000
   [picfile_i0035] => QW50Mi9hbnQwNDEuanBn
   [album_lb_id_i0036] => d0000
   [picfile_i0036] => QW50Mi9hbnQwNDIuanBn
   [album_lb_id_i0037] => d0000
   [picfile_i0037] => QW50Mi9hbnQwNDMuanBn
   [album_lb_id_i0038] => d0000
   [picfile_i0038] => QW50Mi9hbnQwNDQuanBn
   [album_lb_id_i0039] => d0000
   [picfile_i0039] => QW50Mi9hbnQwNDUuanBn
   [album_lb_id_i0040] => d0000
   [picfile_i0040] => QW50Mi9hbnQwNDYuanBn
   [album_lb_id_i0041] => d0000
   [picfile_i0041] => QW50Mi9hbnQwNDcuanBn
   [album_lb_id_i0042] => d0000
   [picfile_i0042] => QW50Mi9hbnQwNDguanBn
   [album_lb_id_i0043] => d0000
   [picfile_i0043] => QW50Mi9hbnQwNDkuanBn
   [album_lb_id_i0044] => d0000
   [picfile_i0044] => QW50Mi9hbnQwNS5qcGc=
   [album_lb_id_i0045] => d0000
   [picfile_i0045] => QW50Mi9hbnQwNTAuanBn
   [album_lb_id_i0046] => d0000
   [picfile_i0046] => QW50Mi9hbnQwNTEuanBn
   [album_lb_id_i0047] => d0000
   [picfile_i0047] => QW50Mi9hbnQwNTIuanBn
   [album_lb_id_i0048] => d0000
   [picfile_i0048] => QW50Mi9hbnQwNi5qcGc=
   [album_lb_id_i0049] => d0000
   [picfile_i0049] => QW50Mi9hbnQwNy5qcGc=
   [album_lb_id_i0050] => d0000
   [picfile_i0050] => QW50Mi9hbnQwOC5qcGc=
   [album_lb_id_i0051] => d0000
   [picfile_i0051] => QW50Mi9hbnQwOS5qcGc=
   [album_lb_id_i0052] => d0000
   [picfile_i0052] => QW50Mi9hbnQxLmpwZw==
   [album_lb_id_i0053] => d0000
   [picfile_i0053] => QW50Mi9hbnQyLmpwZw==
   [album_lb_id_i0054] => d0000
   [picfile_i0054] => QW50Mi9hbnQzLmpwZw==
   [album_lb_id_i0055] => d0000
   [picfile_i0055] => QW50Mi9hbnQ0LmpwZw==
   [album_lb_id_i0056] => d0000
   [picfile_i0056] => QW50Mi9hbnQ1LmpwZw==
   [album_lb_id_i0057] => d0000
   [picfile_i0057] => QW50Mi9hbnQ2LmpwZw==
   [album_lb_id_i0058] => d0000
   [picfile_i0058] => QW50Mi9hbnQ3LmpwZw==
   [album_lb_id_i0059] => d0000
   [picfile_i0059] => QW50Mi9hbnQ4LmpwZw==
   [album_lb_id_i0060] => d0000
   [picfile_i0060] => QW50Mi9hbnQ5LmpwZw==
   [album_lb_id_i0061] => d0000
   [picfile_i0061] => QW50Mi9hbnQxMC5qcGc=
   [album_lb_id_i0062] => d0000
   [picfile_i0062] => QW50Mi9hbnQxMS5qcGc=
   [album_lb_id_i0063] => d0000
   [picfile_i0063] => QW50Mi9hbnQxMi5qcGc=
   [album_lb_id_i0064] => d0000
   [picfile_i0064] => QW50Mi9hbnQxMy5qcGc=
   [album_lb_id_i0065] => d0000
   [picfile_i0065] => QW50Mi9hbnQxNC5qcGc=
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.5 - OK
------------------
mySQL version: 5.0.77-community
------------------
Coppermine version: 1.4.24(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.77
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.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | system,passthru,exec,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,highlight_file,escapeshellcmd,define_syslog_variables,posix_uname,posix_getpwuid,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,escapeshellarg,posix_uname,ftp_exec,ftp_connect,ftp_login,ftp_get,ftp_put,ftp_nb_fput,ftp_raw,ftp_rawlist,ini_alter,ini_restore,inject_code,syslog,openlog,define_syslog_variables,apache_setenv,mysql_pconnect,eval,phpAds_XmlRpc,phpAds_remoteInfo,phpAds_xmlrpcEncode,phpAds_xmlrpcDecode,xmlrpc_entity_decode,fp,fput | system,passthru,exec,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,highlight_file,escapeshellcmd,define_syslog_variables,posix_uname,posix_getpwuid,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,escapeshellarg,posix_uname,ftp_exec,ftp_connect,ftp_login,ftp_get,ftp_put,ftp_nb_fput,ftp_raw,ftp_rawlist,ini_alter,ini_restore,inject_code,syslog,openlog,define_syslog_variables,apache_setenv,mysql_pconnect,eval,phpAds_XmlRpc,phpAds_remoteInfo,phpAds_xmlrpcEncode,phpAds_xmlrpcDecode,xmlrpc_entity_decode,fp,fput
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php:/usr/bin/convert | .:/usr/lib/php:/usr/local/lib/php:/usr/bin/convert
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 | 20M | 20M
post_max_size | 8M | 8M
==========================
Page generated in 0.108 seconds - 15 queries in 0 seconds - Album set : ; Meta set: ;


and a notice

/searchnew.php

   * Notice line 579: Undefined variable: iframe_startfolder

Powe


any tips what to look for please ?

Nibbler

See existing threads about 'Suhosin'.

iain sherriff

ok.
Suhosin now disabled but still the same result ?

Joachim Müller

Quote from: iain sherriff on June 17, 2009, 03:56:46 PM
any tips what to look for please ?
Start looking at http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_support and do exactly as suggested there. You did quite the opposite.

iain sherriff

sorry
point taken...............................

:)

Joachim Müller

Main point is: post a link to your gallery for a start, as we're not mind readers. In your case (as you have issues with batch-uploads), post a deep link as well to one of the files that you're having issues with. That's much better than apologizing: do as suggested there - post the information that we need to be able to help you.

iain sherriff

http://uklows.com/cpg

I have read [and acted on] the link as posted  :)
Test account created and settings as the instructions request.
I have left suhosin disabled for now [as it is anyway].

I havnt changed anything else BUT I can now upload folders of 20+ files most of the time.
In attempting to get you a file deep link that wont cooperate I ended up uploading them all sucsessfully  ::)

I ended up with 6 in a folder that wouldnt insert even one at a time but when I moved them to another folder they all went in straight away.

I will try putting another image in the folder and see if that goes then post again.



Joachim Müller

Quote from: iain sherriff on June 18, 2009, 06:21:46 PM
Test account created and settings as the instructions request.
Really? Test user accounts are so much more helpfull if you post them, as we're not mind readers. I think I already told you so.

And while you're at it: do as suggested:
Quote from: Joachim Müller on June 18, 2009, 10:06:02 AMpost a deep link as well to one of the files that you're having issues with
Just saying
Quote from: iain sherriff on June 18, 2009, 06:21:46 PMI will try putting another image in the folder and see if that goes then post again.
is not very helpfull if you fail to post the URL of the file you add. ::)

iain sherriff

I didnt give you any of that info as until I had a file that wouldnt load I didnt have a instance to report to you.....................

which is why I finished with
QuoteI will try putting another image in the folder and see if that goes then post again.

I dont want to put you to the bother of trying the test account or folloeing the link until I have a concrete  instance, as I said in trying to bet one everything loaded as it should.

I am doing as you suggested and reading/following the instructions carefully before I ask you to do anything.

Joachim Müller

OK, case closed then - you don't appear to be needing our help. Marking thread as "closed".