Whenever I try to upload a photo to an album (on a fresh install of Gallery 3.0rc1-p1), I get "Server error: 400" in the swf upload box. Only thing in var/logs is a file containing the line:
<?php defined('SYSPATH') or die('No direct script access.'); ?>
Could this be a result of my insistence on trying lighttpd instead of Apache? It works well enough for my application (except, of course, this issue). If not, what else can I try?
Posts: 16504
Could be. Try Apache and see if that works. Lighttpd isn't supported. When I tested it it, everything appeared to work except for Gallery's permission system, but it's been many months since I've tried Lighttpd and G3.
Check Lighttpd's access and error logs to see if they show anything else.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 6
Yeah, nothing interesting in lighttpd's logs. Will try Apache.
Posts: 16504
Once I get my G3 install running again on my test server, I'll try Lighttd and see if I get anything.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 6
Yeah, it looks like it was because I was using lighttpd. It works using Apache (same installation). That's a little disappointing.
Posts: 18
Hi folks,
I run Apache server but this error appears. I discovered it appears when trying to upload picture bigger than 2MB. Is this issue of server settings (and how to fix it?) or some gallery bug (and how to fix it?)
Thanks
Posts: 16504
No bug in Gallery. Try this:
FAQ: Why can't I upload big files (over a megabyte or two)?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 18
Thank you nivekiam,
it works. I didn't noticed this before, sorry.
Posts: 72
Please help!
I ran into this same problem (server error: 400 w hen uploading photos). I went to the FAQ: Why can't I upload big files (over a megabyte or two) page, and followed their instructions. However, I must have done something wrong, because right after I visited my website, my entire website is down.
http://missmoeller.com
I think I accidentally edited the .htaccess and php.ini files in my main directory. So I erased what I had added to the files, and uploaded them as they originally were. However, the site remains down. What should I do?
I have to present my website later today (of all times). Please help!
Thank you very much!
Posts: 72
I managed to fix the above problem on my own. Thank you, anyway.
Turns out it was just an issue of not having the "." at the beginning of my .htaccess file (I didn't notice it earlier). *head palm*
Posts: 16504
Care to share with the group what you did to fix it?
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 72
However, I am still having trouble solving the "server error: 400" problem. I tried every step on the list linked to above, except the last one involving editing the configuration of my Apache server (since I'm not sure how to do that).
Can anyone please help me?
Thank you so much!
Posts: 2
Hi Everyone,
I need help. Anytime I try to upload a picture it gives me "Error 406". In the help option it says:
mod_security is good to protect your website but it might cause some problems for certain web applications, especially in file uploads.
Add to your .htaccess file this line:
SecFilterEngine Off
How do I do that??
Posts: 6
This is unrelated to the current thread (it's not "Server error: 400"). Try checking Google for an answer:
http://www.google.com/search?q=apache+.htaccess
Google is your friend