You are not enjoying the benefits offered by registering. To register click here...
  
Forums | Prefs | Your Messages | Members | Recent | Search
Quick Search


Advanced Search
| Calendar | Doc | Dev' Blog! |
Chat (Alpha Version)

Guest, do not forget to login ( Register )
 Top > Forums > This Software > Support, FAQ, How-to's
 E_User_error

Skin Selection:
 (1 pages) 1  
Digigirl


Newbie
Group: Members
Posts: 3
Reputation: 0


Posted on Oct 22, 2007, 8:10 pm by Digigirl
E_User_error
Just installed NextBBS.  Whenever I try to view a profile, I get this error?

Error type:  E_USER_ERROR
Message:  Smarty error: [in profile.tpl line 49]: syntax error: (secure mode) 'null' not allowed in if statement (Smarty_Compiler.class.php, line 1354)
Location:  /home/valerie/public_html/bbs/smarty/Smarty.class.php (line: 1083)


What info do you need to help me find the problem?
 
Top

chris

The Culprit
Group: Admins
Posts: 1,541
Reputation: 38


Posted on Oct 24, 2007, 1:23 am by chris
Oh, my. That's a new one, sorry for the inconvenience.
If you are not afraid of playing a bit with Php code, simply open index.php and comment out these two lines:
php Code:
  1. $TEMPLATE->php_handling = SMARTY_PHP_REMOVE; // default: do not allow php tags
  2. $TEMPLATE->security = TRUE; // Pseudo-safe mode

However there is no reason for Smarty to be afraid of a null value...its security model only checks for functions (or so is the claim).
Would you be kind enough to post lines 40-60 of your profile.tpl here?Thanks

ps:Smarty is so wonderful yet so convoluted! I even posted about its confusing security model at least a year ago...

 
Top

Commifreak

Story Teller
Group: Developers
Posts: 313
Reputation: 4


Posted on Nov 1, 2007, 1:58 pm by Commifreak
ahh. this is thereason, why my friend cant install the baord^^


ok i has tell himthe fix manuals-> it works.. *hope*
Greetings,
CF
----
http://www.commifreak-online.de
 
Top

 (1 pages) 1 - Flat Mode | Threaded Mode  
Quick Jump:

         
Page generated in 0.04 seconds (Queries: 0.00) - Cpu: 0.10
Total DB [adodb:mysql] queries: 15
Total Strings Translated: 12
Powered by NextBBS SE v0.4.5 - Copyright © 2007 CFR & The NextBBS Team
Chatbox powered by smiletag