Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 7 matches
Smarty Forum Index
Author Message
  Topic: weird bug with empty line.
heal

Replies: 6
Views: 18478

PostForum: Bugs   Posted: Tue Mar 12, 2013 10:19 pm   Subject: weird bug with empty line.
Based on this post, [url=http://www.smarty.net/forums/viewtopic.php?p=77417#77414]http://www.smarty.net/forums/viewtopic.php?p=77417#77414 I found the reason, why my production server throws an error ...
  Topic: SmartyCompilerException error
heal

Replies: 7
Views: 60183

PostForum: Smarty Development   Posted: Tue Mar 12, 2013 5:38 pm   Subject: SmartyCompilerException error
Yes.
I have downloaded the new version to other directory and included from there.
I have deleted all compiled files.
I don't use cache.

As an extra thing, the new smarty throws errors only on ...
  Topic: weird bug with empty line.
heal

Replies: 6
Views: 18478

PostForum: Bugs   Posted: Tue Mar 12, 2013 5:36 pm   Subject: weird bug with empty line.
No, there aren't invisible characters in those lines.
I'm using VIM, checked the hidden characters with :set invlist

Screenshot: [url=https://www.dropbox.com/s/ojay146iw6kshc6/lines2.png]image2 ...
  Topic: SmartyCompilerException error
heal

Replies: 7
Views: 60183

PostForum: Smarty Development   Posted: Tue Mar 12, 2013 5:05 pm   Subject: SmartyCompilerException error
I'm using 3.1.13.
No, there aren't invisible characters in those lines.
I'm using VIM, checked the hidden characters with :set invlist

Screenshot: [url=https://www.dropbox.com/s/sjmx0u84u67bfua ...
  Topic: weird bug with empty line.
heal

Replies: 6
Views: 18478

PostForum: Bugs   Posted: Tue Mar 12, 2013 4:07 pm   Subject: weird bug with empty line.
Yes, I'm using the latest Smarty. I've checked this out with v. 3.1.12. I get the same error.

I have checked it with and without 'file='
  Topic: weird bug with empty line.
heal

Replies: 6
Views: 18478

PostForum: Bugs   Posted: Mon Mar 11, 2013 2:48 pm   Subject: weird bug with empty line.
Sorry for that stupid subject..

I have found something weird. This is my not working template (3.1.13)

{include 'header.tpl' delay=5 redir="connect4.php?wid=$wid&xf=$xf&amp ...
  Topic: SmartyCompilerException error
heal

Replies: 7
Views: 60183

PostForum: Smarty Development   Posted: Mon Mar 11, 2013 1:26 pm   Subject: same error
Hello, I have the same error, but I have quoted the filename.

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/data/www/site/_xhtml3/adven ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP