PDA

View Full Version : 1 more error i need help with ;)


boo
12-16-2004, 05:56 PM
i'm editing the FORUMHOME and i get this

_______________________

The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected '\"', expecting ']' in /home/b3playg/public_html/forums/includes/adminfunctions_template.php(3055) : eval()'d code on line 181

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

_______________________

so i go there and all i see on line 181 is this

_________________________

if (substr($ts_array, -2) != '-1')

_________________________


anyone know what 2 do?

thanks

phlogiston
12-16-2004, 06:20 PM
When editting templates these errors refer to a problem with the code you have submitted (the "eval()'d code") so look to line 181 of your attempted FORUMHOME rather than the php file :)

(took me a good few hair-pulling sessions before I figured that out the first time!)

Our Sponsors
 

Zachery
12-16-2004, 07:25 PM
Please post in the proper forum