Menu

No html template error after install

Help
Anonymous
2004-05-13
2012-10-11
  • Anonymous

    Anonymous - 2004-05-13

    Hi there!

    We are evaluating several Wikis for our in-house documentation.

    I've installed phpWiki using the instructions provided, but when I try to start it I get the following error:

    lib/Template.php:23: Warning[512]: no template for html found

    Notice: Undefined property: _tmpl in /opt/hpws/apache/htdocs/wiki/lib/Template.php on line 179

    lib/FileFinder.php:143: Fatal[256]: pgsrc: file not found

    lib/Theme.php:221: Notice[1024]: templates/html.tmpl: not found

    lib/Template.php:115: Notice[8]: Undefined property: _locals

    lib/Template.php (In template 'html'):133: Notice[8]: Undefined property: _tmpl

    I've probably missed something somewhere, but I'm not sure where to look first.

    The 'phpinfo()' gives the following under SERVER_SOFTWARE:

    HP-UX_Apache-based_Web_Server/2.0.46 (Unix) mod_perl/1.99_09 Perl/v5.8.0 DAV/2 PHP/4.2.3

    Any help greatly appreciated.

    TIA.

    Duncan Kinnear.

     
    • Reini Urban

      Reini Urban - 2004-05-14

      The phpwiki root dir couldn't be found automatically, so it will help if you define the constant PHPWIKI_DIR

      I'm not so familiar with Apache 2, I only have one instance of phpwiki running with Apache 2, which needed some quirks to run.

       
      • Anonymous

        Anonymous - 2004-05-16

        Reini

        Thanks for that.  I put the definition of the variable in the "index.php" in the root directory and now I get the virgin page now (or at least the header).

        Unfortunately, all I get is the "Loading up virgin wiki" heading with the error:

        lib/FileFinder.php:143: Fatal[256]: pgsrc: file not found

        Any idea where to look now?

        Thanks in advance.

        Duncan Kinnear.

         

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.