Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: jbx_multiple_image_upload
2038/2039 Are generic flash security errors. EBL_Upload gets this from time to time under certain circumstances. The fix can range from a simple htaccess fix, to something a bit more complicated. My recommendation would be to download something called, Ethereal Network Analyzer and capture the traffic. Occasionally you might see an error message pass which may help you to narrow down the problem.
Offline
Re: jbx_multiple_image_upload
- Tried to use in Opera, IE and FF. Only FF opened window to select file. Other browsers showed errors.
- “Use image name as alt” works strange with cyryllic – “домик в деревне.jpg” -> alt after upload -> “домик в деÑевне”
- Fixed this by eliminating utf8_encode() function around line 447:
- was:
$imagename = utf8_encode(substr($filename, 0, strrpos($filename, '.'))); - become:
$imagename = substr($filename, 0, strrpos($filename, '.')); - Is this function vital for plugin work?
Last edited by the_ghost (2009-06-14 09:33:29)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: jbx_multiple_image_upload
Hey!
When I press on ‘Upload’ I’m getting an ‘securityError Error #2049’ at the botom of any image that in the list.
(I’m getting this error with or without a category name.)
Using TXP 4.2 & IE8
screenshot:

also getting an JS error:
Message: ‘null’ is null or not an object
Line: 308
Char: 2
Code: 0
URI: /textpattern/textpattern.js
Last edited by THE BLUE DRAGON (2009-08-29 22:14:06)
Offline
Re: jbx_multiple_image_upload
Hi Jonas,
Thank you for this plugin, I have to admit that I use this plugin for every website now!
I found a small bug when I had it installed on a website where the whole textpattern site was in a subfolder. e.g. http://site.url/2009/ instead of what you normally would see in the root http://site.url/
The javascript embedding function could not be found so the plugin would not display the upload form.
I brutally tried to fix it so it works when the site is installed in a subfolder, but this brute hack does break the plugin if it the site is in the root …
So maybe you could take this when your updating the plugin…
I changed this
function jbx_upload($event, $step)
{
global $jbxMIU, $prefs;
if($step !== "image_edit")
{
$absolute_upload_path = rhu.$prefs['img_dir'].DS."upload".DS;
?>
into this
function jbx_upload($event, $step)
{
global $jbxMIU, $prefs;
if($step !== "image_edit")
{
$absolute_upload_path = rhu.DS.$prefs['img_dir'].DS."upload".DS;
?>
Offline
Re: jbx_multiple_image_upload
Thanks for the plugin! Looks great!!!
My developpement install is in a subfolder, therefore I have the same problem as aeonflux !
There is a missing slash between site path and images folder in the $absolute_upload_path variable.
I’ll try your fix right now aeonflux, thanks!
Pascal
P.S: Works great! Life is suddenly easier!!! Thanks!
Last edited by PascalL (2009-09-08 22:18:09)
Offline
#36 2009-09-29 20:12:18
- brunodario
- Member

- From: Belo Horizonte, Brasil
- Registered: 2007-09-19
- Posts: 75
Re: jbx_multiple_image_upload
Awesome plugin, i wonder if this is your first one what´s coming up next ;-)
I´ve got the same problem described earlier, plugin works ok on live sites but not in my xampp installation. The image tab looks the same old and nasty “one image” upload.
Anyway, you did a superb job!
Offline
Re: jbx_multiple_image_upload
Hey did anyone manage to fix the “securityError #2049” problem please?
this plugin is just what I need to and was looking for!
but the upload process doesn’t work and I’m getting the same error all the time. :(
Offline
#38 2009-10-27 22:21:28
- sinisasasic
- New Member
- Registered: 2009-10-07
- Posts: 1
Re: jbx_multiple_image_upload
Ok, this definitiely doesn’t work on localhost, live only?
Offline
#39 2009-11-16 17:05:55
- bartekk
- Member
- Registered: 2004-11-09
- Posts: 57
Re: jbx_multiple_image_upload
Nice plugin, I’m using this on some sites, but now I want to install it on Textpattern 4.0.8 based site and it doesn’t work.
I get the error message “damaged or empty plugin”.
What’s wrong?
Offline
Re: jbx_multiple_image_upload
bartekk wrote:
Nice plugin, I’m using this on some sites, but now I want to install it on Textpattern 4.0.8 based site and it doesn’t work.
I get the error message “damaged or empty plugin”.
Can be bug (fixed in 4.2.0) when large plugins couldn’t be installed. You can try to use gzipped version – it’s smaller.
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
#41 2009-11-18 16:31:24
- bartekk
- Member
- Registered: 2004-11-09
- Posts: 57
Re: jbx_multiple_image_upload
sorry but how can I gzip the plugin?
Offline
#42 2009-12-13 01:41:44
- ploinkr
- Member

- From: Montreal
- Registered: 2007-12-06
- Posts: 83
Re: jbx_multiple_image_upload
Strange… I installed, activated and configured the plugin, but don’t see anything other than the regular image upload interface…?
Seems files installed properly, too (textpattern/images/upload)
BTW, my TXP install is in a sub-directory; could that be the problem?
Thanks
Last edited by ploinkr (2009-12-13 01:57:00)
Offline
Re: jbx_multiple_image_upload
Offline
#44 2009-12-13 15:43:57
- ploinkr
- Member

- From: Montreal
- Registered: 2007-12-06
- Posts: 83
Re: jbx_multiple_image_upload
Thanks PascalL, working now :-)
Offline
#45 2010-01-01 01:40:40
- nardo
- Member

- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: jbx_multiple_image_upload
bartekk wrote:
sorry but how can I gzip the plugin?
How to get a compressed version? Also getting error “Badly formed or empty plugin code.”
Offline