Menu

1.3.10 installation/configuration problem

Help
talr
2004-08-25
2012-10-11
  • talr

    talr - 2004-08-25

    Hi everyone,

    I tried installing phpwiki 1.3.10 on Red-Hat 8.0.
    I'm using apache 2.0.40, php 4.2.2 and PostgreSQL 7.3.4 (not that it's relevant - I didn't get to the PostgreSQL part).

    I have untarred phpwiki, put it in a directory accessible by apache, copied config/config-dist.ini to config/config.ini, changed /tmp to a local "pages" directory (which I changed to be 777 permissions).

    When I turn my browser there, all I get is a white page. If I do "php index.php" from the command prompt, I only get the "X-Powered-By" and "Content-Type".

    What am I doing wrong?

    Thank you!

    Tal.

     
    • Anonymous

      Anonymous - 2004-08-25

      Hi.

      I had a similar problem. In my case, the blank screen wa a result the error message output being turned off in php.ini.

      The errors I got were a lot of deprecated uses of call by reference. In that case, you have to go through the files and just delete the & before the variable name of the call.

      Hope I could help,

      Markus

       
    • talr

      talr - 2004-08-25

      Thanks for your reply.
      Error messages are turned on (just warnings are turned off). They are also logged in the syslog, which is clean.

      I'll try removing the calls by reference - thanks!

      Tal.

       
      • Reini Urban

        Reini Urban - 2004-08-25

        Can you please a patch then also to the patch tracker.
        thanks.

        diff -bur phwiki-1.3.10.orig phwiki > call-by-ref.patch

        I thought I have removed all wrong call by ref calls.

         
    • talr

      talr - 2004-08-25

      Sure. I hope I did it properly (there were tons of those, so I automatically removed it using a small script, which can create errors).

      Unfortunately, it didn't solve anything. I still have the same problem (blank page).

      Am I the only one who has this problem? Are other people able to install phpwiki from scratch?

      Thanks!

      Tal.

       
    • Anonymous

      Anonymous - 2004-08-31

      Hi there,

      I had the same problem: all I see is a blank page

      To fix it, I removed the line that says:
      if (SCRIPT_FILENAME == __FILE__)

      it is almost at the top of the index.php file in your main phpWiki directory.  By doing this, you force lib/main.php to be loaded even if SCRIPT_FILENAME is not equal to __FILE__.

      In my case they were not equal because I access the wiki through a symlink /..../www/wiki -> /.../www/phpwiki-1.3.10 and one of them would have the path with wiki and the other with phpwiki-1.3.10.

      Hope this helps you too.

      David

       

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.