Menu

PHP Warnings PHP Warnings In template 'head'

Help
gill
2003-01-17
2012-10-11
  • gill

    gill - 2003-01-17

    The initial configuration and MySQL database setup went fine.

    Now that I am in PHP Wiki I get something like this at the bottom of every page and i'm not sure what it means or where to begin to fix it:

    PHP Warnings

    In template 'head'(In template 'html'?):67: Notice[8]: Use of undefined constant RECENT_CHANGES - assumed 'RECENT_CHANGES':

        * <link rel="alternate" type="application/rss+xml" title="RSS" href="<?=WikiURL(RECENT_CHANGES, array('format' => 'rss'))?>" />

    ANY pointers, tips, fixes, patches are welcome.  I am running on FreeBSD, Apache, mod_php4-4.2.3, MySQL3-23.53

     
    • Edward J. Paradise

      I am having the exact same problem.  I started a separate wiki using 1.3.4 and noticed this error.

       
      • Matthew Kruer

        Matthew Kruer - 2003-04-05

        I am gettign the same issue, I pulled it off the 1.3.4 download page

         
        • Matthew Kruer

          Matthew Kruer - 2003-04-05

          In template 'head'(In template 'html'?):19: Notice[8]: Use of undefined constant PHPWIKI_BASE_URL - assumed 'PHPWIKI_BASE_URL':

              * <base href="<?=PHPWIKI_BASE_URL?>" />

           
    • gill

      gill - 2003-01-20

      what template are you using?

       
    • gill

      gill - 2003-01-21

      I am now running a version that does not have this problem! :)

      I have pulled the latest CVS repository following the instructions found on phpwiki.sourceforge.net and now i'm in business.

      I got cought up on one cvs gotcha tho ... I had no /root/.cvspass but after i `touch`-ed that file both cvsup commands worked as advertised.  From that directory tree, I followed the usual install instuctions as if i had just unzipped it and all is well :)

       
    • gill

      gill - 2003-02-15

      There has been a bug report made about this symptom/problem.  The gist of it is that the configurator.php leaves "section seven" out of the generated index.php and if you copy that out of the index.php that is distributed, things work fine.

      At least thats what happend with the CVS checkout from yesterday.

       

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.