sheikstanza
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: 2.5 image upload#That is PHP remarks. Again I ain’t into coding but i’ll figure it out. Thanks again.
Forum: Alpha/Beta/RC
In reply to: 2.5 image upload@otto 42: The “#begin wordpress” thing is something that I din’t made up, I saw it appear in the .ht file. As i mentioned before, I am a kinda nerd if it comes to coding. But I figured it out how to debug it for my own sake. Something went wrong overhere. xcuzez moi. Just tried to make some sense what code worked for me. After all the # sign souldn’t make a difference in my experience, just a remark.
You cleaned up the code. I also doubded about the kinda ‘PHP insertions’. As you have figure it out, I aint no coder. I figure out my things my way. Thanks for the correction anyway. I’ll correct the lines in the upper suggested code and i’ll see what happen.Forum: Alpha/Beta/RC
In reply to: 2.5 image uploadChanging the .ht file to
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>worked out right for me, AFTER I changed the permalinks settings to “day and name”. Using custom permalinks seem to activate and write the .htaccess file and suddenly it stood there in my root WP dir. The first upload stopped when I wanted click the submit button. So I got half an upload. The files where there on my server including thumbs.
Then I realised that custom permalinks somehow were needed to create the .htaccess file, but using custom permalinks also modify your .htaccess file. So, change your permalinks and you’ll see an .htaccess file in your root WP folder and if your satisfied with the new structure of your permalinks, leave them for what they are, replace your already existing .htaccess file with this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
SecFilterEngine Off
SecFilterScanPOST Off
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
and last but not least set the file permission of the .htaccess file to 444 so that WordPress can’t rewrite it.
I just merged the code wordPress writes when it uploads, with the mod_security settings. That’s all. Hey and I ain’t no coder at all. Don’t be dissapointed with 2.5 because it works like a charm.
Forum: Alpha/Beta/RC
In reply to: 2.5 image uploadI also got it to work. Take a look over here how to disable mod_security in the wordpress directory using .htaccess
Forum: Alpha/Beta/RC
In reply to: 2.5 image uploadHere is the error log while i tried to post a picture on my weblog:
[Fri Mar 21 10:37:00 2008] [error] [client 62.131.44.82] mod_security: Access denied with code 406. Error processing request body: Multipart: final boundary missing [severity “EMERGENCY”] [hostname “momento.stanzafoto.nl”] [uri “/wp-admin/async-upload.php”] [unique_id “OZX2lcGKnSYAACWrb04AAAAU”]
Some people out here who can do anything with this information?
Forum: Alpha/Beta/RC
In reply to: 2.5 image uploadNone of the uploads seem to work to me. everytime it fails at the moment that the message that it’s chunching the file appears (making a thumbnail and cannot write to the server maybe?) My host is also running apache…