Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#31 2006-11-10 13:44:00
- Ace of Dubs
- Member

- Registered: 2006-04-17
- Posts: 446
Re: Ebl_batchupload
Okay..just paid off the last bit.
Cant wait to start playing with this new toy!
Offline
Offline
#33 2006-11-10 19:23:21
- Ace of Dubs
- Member

- Registered: 2006-04-17
- Posts: 446
Re: Ebl_batchupload
First bug report:
I have set up the batchupload folder, chmod 777’ed and turned on the plugin
Trying to upload a photo in Safari and FF but get
“HTTP Error, 404 occurred”
weird
Offline
#34 2006-11-10 19:49:08
- saccade
- Plugin Author

- From: Neubeuern, Germany
- Registered: 2004-11-05
- Posts: 521
Re: Ebl_batchupload
I’m running textpattern 4.0.4 in a subdirectory (in the moment a testing zone, but equal to later installations in subdirectories, the subdirectories name is test.mydomain.tld/txp404plugins).
My Browser is Firefox 1.0.5.8
“About” reports Flash Player 8,0,22,0 installed.
After installing the Plugin, “Batch Upload” correctly appears in the images tab.
Clicking on it correctly opens a pop up window
but then nothing happens.
In the Frame of the window the path shows up as “http://test.mydomain.tld” and the subdirectory’s name is missing.
Maybe an installation in a subdirectory is not recognized and so the .swf-file not found/loaded?
What is to do?
(Didn’t verify in a top-directory’s installation yet)
Meanwhile verified: The same in a normal directory/domain.
Last edited by saccade (2006-11-10 20:13:37)
Offline
Re: Ebl_batchupload
First bug report:
I have set up the batchupload folder, chmod 777’ed and turned on the plugin
Trying to upload a photo in Safari and FF but get
“HTTP Error, 404 occurred”
weird
Make sure that the upload.swf is in the textpattern folder all by itself and not in the batchupload folder.
Last edited by soulship (2006-11-10 20:24:15)
Offline
#36 2006-11-10 20:37:43
- saccade
- Plugin Author

- From: Neubeuern, Germany
- Registered: 2004-11-05
- Posts: 521
Re: Ebl_batchupload
@soulship
Ah, thank you – that’s much better.
Now I can see the flash/dialogue and can search for files.
Interestingly the very first attempt with several files brought the message “file not found …” (NOT HTTP 404).
After choosing a single file, which was placed in the field correctly, an attempt with the very same collection like the first time also was placed. Just for information.
Unfortunately after “Upload” I’m getting the “HTTP Error, 404 occurred” too.
No messages in the “Debug”-field.
Meanwhile updated Flash to 9.xx
Last edited by saccade (2006-11-10 21:11:07)
Offline
#37 2006-11-10 20:37:43
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: Ebl_batchupload
I have exactly the same problem as Michael.
Offline
#38 2006-11-10 20:41:40
- saccade
- Plugin Author

- From: Neubeuern, Germany
- Registered: 2004-11-05
- Posts: 521
Re: Ebl_batchupload
@lee
crosspost :-) (referred problem in post #34)
This problem was solved by soulship.
Do you have also the same problem as in post #36?
Offline
#39 2006-11-10 21:17:34
- saccade
- Plugin Author

- From: Neubeuern, Germany
- Registered: 2004-11-05
- Posts: 521
Re: Ebl_batchupload
After fiddling around a while with big files I can specify the following:
The first image will be uploaded completely, message “uploading files …” and the progress bar is working (I tested with a 1,7 MB image) and THEN the HTTP 404 Error message appears. The rest of files seem to be ignored (of course due to the message).
Offline
Re: Ebl_batchupload
I have it working well here. This sounds goofy, but are you sure that the batchupload folder is CHMOD 777? (Mine works 755 as well) Is this in the top level installation?
Also how about smaller files are they working? Is the system ram on your server/db server limited?
Last edited by soulship (2006-11-10 21:23:47)
Offline
#41 2006-11-10 21:25:58
- saccade
- Plugin Author

- From: Neubeuern, Germany
- Registered: 2004-11-05
- Posts: 521
Re: Ebl_batchupload
I seem to have found and solved the problem:
I first created a directory “batchupload” as mentioned in the installing instructions 1.
But the PluginCode specifies the used directory in line 1 (or 2) as “batchUploads”.
Creating a new directory (I think renaming will work as well) “batchUploads” (also of course set to 777) solved the problem!
Didn’t check yet whether a “batchupload” is needed as well.
@soulship
I began with very small files. Settings to 777 were correct all the time. Limits didn’t play a role. But it is quite right to ask. Thank you for helping.
Last edited by saccade (2006-11-10 21:39:47)
Offline
#42 2006-11-10 21:50:34
- saccade
- Plugin Author

- From: Neubeuern, Germany
- Registered: 2004-11-05
- Posts: 521
Re: Ebl_batchupload
Wow, it is working pretty well!
Now I also verified for the subdirectory installation.
Indeed it has nothing to do with top/subdirectory, it was the correct directory name.
This time I tried renaming batchupload -> batchUploads and it worked.
(There is no “batchupload”-directory any more.)
And of course soulships solution is essential: upload.swf in the textpattern-directory
(not in the “batchupload/batchUploads”. I tried the later, but it brings back the first problem).
Last edited by saccade (2006-11-10 21:51:47)
Offline
Re: Ebl_batchupload
I was having the same problem. Renaming batchupload to batchUploads did the trick.
Shoving is the answer – pusher robot
Offline
Re: Ebl_batchupload
Ok. Sorry, I’ve been away from the computer for a bit today (and tomorrow as well)
- Yes, a version that will load language paremeters is in the works (as soon as I get back to work on Monday)
- The upload.swf must be in the actual textpattern directory (for example: yourdomain.com/textpattern/ – In the same directory as you find the publish/include/lib/ directories.
- If after uploading the image, you get a 404 erorr, then the batchUpload directory is not setup correctly. This directory must also reside in the textpattern directory and be chmod 777’d
- Use debug if you get ERR notices following image processing.
- In isolated instances, there may be a memory issue with the processing of images (due to hosts that set REALLY low mem limits), if you encounter these, let me know. I have a revision with a neat couple of phpini tricks that should solve anything of that sort
- If you get an error 403, then the processing directory does not have the proper permissions.
- If you’re getting a error 404, then the processing (batchUpload) folder cannot be found.
The processing directory can be changed (by changing the name batchUpload from below), if you desire, but it still must reside within the textpattern directory.
/** Temporary Location to process uploaded images. MUST be writable. **/
$GLOBALS[‘upload_dir’] = “batchUpload”;Also note, the directory needs to be batchUpload – Sorry for the intercap. I’ll fix this in the upload tomorrow.
Last edited by TheEric (2006-11-11 05:15:16)
Offline
Re: Ebl_batchupload
Try your plugin and it works fine with TXP 4.0.4.
But have no chance with TXP 4.0.3 : no categories in the list and no error message.
françois
Offline