From: Jean-Marc V. L. <ji...@li...> - 2003-08-02 12:02:24
|
Below are the warnings that I get. My understandings is that variable assignments should be quoted. What happens when they are not is that the constant is replaced with an assumed string value if it does not exist. Has anyone else noticed that problem ? /usr/share/phpwiki/lib/config.php:400: Notice[8]: Use of undefined constant ALLOW_USER_LOGIN - assumed 'ALLOW_USER_LOGIN' /usr/share/phpwiki/lib/stdlib.php:1190: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR' /usr/share/phpwiki/lib/stdlib.php:1190: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR' /usr/share/phpwiki/lib/plugin/Calendar.php:32: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR' /usr/share/phpwiki/lib/plugin/Calendar.php:32: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR' /usr/share/phpwiki/lib/stdlib.php:382: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR' /usr/share/phpwiki/lib/Theme.php:85: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR' /usr/share/phpwiki/lib/stdlib.php:382: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR' /usr/share/phpwiki/lib/stdlib.php:382: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR' /usr/share/phpwiki/lib/Theme.php:85: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR' /usr/share/phpwiki/lib/stdlib.php:382: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR' /usr/share/phpwiki/lib/Theme.php:85: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR' /usr/share/phpwiki/lib/stdlib.php(In template 'head'?)(In template 'html'?):1190: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR' 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'))?>" /> In template 'navbar'(In template 'top'?)(In template 'body'?)(In template 'html'?):29: Notice[8]: Use of undefined constant SUBPAGE_SEPARATOR - assumed 'SUBPAGE_SEPARATOR': * $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR . _("Calendar"); |