Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Config Files: Upload HTTP Error
#1
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
Reply
#2
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.
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#3
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
Reply
#4
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?
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#5
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
Reply
#6
Anyone got any ideas?
Reply
#7
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
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#8
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?
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply




Users browsing this thread: 1 Guest(s)