GetSimple Support Forum

Full Version: Config Files: Upload HTTP Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Where are the config files, i found the one under root but it doent have what im looking for.

I have just moved a site i have been working on, from my test server to the live server... everything works perfect apart from the file upload, where im getting a HTTP Error message when uploading, and these 404 messages coming up in the log:

http://www.brittons-bakery.co.uk/admin/%...w_w.png%22


http://www.brittons-bakery.co.uk/admin/%...box.png%22


For some reason its adding the URL/admin twice and there seems to be a HTML space in there too... now it works perfect on my test server, and all i have changed from that to live is the website URL setting in the ACP.

Any ideas anyone? I'm assuming its in one of the config files, but can i hell find the one where the website url is stored
there is a settings file in /data/other
there is a configuration file /gsconfig.php (but this doesnt hold any path information)
there is the .htaccess file in {root} that will hold a sub directory path if you installed it in one.
Everything seems in order with all the places you have said above... any ideas where my problem is coming from then? Could it be something on the server?

Seems strange its doing the admin URL twice
First, and most importantly, what HTTP error are you getting?

Those 404 errors are really weird, since the images do seem to exist on your server (see fancy_shadow_w.png). The only place in the GetSimple core I can find that uses this image is /admin/template/js/facybox/facybox_urls.css and that file seems to contain the right URLs.

Do you have any other information that might help find the problem?
Zegnat, they do exist, but if you look at the link to them again it isnt correct

Code:
http://www.brittons-bakery.co.uk/admin/%22http://www.brittons-bakery.co.uk/admin/template/js/facybox/images/fancy_shadow_w.png%22


The only errors i can see in the log files are:
Code:
86.136.161.232 - - [22/Sep/2010:00:02:00 +0100] "GET /admin/upload.php HTTP/1.1" 200 5753 "http://www.brittons-bakery.co.uk/admin/settings.php" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
86.136.161.232 - - [22/Sep/2010:00:02:01 +0100] "GET /admin/%22http://www.brittons-bakery.co.uk/admin/template/js/facybox/images/fancy_shadow_n.png%22 HTTP/1.1" 404 - "http://www.brittons-bakery.co.uk/admin/upload.php" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
86.136.161.232 - - [22/Sep/2010:00:02:01 +0100] "GET /admin/%22http://www.brittons-bakery.co.uk/admin/template/js/facybox/images/fancy_shadow_e.png%22 HTTP/1.1" 404 - "http://www.brittons-bakery.co.uk/admin/upload.php" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
86.136.161.232 - - [22/Sep/2010:00:02:01 +0100] "GET /admin/%22http://www.brittons-bakery.co.uk/admin/template/js/facybox/images/fancy_shadow_w.png%22 HTTP/1.1" 404 - "http://www.brittons-bakery.co.uk/admin/upload.php" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
86.136.161.232 - - [22/Sep/2010:00:02:01 +0100] "GET /admin/%22http://www.brittons-bakery.co.uk/admin/template/js/facybox/images/fancy_shadow_nw.png%22 HTTP/1.1" 404 - "http://www.brittons-bakery.co.uk/admin/upload.php" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
86.136.161.232 - - [22/Sep/2010:00:02:01 +0100] "GET /admin/%22http://www.brittons-bakery.co.uk/admin/template/js/facybox/images/fancy_closebox.png%22 HTTP/1.1" 404 - "http://www.brittons-bakery.co.uk/admin/upload.php" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
86.136.161.232 - - [22/Sep/2010:00:02:01 +0100] "GET /admin/%22http://www.brittons-bakery.co.uk/admin/template/js/facybox/images/fancy_shadow_s.png%22 HTTP/1.1" 404 - "http://www.brittons-bakery.co.uk/admin/upload.php" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)"
86.136.161.232 - - [22/Sep/2010:00:03:30 +0100] "POST /admin/upload-ajax.php HTTP/1.1" 406 - "-" "Shockwave Flash"

This has got me really confused
Anyone got any ideas?
Sorry jamz, im stumped on this one too. What version of GS are you running? Can you try to upgrade to 2.03? can you post a copy of your {root}/.htaccess and (if you have one) /admin/.htaccess
I just downloaded GetSimple 2.03 from the download page and installed it. I uploaded a JPG and TXT file both using Uploadify and using the plain form. I put my server logs up on Pastebin.

As you can see, it requests the facybox files only when uploading an image without Uploadify. Is that when you got your errors?

My GetSimple installation requests the right files. Could you try a clean install of GetSimple?