Hi,
In my 'custom_copyright' user-defined tag window I'm getting this message and the variable copyright date isn't showing on the site (www.lincombehouse.co.uk).
Notice: Use of undefined constant php - assumed 'php' in /home/fhlinux164/l/lincombehouse.co.uk/user/htdocs/admin/edituserplugin.php on line 282
I don't have this problem on any other sites on the server, and my config.php uses DOCUMENT_ROOT to express all file locations so I don't see why it's coming up with a specific location. I suspect it's something to do with changing servers, which I did recently with this site. I'm a total novice with php. :-[
Does anyone have any suggestions please? I would appreciate it very much. :)
[solved] Use of undefined constant php in user-defined tag window
[solved] Use of undefined constant php in user-defined tag window
Last edited by designhut on Fri Aug 31, 2007 9:33 am, edited 1 time in total.
-
alby
Re: Use of undefined constant php in user-defined tag window
Strangedesignhut wrote: Notice: Use of undefined constant php - assumed 'php' in /home/fhlinux164/l/lincombehouse.co.uk/user/htdocs/admin/edituserplugin.php on line 282
I don't have this problem on any other sites on the server, ....
Try to delete row in file (it's a comment):
Code: Select all
<?php/* echo textarea_highlight($use_javasyntax, $code, "code", "pagetextarea", "Java")*/ ?>
Code: Select all
<?php /* echo textarea_highlight($use_javasyntax, $code, "code", "pagetextarea", "Java")*/ ?>
Re: Use of undefined constant php in user-defined tag window
Thx Alby, eventually I deleted the line and that got rid of the error but the tag still isn't working, i.e. the date is not displayed. I correct myself, the error is on all the sites I transferred to a new host....any more ideas? Thank you! 
-
alby
Re: Use of undefined constant php in user-defined tag window
Post here your UDT: custom_copyrightdesignhut wrote: Thx Alby, eventually I deleted the line and that got rid of the error but the tag still isn't working, i.e. the date is not displayed. I correct myself, the error is on all the sites I transferred to a new host....any more ideas? Thank you!![]()
Alby
(SOLVED) Re: Use of undefined constant php in user-defined tag window
Hi Alby,
Thanks for your assistance but it's sorted. I upgraded from 1.1 to 1.1.1 and that appears to have fixed a lot of little php bugs I had across the sites I had upgraded to 1.1.
Thx again though.
Thanks for your assistance but it's sorted. I upgraded from 1.1 to 1.1.1 and that appears to have fixed a lot of little php bugs I had across the sites I had upgraded to 1.1.
Thx again though.

