Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 13 matches
Smarty Forum Index
Author Message
  Topic: Performance improvement for Windows/IIS
ziege

Replies: 6
Views: 12027

PostForum: Smarty Development   Posted: Mon Jul 25, 2011 9:59 am   Subject: Performance improvement for Windows/IIS
My dev system isn't a good system for performance tests, but I will try to post results of the live system later.

Here is the WinCache version of the KeyValueStore (I could not find any information ...
  Topic: Performance improvement for Windows/IIS
ziege

Replies: 6
Views: 12027

PostForum: Smarty Development   Posted: Mon Jul 18, 2011 1:27 pm   Subject: Performance improvement for Windows/IIS
I just tested the 3.1 version and it works great, overall about 25% faster on my dev system. And I like the new CacheResource API - it was really simple to integrate a KeyValueStore for WinCache.
  Topic: Performance improvement for Windows/IIS
ziege

Replies: 6
Views: 12027

PostForum: Smarty Development   Posted: Wed Jul 13, 2011 5:26 am   Subject: Performance improvement for Windows/IIS
I thought so too, but I couldn't see any real caching effect, although I already optimized the settings. AFAIK the calls are only cached when they are successful (when the file exists).

I will try ...
  Topic: Performance improvement for Windows/IIS
ziege

Replies: 6
Views: 12027

PostForum: Smarty Development   Posted: Tue Jul 12, 2011 6:08 pm   Subject: Performance improvement for Windows/IIS
Hi,

I moved my website to a Windows Server (2008 R2) with the IIS Webserver (7.5, PHP via FastCGI) some time ago and recognized a really bad performance, especially on higher load.

I knew that f ...
  Topic: rename() sometimes fails
ziege

Replies: 4
Views: 5960

PostForum: Bugs   Posted: Wed Feb 02, 2011 10:28 am   Subject: rename() sometimes fails
No, it's my developer machine and it's only used by me - no other user and no cronjob/scheduled task.
  Topic: rename() sometimes fails
ziege

Replies: 4
Views: 5960

PostForum: Bugs   Posted: Tue Feb 01, 2011 1:56 pm   Subject: rename() sometimes fails
I just got the following error on my developer machine (Windows XP SP3, Apache 2.2.x, PHP 5.3.5):

"rename(C:\myprojectdir\smarty\cache\default\7e53852a21f1d3f4dd4e9850df529010\ff\f7\cf\wrt3D.t ...
  Topic: Add check for the assert() function
ziege

Replies: 1
Views: 6371

PostForum: Feature Requests   Posted: Tue Feb 01, 2011 8:39 am   Subject: Add check for the assert() function
The Smarty template parser and the config file parser use assertions, without checking if this function 'assert' is available.

Of course assert() can be very useful in development, but in productio ...
  Topic: Bug with "open_basedir" set and missing templates
ziege

Replies: 0
Views: 2846

PostForum: Bugs   Posted: Sun Jan 23, 2011 1:10 pm   Subject: Bug with "open_basedir" set and missing templates
Hi,

if you have activated "open_basedir" in your php.ini (or in your script from PHP 5.3), an security error will occur when you define one or more template directories (with in the " ...
  Topic: Smarty 3 RC4 released
ziege

Replies: 26
Views: 121295

PostForum: Smarty 3   Posted: Sat Oct 30, 2010 2:48 pm   Subject: Smarty 3 RC4 released
Your {foreach} does create the variable $tmp is the local scope of the template. Local variable have higher priority over variables with same name assigned to the Smarty object.

Thanks, that fixed ...
  Topic: Smarty 3 RC4 released
ziege

Replies: 26
Views: 121295

PostForum: Smarty 3   Posted: Fri Oct 29, 2010 5:27 pm   Subject: Bug with assigning variables
Hi,

I have posted a bug regarding this topic before, and this was fixed with the RC4 release, but the following bug also occurs with the current release:

Template:
...
{foreach item=tmp f ...
  Topic: Smarty 3 RC3 released
ziege

Replies: 38
Views: 87391

PostForum: Smarty 3   Posted: Sat Sep 04, 2010 2:14 pm   Subject: Smarty 3 RC3 released
Another issue:

I got the following error

Syntax Error in template "C:/Apache2/htdocs/xxx.tpl" on line 3 "{/strip}" - Unexpected "{/strip}", expected one of: " ...
  Topic: Smarty 3 RC3 released
ziege

Replies: 38
Views: 87391

PostForum: Smarty 3   Posted: Sat Sep 04, 2010 12:32 pm   Subject: Smarty 3 RC3 released
I think I have an issue too (or a missing point in the Smarty2 BC Notes):

I work with several includes, in one a variable named "tmp" is set.

But when I use

{counter start=0 assign ...
  Topic: PHP 5.0.4 und Smarty 2.6.9...?
ziege

Replies: 10
Views: 11985

PostForum: Language: German   Posted: Tue Aug 16, 2005 9:18 pm   Subject: PHP 5.0.4 und Smarty 2.6.9...?
Also ich benutze auch Win XP SP2, PHP 5.0.4 und Apache 2.0.54 UND ich mache es genauso wie du mit der Einbindung von Smarty in eine eigene PHP5 Klasse (ausser dass die Methoden statisch sind).

Ich ...
 
Page 1 of 1
All times are GMT
Jump to:  


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