Menu

Installation problem

Anonymous
2000-08-17
2012-10-11
  • Anonymous

    Anonymous - 2000-08-17

    I tried to installed phpwiki, since it seems lite a _real_ interesting software.
    I user Apache 1.3.x and PHP 3.0.12
    However I have problem loading index.php3 for the first time.

    Anyone that has experience with this??

    I use DBM database to start with.
    The first set of DBM files is created as shown below:

    drwxrwsrwx   2 asdfff www          512 Aug 17 16:47 .
    -rw-rw-rw-   1 www      www            0 Aug 17 16:47 wikidb.dir
    -rw-r--r--   1 www      www            0 Aug 17 16:47 wikidb.lck
    -rw-rw-rw-   1 www      www            0 Aug 17 16:47 wikidb.pag

    After that the dbm library reports:
    "error writing value"

    What is wrong??

    Below is my webserver configuration, if any help:

    php3_engine on
    php3_memory_limit 5000000
    php3_max_execution_time 300
    php3_upload_tmp_dir /yyy/xxxxxx/php/upload
    php3_asp_tags on
    php3_short_open_tag on

    Any help is most appreciated!

    Regards
    Henri

     
    • Steve Wainstead

      Steve Wainstead - 2000-08-17

      Hello Henri,

      It looks like you are using PhpWiki 1.03, though it shouldn't matter which version you
      use.

      It looks like the directory is writable... assuming your web server runs as user 'www',
      these settings should work. Did you also edit wiki_config.php3 and set the $WikiDataBase to the
      file wikidb.pag? I also don't know what the wikidb.dir file is for... did you create that?

      When you get the "error writing page" message, it almost always means some kind of permissions
      problems, though in rare cases PHP was compiled without DBM support.

      Did you try running PhpWiki using the /tmp directory as the place where DBM files go? This is
      a good quick test to see if PhpWiki will work at all on your system.

      sw

       
      • Anonymous

        Anonymous - 2000-08-18

        Thanks for your info!

        o I downloaded the 1.17 version.
        o The web server runs as "www".
        o I edited the config file.
           I also tried with /tmp, but I get the same result.
        o "wikidb.dir" is created by phpwiki through some DBM call.
          the "ls -l" was run immediately after I received the
          error message.

        I shall check to see if DBM is not supported in my PHP. That may be the answer.

        BTW: my system is Solaris 2.6.

         
        • Steve Wainstead

          Steve Wainstead - 2000-08-18

          Ah, Solaris. I think I know the problem.

          Solaris ships with NDBM installed (PhpWiki was developed under GDBM). NDBM limits
          value lengths to 1000 bytes, so any pages over 1000 bytes generate an error.

          You should see an error in the web server log, a very cryptic one, that relates to the error.

          If this is your problem, and I bet it is, the answer is unfortunately pretty long... you have to
          install GDBM, recompile PHP with GDBM support, and then PhpWiki should work. A shorter route
          might be to install MySQL or Postgresql though, and run your Wiki on top of those...

          sw

           

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.