Menu

PHP warnings after upgrade

Help
2005-06-10
2012-10-11
  • Kickstart70

    Kickstart70 - 2005-06-10

    I just upgraded PHPWiki on a Debian system and it caused all sorts of problems with not being able to read the db. I followed directions I found that meant editing index.php to change the database from db2 to db4 and converting the database with db4.2_upgrade.

    That allowed the wiki to work, however now I get the following errors (sorry for the large copy-paste). Can anyone suggest what to do to at least hide these (apparently non-critical) errors?

    Thank you!

    PHP Warnings

    lib/config.php:245: Notice[8]: Undefined variable: KeywordLinkRegexp

    lib/config.php:423: Notice[8]: Use of undefined constant ALLOW_USER_LOGIN - assumed 'ALLOW_USER_LOGIN'

    lib/main.php:764: Notice[8]: Use of undefined constant CACHE_CONTROL - assumed 'CACHE_CONTROL'

    lib/stdlib.php:742: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php:1263: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    In template 'head' (In template 'html'):85: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR':

    * $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR ._("Calendar");
    

    In template 'head' (In template 'html'):91: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR':

    * $UserCalPageTodayTitle = $UserCalPageTitle . SUBPAGE_SEPARATOR . strftime("%Y-%m-%d", time()); //FIXME
    

    In template 'navbar' (In template 'top') (In template 'body') (In template 'html'):27: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR':

    * $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR . _("Calendar");
    

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'signin') (In template 'actionbar') (In template 'browse-footer') (In template 'browse') (In template 'body') (In template 'html'):415: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/stdlib.php (In template 'signin') (In template 'actionbar') (In template 'browse-footer') (In template 'browse') (In template 'body') (In template 'html'):501: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Theme.php (In template 'signin') (In template 'actionbar') (In template 'browse-footer') (In template 'browse') (In template 'body') (In template 'html'):89: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR'

    lib/Request.php:244: Notice[8]: Use of undefined constant CACHE_CONTROL - assumed 'CACHE_CONTROL'

    lib/Request.php:244: Notice[8]: Use of undefined constant CACHE_CONTROL_MAX_AGE - assumed 'CACHE_CONTROL_MAX_AGE'

    lib/Request.php:227: Notice[8]: Use of undefined constant CACHE_CONTROL - assumed 'CACHE_CONTROL'

     
    • Kickstart70

      Kickstart70 - 2005-06-16

      Well, a solution, of a sort.

      By all appearances, the newest version of PHPwiki in Debian Sarge skipped all sorted of variable declaration in index.php. I had to manually copy them from the old version to the new version.

      I'm pretty unimpressed. How do bugs this large get through to a release? It's not like I was doing anything out of the ordinary.

       
    • Kickstart70

      Kickstart70 - 2005-06-15

      IE users are getting the following message since the upgrade:


      The XML page cannot be displayed

      Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

      Cannot have a DOCTYPE declaration outside of a prolog. Error processing resource 'http://report.hcareers.com/hcwiki/index.p...

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      ----------^
      ------------------------------------------------

      This happens the first time they log in (phpwiki is password protected), but the site works fine (albeit with the errors in my top-level post) upon refresh.

      Greg

       

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.