#123 PHP warnings after upgrade

open
nobody
None
5
2012-10-11
2005-06-15
Kickstart70
No

(copied from Help forum, since there was no reply there)

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'

Discussion