Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#133 2009-02-11 16:09:29
- TheEric
- Plugin Author
- From: Wyoming
- Registered: 2004-09-17
- Posts: 566
Re: EBL_Upload
- is a generic flash error that something went wrong. Most commonly it’s a Filesize error. Check what the server allows for max filesize for both apache/IIS and PHP. If the server is set for a smaller fiesize than what you’re uploading, then that would generally trigger that error. It
canbe overridden with an htaccess file, but that depends on the host.
Put the following in the htaccess file and see if this fixes the problem.
php_value upload_max_filesize 20M
php_value post_max_size 20M
Offline
#134 2009-02-11 18:26:39
Re: EBL_Upload
Umm. Not sure why this should be a problem, since on Joyent those variables are set to 32M – in the php.ini file.
Since this has been reported by a client, I have to check what they actually did. Will report back.
Offline
#135 2009-02-11 18:59:07
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: EBL_Upload
jstubbs wrote:
Since this has been reported by a client, I have to check what they actually did. Will report back.
This happened to me the other day and then I remembered, that Joynet (Textdrive) has mod_security enabled. As per Eric’s earlier instructions you need to add these lines to your .htaccess file:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
Offline
#136 2009-02-11 20:12:06
Re: EBL_Upload
Hi Martin, pretty sure its not that, because I have uploaded many times on this domain myself without any issues, and on other Joyent hosted domains too. I don’t have secFilterEngine in any .htaccess file, and I have never had any problems.
Offline
#137 2009-02-11 20:39:31
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: EBL_Upload
jstubbs wrote:
I don’t have secFilterEngine in any .htaccess file, and I have never had any problems.
Funny, mine wouldn’t work until I added those lines. Yes, sounds like it’s something else in your case.
Offline
#138 2009-02-12 20:31:55
Re: EBL_Upload
Eric, just realised I posted in the old ebl_upload forum thread instead of the EBL Upload 3 thread. Sorry about that. Since I already mentioned an error, I will follow up here.
The size of the image was 44kb, so memory limits (already 32m in php.ini) should not be the problem. Any other ideas?
Offline
#139 2009-03-06 12:23:09
- mrjysta
- Member
- Registered: 2008-09-22
- Posts: 89
Re: EBL_Upload
Hi guys, I seem to be having problems with the image re-sizing part of this plug-in. I need to constrain the width of all my images to 330px with various different heights. If I set the height to 0 or leave it blank the image distorts badly. How can I get around this problem?
Thanks/
Offline
#140 2009-03-07 05:49:08
- TheEric
- Plugin Author
- From: Wyoming
- Registered: 2004-09-17
- Posts: 566
Re: EBL_Upload
It shouldn’t distort the image as resizing is determined by the longest side. Have you edited the plug-in at all?
note : I just double checked with an install I have here, and it didn’t distort at all with the dimensions you entered. I checked a couple of different images and both were the same.
Last edited by TheEric (2009-03-07 05:51:55)
Offline
#141 2009-03-08 13:33:52
- mrjysta
- Member
- Registered: 2008-09-22
- Posts: 89
Re: EBL_Upload
Hi eric, I tried it again and it worked with some of the images fine, with others I still got the distortion. I havn’t changed the plug-in at all. Maybe because the image was very large/ or higher then 72 dpi??? I’ll see if there is a pattern to the images that didn’t work/
Offline
#142 2009-03-08 20:08:20
- TheEric
- Plugin Author
- From: Wyoming
- Registered: 2004-09-17
- Posts: 566
Re: EBL_Upload
I’de like to know too, because I specifically added a chunk of code so that it wouldn’t distort the images under any circumstance.
Offline
#143 2009-03-09 10:03:42
- mrjysta
- Member
- Registered: 2008-09-22
- Posts: 89
Re: EBL_Upload
Offline
#144 2009-03-09 13:34:35
- TheEric
- Plugin Author
- From: Wyoming
- Registered: 2004-09-17
- Posts: 566
Re: EBL_Upload
Can you email me a copy of the image used, and a logon to the site in question?
Offline