Dont now what to do....? please help
NOTICE: Use of undefined constant News - assumed 'News'
/home/fiberd1q/public_html/templates/fiber/template.htm:110
NOTICE: Use of undefined constant News3 - assumed 'News3'
/home/fiberd1q/public_html/templates/fiber/template.htm:146
NOTICE: Use of undefined constant News4 - assumed 'News4'
/home/fiberd1q/public_html/templates/fiber/template.htm:158
NOTICE: Use of undefined constant News5 - assumed 'News5'
/home/fiberd1q/public_html/templates/fiber/template.htm:161
Use of undefined constant
Re: Use of undefined constant
That looks like you have something like the following code in the template:twc wrote:NOTICE: Use of undefined constant News - assumed 'News'
/home/fiberd1q/public_html/templates/fiber/template.htm:110
Code: Select all
<?php echo newsbox(News)?>
Code: Select all
<?php echo newsbox('News')?>
Christoph M. Becker – Plugins for CMSimple_XH
Re: Use of undefined constant
thanks..... ..... sometimes you see to mutch for your eyes cant see the problemcmb wrote:That looks like you have something like the following code in the template:twc wrote:NOTICE: Use of undefined constant News - assumed 'News'
/home/fiberd1q/public_html/templates/fiber/template.htm:110However, News should be written in quotes:Code: Select all
<?php echo newsbox(News)?>
See also http://php.net/manual/en/language.types ... ay.foo-bar.Code: Select all
<?php echo newsbox('News')?>