Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/xinha/public_html/r.f/include/parser.php on line 774

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/xinha/public_html/r.f/include/parser.php on line 774

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/xinha/public_html/r.f/include/parser.php on line 774

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/xinha/public_html/r.f/include/parser.php on line 774

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/xinha/public_html/r.f/include/parser.php on line 774

#1 2007-05-09 14:48:26

mswiryn
New member
Registered: 2007-04-21
Posts: 4

javascript error: method not allowed

I installed the xinha package  on my server.
url is http://tst.cuesta.com/review/xinha/examples/monty4.html

When I load the page, I still get the editor with missing buttons.  And I get javascript error:
"Method not allowed"

I have a javascript debugger console in Firefox that shows:

Error loading URL <XStringBundle>: [Exception... "Component returned failure code: 0x804b000a [nsIIOService.newChannel]" nsresult: "0x804b000a (<unknown>)" location: "JS frame :: chrome://venkman/content/venkman-url-loader.js :: _getChannelForURL :: line 54" data: no].

Can you see what's the problem?

thanks!

Offline

#2 2007-05-10 20:51:08

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: javascript error: method not allowed

There seem to be severe problems with your server configuration. The "Method not allowed" error refers to the POST method by which scan.php, which is used by the Linker plugin, is called. This is IMHO unrelated to the buttons not showing. These are "simply" not delivered by your server. I have no idea why, but your server plays foul sad

Offline

#3 2007-05-11 09:11:18

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: javascript error: method not allowed

mswiryn, can you try:
open XinhaCore.js in an editor
Find: req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
Replace With: req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
make sure you clear your cache etc and try again.

I came across a server once (I don't remember exactly the details) which simply failed when given UTF-8 as a charset (maybe any charset) as part of a POST request.


James Sleeman

Offline


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/xinha/public_html/r.f/include/parser.php on line 774

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/xinha/public_html/r.f/include/parser.php on line 774

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/xinha/public_html/r.f/include/parser.php on line 774

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/xinha/public_html/r.f/include/parser.php on line 774

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/xinha/public_html/r.f/include/parser.php on line 774

#4 2007-05-13 05:52:27

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: javascript error: method not allowed

Offline

Board footer

Powered by FluxBB