Menu

setting up a phpwiki on sourceforge.net

Help
2004-11-26
2012-10-11
  • Martin Gerdes

    Martin Gerdes - 2004-11-26

    Originally I wanted to add something to http://phpwiki.sourceforge.net/phpwiki/PhpWikiOnSourceForge

    But whatever combination of username+password/nopassword I tried to register as new user, I got back to the same error page (invalid id or wrong password).

    So I am opening up a new thread here instead.
    I tried to set up phpwiki 1.3.10 on sourceforge, to use it for my project. And I ran into the exactly same problem that somebody (HoJo?) described on that wiki site: I got the two error lines
    "Fatal error: Call to undefined function: quote() in /home/groups/d/de/deb-install/htdocs/phpwiki-1.3.10/lib/DB_Session.php on line 150"
    and
    "Fatal error: Call to undefined function: quote() in /home/groups/d/de/deb-install/htdocs/phpwiki-1.3.10/lib/DB_Session.php on line 184"
    (though I don't get the third error)
    With those errors I don't have much of an idea what went wrong, and a google search didn't return any matches.

    So, can anybody help? (Feel free to describe the solution on the wiki page - I just can't answer there)

     
    • Reini Urban

      Reini Urban - 2004-11-26

      Did you try a valid WikiWord as username? "icekiss" is invalid, "IceKiss" is valid. Passwords are ignored in first login.

      Ah, that's another 1.3.10 bug! CVS has that fixed.
      I'll add it to the page.

      config/config.ini: USE_DB_SESSION = false.

       
    • Martin Gerdes

      Martin Gerdes - 2004-11-26

      Thanks for the tip, that helped.
      I did know about the particularities of wikiwords. Somewhere in the back of my mind...
      I added my comment to the wiki page.
      Let's see whether anyone knows where those error messages come from...

       
    • HaArD

      HaArD - 2004-11-26

      Hey... Didn't help me at all...

      I've been adding to this thread....

      http://sourceforge.net/forum/forum.php?thread_id=1079780&forum_id=18929

       
    • Martin Gerdes

      Martin Gerdes - 2004-11-27

      Well, it didn't fix the original problem, he just pointed out how to post on the wiki. Which I appreciated.

      I decided to take a look around what other wikis there are, since I saw lots of unresolved problem reports on the phpwiki, and on this forum.

      I investigated mediawiki, installed it, and it RUNS. :-)
      Admittedly, it is a bit slower, because it has more graphics, but it looks [b]damn[/b] good.
      And the installation was simple! The one caveat was that I had to delete the database entries by hand, but I won't hold it against it, that mediawiki was catious about destroying data.
      Otherwise: Configuration through the browser, and since I already had to inform myself about mysql, I could answer all the asked questions easily (btw.: the instructions of how to install phpwiki on sourceforge helped). And meaningfull error messages too :-)

      If you want to take a peek at the result: http://deb-install.sourceforge.net/wiki

      I tried beforehand to inform myself if installing a mediawiki on sourceforge was feasable, but couldn't find a thing. All the more happy am I that it worked. :-)

       
    • HaArD

      HaArD - 2004-11-27

      I will take a look at it, but I took a different approach....

      I downloaded phpWiki 1.3.9 (and the secuirty patch) and went throught the same instructions (skipping the MySQL part since it was the same and I'd already done it) and it worked on the first try!!!

      I think 1.3.10 should be labelled as HIGHLY EXPERIMENTAL since it completely changes the way settings are configured and, quite frankly, doesn't work very well.

      The only issue I still have is with the Memory problem on SF:

      Fatal error: Allowed memory size of 8388608 bytes exhausted...

      The FIX for this says to edit config.ini with these values:

      USECACHE = 0
      WIKIDB_NOCACHE_MARKUP = 1

      Which is a bit odd since USECACHE doesn't exist in v1.3.10 config.ini and the default value for WIKIDB_NOCACHE_MARKUP is a boolean...

      ;WIKIDB_NOCACHE_MARKUP = true

      Stranger still, config.ini is a file that doesn't exist in v1.3.9. The closest I could find was uncommenting this line in index.php

      if (!defined('WIKIDB_NOCACHE_MARKUP')) define ('WIKIDB_NOCACHE_MARKUP', true);

      But I'm still having problems.

      Hopefully SF's WebServer upgrades in early December which update PHP to 4.3.8 will be the end of this problem.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.