Feng Forum

Support => Installation problems => : oxydum November 16, 2008, 07:10:54 PM

: 405 error : Method Not Allowed
: oxydum November 16, 2008, 07:10:54 PM
A little message when I put OpenGoo Fr in my web server :
http://www.oxydum.com/opengoo
  utilisateur/username : demo
  mot-de-passe/password : demo

Any idea ? Thanks.
: Re: 405 error : Method Not Allowed
: ignacio November 17, 2008, 10:23:00 AM
I had a problem with the french translation. It worked fine if I was already logged in, but when I went to the login page I got a blank page. Apparently it had some invalid characters (I think it can be related to this: http://en.wikipedia.org/wiki/UTF-8#Byte_Order_Mark). I fixed it by copying/pasting the contents of each file into a new file.

I updated the sourceforge download. Maybe you can try if this fixes your problem: http://downloads.sourceforge.net/opengoo/fr_fr_1.0.zip

P.S.: I took the liberty to update the url to the download in one of your posts  :-[
: Re: 405 error : Method Not Allowed
: oxydum November 17, 2008, 12:37:00 PM
My localhosts were a wampserver v2 (php 5.2.6) under windows xp, and a Cohesitiveft elastic server Debian 4.0 running both under virtual machines (VMWare for OpenSuse) : there are NO problems with opengoo fr.

My webserver come with a Lamp server with both php 4 and 5, and I've activated Php5 in the .htaccess like this : AddType application/x-httpd-php5 .php
See more parameters : http://www.oxydum.com/opengoo/php.php (http://www.oxydum.com/opengoo/php.php)

This error tell that's a POST method invokes extra characters like a "/" at the end of a link, or not ? In fact, I don't know...  ::)
: Re: 405 error : Method Not Allowed
: vassy November 18, 2008, 09:22:11 AM
I have the same problem but with the default english language installed, any ideas?
: Re: 405 error : Method Not Allowed
: chris November 24, 2008, 09:10:38 AM
I have the same problem too (default english language installed).
: Re: 405 error : Method Not Allowed
: dpitard November 24, 2008, 06:35:56 PM
I have the same problem when displaying help in message box

The 405 error happened when opengoo try to post in ajax on the url http://opengoo.mydomain.com/help/index.html?active_project=0&ajax=true&current=help-panel&%20=

The thing is that apache 1.3 does not allow POST on html document...

I submitted the following bug report : http://sourceforge.net/tracker/index.php?func=detail&aid=2340134&group_id=191520&atid=937707

: Re: 405 error : Method Not Allowed
: Arthur Mullard December 16, 2008, 10:28:14 AM
I have the same problem too (default english language installed).
: Re: 405 error : Method Not Allowed
: ignacio December 17, 2008, 09:31:29 AM
It will be fixed for next release candidate of version 1.1.
: Re: 405 error : Method Not Allowed
: haveabyte December 24, 2008, 05:55:05 PM
On IIS, I managed to fix this (partially) by changing the handler for .htm and .html to SSINC.DLL (which handles server side includes) based on the advice of other IIS admins.  This allows me to enable POST on that.

Now when I log into OpenGoo, I get only one 405 error instead of two.

The other one seems to be coming from a post to the /OpenGoo folder instead of to /OpenGoo/index.php.  index.php is set as the default document so that's kind of odd.

From the logs (some details removed):

So this gives a 405:
POST /opengoo active_project=0&ajax=true&c=dashboard&a=index&current=overview-panel 405 0 1 1802 1205 62

But this does not:
2008-12-24 20:38:20 POST /opengoo/index.php active_project=0&ajax=true&c=project&a=initial_list_projects&parent=0 200 0 0 857 1215 296

This is with the 1.1 beta and I have not tried the RC yet.  I'm about to right now...

Erik Knepfler
http://haveabyte.com
: Re: 405 error : Method Not Allowed
: haveabyte December 24, 2008, 06:05:39 PM
RC1 fixed it.  Thanks!

Erik
: Re: 405 error : Method Not Allowed
: mbacke December 30, 2008, 10:48:29 AM
It will be fixed for next release candidate of version 1.1.


I still get the error "Error 405: Method Not Allowed", when I login. I'm using OpenGoo 1.1 RC2
: Re: 405 error : Method Not Allowed
: ignacio December 30, 2008, 03:29:01 PM
Maybe you are using a cached version of your javascript? Try refreshing your browser or clear your browser's cache. Are you using Apache 1.3?
: Re: 405 error : Method Not Allowed
: mbacke December 30, 2008, 04:15:00 PM
The cache is cleared. I'm on  Apache version 1.3.41 (Unix)
: Re: 405 error : Method Not Allowed
: o_z December 31, 2008, 06:11:25 AM
I also get this message when logging in.
OpenGoo 1.1 final (english) on Apache 1.3.41 (Unix)

Cheers,
o
: Re: 405 error : Method Not Allowed
: ignacio January 04, 2009, 04:02:35 PM
The problem that was corrected for this version was that OpenGoo was sending GET parameters to an HTML file (public/help/index.html). This caused the 405 error on Apache 1.3. Now this is supposed to be fixed and OpenGoo shouldn't be sending parameters to HTML files

Check in you apache log if URL requests for 'opengoo/public/help/index.html' have any parameters after the index.html. If not, there may be some other problem with Apache 1.3 that we haven't detected.
: Re: 405 error : Method Not Allowed
: mbacke January 05, 2009, 06:14:30 AM
Sorry, I'm on a hosting and dont have access to apache log. The only error log I have acces to is the error log in cpanel, and that only reported one file;
[Mon Jan  5 03:36:32 2009] [error] [client 97.226.2xx.xx] File does not exist: /home/USER/public_html/OpenGoo/public/assets/themes/default/stylesheets/custom.css

I took a copy of website.css, and renamed it to custom.css, so that error is now gone..
: Re: 405 error : Method Not Allowed
: ignacio January 05, 2009, 04:09:42 PM
That error is nothing to worry about. But I would recommend you that you make custom.css an empty file. Because website.css includes custom.css, and if you copied website.css into custom.css it will include itself. That migh cause trouble to some browser.
: Re: 405 error : Method Not Allowed
: werner.wuerfel January 08, 2009, 03:33:56 AM
Is there a timeline to fix the error 405 or an workaround to turn off this error
: Re: 405 error : Method Not Allowed
: ignacio January 09, 2009, 09:58:18 AM
We don't know yet what causes it. It seems that it only occurs in Apache 1.3, not on Apache 2+ (the recommended webserver for OpenGoo). Try if this removes the error:

Change line 5 of file 'public/assets/javascript/og/HelpPanel.js' to:
:
data: 'dummy.php'
: Re: 405 error : Method Not Allowed
: werner.wuerfel January 10, 2009, 11:09:01 AM
Change line 5 of file 'public/assets/javascript/og/HelpPanel.js' to:

:
data: 'public/help/dummy.php'
and put an emty file dummy.php into public/help/ turned off error 405.

So thanks very much for your help.

Now we will talk with our provider to change Apache 1.3 to 2.0 - if it is possible
: Re: 405 error : Method Not Allowed
: ignacio January 22, 2009, 05:42:53 PM
Hi,

Please, try if this fixes the problem (and if it doesn't produce another one ;):
Edit file 'public/assets/javascript/og/og.js', line 430 (line 399 on OG 1.1), change from:
:
method: 'POST',to:
:
method: options.post == " " ? 'GET' : 'POST',
: Re: 405 error : Method Not Allowed
: stubenhacker January 22, 2009, 07:34:11 PM
Change line 5 of file 'public/assets/javascript/og/HelpPanel.js' to:
:
data: 'dummy.php'

this fixed my problem, no more 405, thanks a lot!
: Re: 405 error : Method Not Allowed
: werner.wuerfel January 24, 2009, 06:42:50 PM
Hi ignacio,

with your change in file 'public/assets/javascript/og/og.js', line 430 (line 399 on OG 1.1) we have no more Error 405 under Apache 1.3 and now we see the help file.

Thanks very much for your support. This will help us, because our provider will not change Apache 1.3 to 2.0.

: Re: 405 error : Method Not Allowed
: Arthur Mullard February 05, 2009, 11:19:33 AM
I've done all suggested on this thread but still no joy - 405 still part of my day! 
Can't change host use of Apache 1.3.41 (Unix) :(

using open goo 1.1

: Re: 405 error : Method Not Allowed
: ignacio February 06, 2009, 09:37:17 AM
I'm pretty sure this was fixed on 1.2. Try deleting from file 'public/assets/javascript/og/og.js':
line 392:
:
if (!options.post) options.post = " ";
line 399:
:
method: 'POST',
line 401-403:
:
headers: {
'Content-Length': '' + options.post.length
},

Note that if you are using minified JS (by default you're not) you need to minify again after modifying javascript files like this one.
: Re: 405 error : Method Not Allowed
: Arthur Mullard March 02, 2009, 06:18:28 PM
All solved for us: no 405 Errors since 1.2.01. Thanks!