|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
gyunay Smarty Rookie
Joined: 18 May 2015 Posts: 8
|
Posted: Fri May 22, 2015 8:14 am Post subject: |
|
|
Finally i can tell that i found the problem. It is related to the Apache Stack Size. It seems that on Windows OS the apache has less stack size than Linux. I found a fix in the internet:
<IfModule mpm_winnt_module>
ThreadStackSize 8388608
</IfModule>
This should be placed in the httpd.conf of the apache.
But this fixes one part of the problem. It seems that when the commented code is really long the stack size is not enough. Even for linux. I just made some test and i produced the same problem on Linux. It seems that the regular expressions for finding the comments fails when the commented code is really big. I did a test with 260 lines commented code. When it is 140 the apache doesn't crash .
I hope this to help you to tune up the smarty to handle big comments.
Actually the comments are not problem because we can always remove them. But if the smarty fails with the comments i worry that it may fail with other things too. I hope this never happen.
Can you check again the comments problem with big commend (at least 300 lines) . Maybe you can find a better solution.
Thank you. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sat May 23, 2015 5:30 pm Post subject: |
|
|
I just released 3.1.24.
All limits of comment section size have been removed. |
|
Back to top |
|
Aristophan Smarty Regular
Joined: 10 Jan 2011 Posts: 96
|
Posted: Sun May 24, 2015 8:50 am Post subject: |
|
|
U.Tews wrote: | I just released 3.1.24. |
Hi Uwe
Did I miss something that official announced releases have been stopped with 3.1.21 (see http://www.smarty.net/) for non GitHubers? |
|
Back to top |
|
Aristophan Smarty Regular
Joined: 10 Jan 2011 Posts: 96
|
Posted: Sun May 24, 2015 8:55 am Post subject: |
|
|
Oh - I forgot to ask, if you could give a official note about purged/unused files with these newer versions, please. I dimly remember that you shuffled some files. Thanks. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sun May 24, 2015 12:58 pm Post subject: |
|
|
The versions 3.1.22 and 3.1.23 did not solve some problems completely and had some new ones.
So I decided not to put these versions on the WEB.
I currently can't modify the Smarty WEB myself. I asked Monte to announce the release, but it does look like that he is currently not available,
I think no files have been removed. There are a couple of additional ones as I splitted and rearranged code for a smaller foot print. |
|
Back to top |
|
Aristophan Smarty Regular
Joined: 10 Jan 2011 Posts: 96
|
Posted: Sun May 24, 2015 4:08 pm Post subject: |
|
|
Fine, thanks.
What about these two?
./libs/sysplugins/smarty_config_source.php
./libs/sysplugins/smarty_internal_config.php |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sun May 24, 2015 5:28 pm Post subject: |
|
|
U are right. These 2 are gone. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|