CVS 12/10 error in smarty compiler in extended posts

Found a bug? Tell us!!
Post Reply
bleuge

CVS 12/10 error in smarty compiler in extended posts

Post by bleuge »

hi all,

i've tried to use a post with extended text, and after clicking to continue reading i got a

Fatal error: Allowed memory size of 4194304 bytes exhausted (tried to allocate 9268 bytes) in /home/.sites/99/site334/web/s/bundled-libs/Smarty/libs/Smarty_Compiler.class.php on line 1585

and page does not render ok

see in http://www.bleuge.com/s

i've read the forums, but i haven't seen this bug posted

other bug i got is after clicking in [click here to install a new event plugin], the page stops the render after showing half the left menu, and the rest is blank, any ideas?


also, i wish i could have a setting where i could say, "show only the first x lines in front page, and the rest in extended text"

don't you think it could be a good idea? i am a PHP coder, but still not looked the API, could this be made with a plugin?

regards and thanks for coding serendipity
bleuge
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: CVS 12/10 error in smarty compiler in extended posts

Post by garvinhicking »

Hi!

Hm, your PHP only allows a memory limit of 4MB. That is quite low as soon as you have some entries to work with. You should ask your provider to raise it to the default limit of 8MB.

The sidebar/plugin problem should be the same as that. You can lower memory usage if you use less event/sidebar plugins...
also, i wish i could have a setting where i could say, "show only the first x lines in front page, and the rest in extended text"
Well, that's usually why there's a 'body' and an 'extended' text field is for, so that you can manually choose how many lines/characters to display?

But, yes, it could be made with a plugin. :)

Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

thanks for the answer garving,

i just bought a hosting pack in a big hosting company, www.amen.es, i think they don't rise the available ram for my pack,

any other suggestion?, maybe i can downgrade to old 0.71 ?

:cry:

regards
bleuge
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Well...no, the only way for you is then to remove some plugins and write shorter articles - I'm sorry. 4MB is way too little for many PHP applications...

Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply