#130332 Hosted Apps: MediaWiki error 501 on adding code

closed
5
2008-10-16
2008-10-09
No

Can't save the following on a project wiki page (https://apps.sourceforge.net/mediawiki/freedict/index.php?title=freedict:FreeDict_FAQ_-_4._Installing_the_TEI_DTDs)

account@host:~$ сd /home/account; mkdir TEI

(the "cd" is the problem; I had to use a cyrillic 'c' for 'cd' or I would get an error; similarly with some paths)

I can't manage to save the following either:

<pre>
--
##====================================================
## /etc/sgml/tei2.cat
## Centralised SGML catalog file for the tei2-p4 DTDs
##====================================================
--

CATALOG /usr/local/share/xml/tei2/p4/schema/dtd/catalog.tei
</pre>

Each time all my editing is lost and I get the following error 501:

"Method Not Implemented

POST to /mediawiki/freedict/index.php not supported."

What's going on?? It's not Mediawiki itself, it's something SF-specific. I've just lost over an hour on fighting this "feature".

Thanks.

Discussion

  • Piotr Banski

    Piotr Banski - 2008-10-09

    When I try to add a header (something marked with e.g. '==' to the wiki document I mentioned above, I get error 500: "The server encountered an internal error or misconfiguration and was unable to complete your request."

    Mediawiki is two minor versions ahead of you, BTW, at 1.13.2 (hint)

     
  • Travis West

    Travis West - 2008-10-09

    Greetings!

    You don't mention it in your request, but I've found that I have to wrap my code snippets with [code] tags when I'm using MediaWiki. Could that be the problem?

    Thanks,
    Travis West
    Support Guy
    SourceForge.net

    P.S. - Have thoughts on our shell service changes? Give us a piece of your mind. Take our survey: http://apps.sourceforge.net/limesurvey/alexandria/index.php?sid=46987&lang=en

     
  • Travis West

    Travis West - 2008-10-09
    • milestone: --> 104417
    • assigned_to: nobody --> hinojosa
    • status: open --> pending
     
  • Piotr Banski

    Piotr Banski - 2008-10-09

    Hi Travis, thanks for trying to help :-)

    But please do not close this request, this is real.

    Firstly, I've never seen [code] used as a wikitext tag... Did you mean <code>?

    The <code> and <pre> and <tt> tags merely change some aspect of text formatting, it's all CSS really. They are not supposed to be "the magic words that prevent a wiki from barfing on innocent symbols", which is apparently what we need here, except it's not the wiki, apparently, it's something in the server. Something parses the text that I try to send to the wiki -- but it shouldn't.

    Please try to edit any page in a project (hosted) wiki, and insert:

    account@host:~$ cd /home/account; mkdir TEI

    try to see the preview (Shift+Alt+P). Watch it barf.

    (you can wrap it in <code> or whatever -- no effect)

    Change the "c" in "cd" to a cyrillic character (с), and watch it go through. It's that silly.

    Then try to paste the fragment I've already posted, and save or preview. Watch it barf.

    And then please try to help :-)

    [As an off-topic side note, I noticed that even project admins don't have sysop powers on their project wikis -- how about demoting the guy who came up with this idea? :-)]

     
  • Piotr Banski

    Piotr Banski - 2008-10-09
    • status: pending --> open
     
  • Piotr Banski

    Piotr Banski - 2008-10-09

    Ah, on [[code]]: but this extension is also not meant to prevent some strange parsing, but to highlight code in various ways. I'm reporting something very different here. Thanks.

     
  • Anonymous - 2008-10-11

    Greetings,

    I'm going to escalate this to our Service Operations Group for investigation on the internal errors.

    Need anything else? Drop a comment into this support request. We'll get back on it!

    Cheers!,

    Daniel Hinojosa - the SourceForge.net support gnome

    P.S., Have thoughts on our shell service changes? Take our survey: http://apps.sourceforge.net/limesurvey/alexandria/index.php?sid=46987&lang=en

     
  • Anonymous - 2008-10-11
    • milestone: 104417 --> Second Level Support
    • assigned_to: hinojosa --> sog
    • summary: error 501 when I try to save script-like text in a wiki page --> Hosted Apps: MediaWiki error 501 on adding code
     
  • Piotr Banski

    Piotr Banski - 2008-10-11

    adding this fragment to a near-empty page causes error 500 (NOTHING exotic there)

     
    Attachments
  • Piotr Banski

    Piotr Banski - 2008-10-11

    File Added: error500.txt

     
  • David Burley

    David Burley - 2008-10-16
    • status: open --> closed
     
  • David Burley

    David Burley - 2008-10-16

    Greetings,

    We believe we have fixed the cause of this issue (an anti-spam/anti-DoS/anti-abuse mechanism). We haven't tested this case to see if your particular issue is resolved, however. Should your issue persist, add a comment and we'll look into it specifically.

    Thank you,

    David Burley
    Systems Programmer/Analyst, SourceForge.net

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks