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

can't parse a file bigger than 8k

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
maka
Smarty Rookie


Joined: 15 May 2003
Posts: 21
Location: Maringá-PR BRASIL

PostPosted: Thu May 15, 2003 5:36 am    Post subject: can't parse a file bigger than 8k Reply with quote

Hi there, I start using smarty recently, I really enjoy it.
But i can't parse a file bigger than 8k. After the file reach 8.192 bytes it stop parsing em display a imcomplete html. Could someone try it, and if works, help me to find where's the problem. I test in 2 servers and got the same bug.

I hope this to be a newby problem, cause I want to keep using smarty forever.

thanks Laughing
Back to top
View user's profile Send private message
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Thu May 15, 2003 7:05 am    Post subject: Reply with quote

i cannot reproduce this.
what version of smarty do you use, what version of php and what operating system?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
AZTEK
Smarty Pro


Joined: 16 Apr 2003
Posts: 235
Location: Purdue University

PostPosted: Thu May 15, 2003 11:14 am    Post subject: Reply with quote

Nor can I, this seems to be a problem with your PHP or your method of using Smarty since I am using templates well over 10k in alot of projects.
_________________
"Imagine a school with children that can read and write, but with teachers who cannot, and you have a metaphor of the Information Age in which we live." -Peter Cochrane
Back to top
View user's profile Send private message Visit poster's website
boots
Administrator


Joined: 16 Apr 2003
Posts: 5611
Location: Toronto, Canada

PostPosted: Thu May 15, 2003 5:35 pm    Post subject: Reply with quote

Please post some relevant code.

Can you otherwise process files > 8K with PHP (I mean without Smarty involved) ?
Back to top
View user's profile Send private message
maka
Smarty Rookie


Joined: 15 May 2003
Posts: 21
Location: Maringá-PR BRASIL

PostPosted: Fri May 16, 2003 3:41 am    Post subject: Reply with quote

after a exausting day testing and retesting, I found that it's a bug on php 4.3.1 so I back to php-4.2.3 and WORKs, so I go to php.net and found the fresh release php-4.3.2RC3 and WORK too!!!
boots: the funny is that a can process a php file bigger then 10k, just using smarty I got problem. Looks like if smarty usage a memory bigger then 8k it's stop and flush out what smarty have parsed, like a limit.

but before change php version I try change the php.ini, httpd.conf and nothing help.

thanks guys

sorry my poor english
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP