#68 Undefined constants in template 'head'

1.3.x
closed
nobody
None
5
2012-10-11
2004-01-27
colin b
No

Undefined constants generating the following PHP
warnings in footer of each page (1.3.7/Apache 1.3.29/
PHP 4.3.4):

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

<link rel="copyright" title="&lt;?=COPYRIGHTPAGE_TITLE?&gt;" <br=""> href="<?=COPYRIGHTPAGE_URL?>" />

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

* <link rel="copyright"

title="<?=COPYRIGHTPAGE_TITLE?>"
href="<?=COPYRIGHTPAGE_URL?>" />

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

<link rel="author" title="&lt;?=AUTHORPAGE_TITLE?&gt;" <br=""> href="<?=AUTHORPAGE_URL?>" />

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

<link rel="author" title="&lt;?=AUTHORPAGE_TITLE?&gt;" <br=""> href="<?=AUTHORPAGE_URL?>" />

Discussion

  • Logged In: YES
    user_id=252428

    In apache->php setup, adjust your errorlevel so that notices
    are shut off.

    And/or upgrade to CVS version.

     
  • Reini Urban
    Reini Urban
    2004-05-08

    Logged In: YES
    user_id=13755

    you have to add these defines to your index.php, which you
    obviously just copied from your old version, without these
    constants.