Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#136 2006-12-06 14:00:57

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: Ebl_batchupload

TheEric
There is some odd behaviour,
from my site everything is well, but my colleague get’s Error 403 when trying to upload even a single image. Can’t imagine any reason.

Maybe the report when finished is blocked by a firewall? But I have one active too.

Offline

#137 2006-12-06 17:47:45

TheEric
Plugin Author
From: Colorado & Montana.
Registered: 2004-09-17
Posts: 606
Website

Re: Ebl_batchupload

saccade. Is he running the most recent version ? 1.04?

If so, are there any error messages when first loading up the plugin? If the upload folder isn’t writable, it should post an error.

Offline

#138 2006-12-06 17:48:18

TheEric
Plugin Author
From: Colorado & Montana.
Registered: 2004-09-17
Posts: 606
Website

Re: Ebl_batchupload

btw – I won’t be able to make any updates on this plugin until sometime late next week as I’m currently studying for finals and all that.

Offline

#139 2006-12-06 17:57:39

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: Ebl_batchupload

Hi Eric,
It is the very same installation! So there is not a single difference in versions and folders, because it is one and the same!
But there is one difference: I of course use it as an admin, my colleague is an author.
I will try myself if this could make the difference.

Have a good time studying and good luck for the finals :-)

One of the main sites for which I use your plugin is the main half of my job: Pastoral care in a University of applied sciences. So I deeply understand what studying and preparing for finals means to you. Take your time for that.
I will post (for I need to get it out of my brain) but you don’t need to answer quickly.

Offline

#140 2006-12-06 18:05:42

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: Ebl_batchupload

No, different user roles obviously weren’t the reason. I logged in with my colleagues data, and there everything was alright and fine. No error.
The other remaining difference now is only, that she sits behind a completely other system. Logging in from within a bureaus network. Maybe some restrictions from there could come in?
It’s mysterious that she can’t do something, that I can do with her login.

Offline

#141 2006-12-06 22:32:34

aba
Plugin Author
Registered: 2004-04-14
Posts: 119

Re: Ebl_batchupload

interesting…

After working for the last weeks (1.01 and now 1.04) suddenly ebl_batchupload stopped working in firefox resulting in a 403 error including the dreaded “undefined” in the upper left corner – unfortunately I’m not really sure what causes it (except maybe for a flash player update) but in opera it still works like a charm. The 403/undefined error is present in IE (7.0) as well (also I noticed that the “Batch Upload” links is not centered?) – I never tested it before with IE because it’s the browser of last resort here and usually not touched.

Eric, if you need any information, please let me know – but it seems to be a client problem not a server problem.

Offline

#142 2006-12-06 23:40:20

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 521

Re: Ebl_batchupload

aba,
yes, maybe it is a client problem. I don’t really know yet, but I think my colleague works with IE, I myself also exclusively with Firefox.
But on the other hand I cannot really imagine what a 403 error can have to do with the client?
Maybe you have an idea?

EDIT: Wow, I just tried the IE.
  • “Batch Upload”-Link is not centered and poorly designed (simple small text link.
  • The Flash-Part has an “undefined” message on the left headline. Where in Firefox a Title the version number used to be, there is nothing.
  • “Select files” doesn’t work at all.
And I tried the t-online-browser which I think is a derivate of IE, but with different results:
  • Also “Batch Upload” ist aligned left in small textsize.
  • Also it says “undefined” in the upper left corner, but this time the version number Revision A.009 appears on the right side.
  • Select Files” ist working.
  • BUT “Upload” generates “HTTP Error, 403 occurred”.

So the problems seems to be clearly depending on the used browser.

Offline

#143 2006-12-07 01:19:52

aba
Plugin Author
Registered: 2004-04-14
Posts: 119

Re: Ebl_batchupload

contradicts my understanding of flash as platform independent plugin a bit… ;)

Too bad, that I don’t really know anything about the guts of flash to be of any help with this – but I’m still trying to find the reason why it stopped working with firefox on my system.

Offline

#144 2006-12-07 05:09:42

TheEric
Plugin Author
From: Colorado & Montana.
Registered: 2004-09-17
Posts: 606
Website

Re: Ebl_batchupload

I suspect it’s the parameters that load the flash file that are at issue. In fact, I’m almost positive. Flash is largely, platform independent.

Offline

#145 2006-12-07 18:12:52

TheEric
Plugin Author
From: Colorado & Montana.
Registered: 2004-09-17
Posts: 606
Website

Re: Ebl_batchupload

For those that are getting the 403 error message, as well as an undefined in the top left corner, try this:

in function ebl_showUploadSWF, change the second echo statement, starting at echo '<div id="eblupload" >'. and ending at '</div>'; to the following:

echo ‘<div id=“eblupload” >’.

‘<object type=“application/x-shockwave-flash” data=“upload.swf?c_userid=’.$c_userid.’&cookie_hash=’.$cookie_hash.’&hUrl=’.hu.’” width=“550” height=“400”>’.

‘<param name=“movie” value=”’.hu.‘textpattern/upload.swf”>’.

‘<param name=“quality” value=“high”>’.

‘</object>’.

‘</div>’;

Offline

#146 2006-12-07 23:11:31

aba
Plugin Author
Registered: 2004-04-14
Posts: 119

Re: Ebl_batchupload

for the people eager like me to try it out:

  1. it seems to work (at least on my before disfunct Firefox – IE still has issues but it might be a problem with my installation)
  2. it only works after changing all quotes from the typographic ones that textile translated to the quotes php expects to see, so here’s a copy paste code segment to use that works without handywork:
        echo '<div id="eblupload">'.
         '<object type="application/x-shockwave-flash" data="upload.swf?c_userid='.$c_userid.'&cookie_hash='.$cookie_hash.'&hUrl='.hu.'" width="551" height="401">'.
         '<param name="movie" value="'.hu.'textpattern/upload.swf">'.
         '<param name="quality" value="high">'.
         '</object>'.
         '</div>';

Eric: I changed width and height, otherwise the thin border at the right and bottom of the flash will not be displayed (might be a mishap on my system – I changed it anyway…)

Last edited by aba (2006-12-07 23:13:39)

Offline

#147 2006-12-08 03:51:12

TheEric
Plugin Author
From: Colorado & Montana.
Registered: 2004-09-17
Posts: 606
Website

Re: Ebl_batchupload

So is it working again on your installation?

Offline

#148 2006-12-08 11:19:04

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

Re: Ebl_batchupload

Its not working for me.
Just tried uploading about 6 images, and it did this:

  • made entries in the database for each one
  • but for two of them entered them twice
  • failed to generate the thumbnails

Using 4.03

Offline

#149 2006-12-08 11:51:08

aba
Plugin Author
Registered: 2004-04-14
Posts: 119

Re: Ebl_batchupload

TheEric wrote:

So is it working again on your installation?

Firefox: yes
IE 7.0: no

Offline

#150 2006-12-08 15:37:07

TheEric
Plugin Author
From: Colorado & Montana.
Registered: 2004-09-17
Posts: 606
Website

Re: Ebl_batchupload

jameslomax wrote:

Its not working for me.
Just tried uploading about 6 images, and it did this:

What is it showing in the debug window? If it’s making the entries in the database, then the files are getting uploaded into the temporary folder, but for some reason they’re not moving / or resizing.

Offline

Board footer

Powered by FluxBB