|
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 |
johannes Smarty Regular
Joined: 10 May 2003 Posts: 85 Location: Malmö, Sweden
|
Posted: Fri Sep 26, 2003 10:57 am Post subject: messy output from SMARTY... |
|
|
Hi, sorry for my bad spelleng and writing, hope you understand me.
I have been using smarty for 1 year and evething is fine so far. but this week som very strange things happend.
This is my case:
I have my tpl. stored in a mysql db, and I use this pluging too get them.
plugins.resources.php
So, I run my page, get data from the databse and a template fron the database. I have 5 different tempaltes head, foot, text and so on.
here the funny part come.......
When the web page i viewed i Explorer it looks up side down, in sida out, the head is in the bottom and the foot is too the left, the templates i put together in totaly wrong places and is is put together different in different times, funny....
OK, the page works om my local machine but not on the web server. I took alla the templates and made files of them, exactly the same but this time files, and...... the page is generated correctly on the server again.
Im totaly confused about this, anybody have some clue where I cant start my search to get this thing ok again. Could it be some leak of memory, could it bee somthing on the server, I have other web pages running on the same server that works ok. Is it bluur things and messy var???
Is it the fact that I have my tempaltes stored in the mysql and this is bad i any way. Please help me out here this is bugging my brains out..... / Johannes _________________ --------------------------
nice culture on the Internet
www.poeter.se |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Fri Sep 26, 2003 11:11 am Post subject: |
|
|
do you use any outputfilters? |
|
Back to top |
|
johannes Smarty Regular
Joined: 10 May 2003 Posts: 85 Location: Malmö, Sweden
|
Posted: Fri Sep 26, 2003 3:20 pm Post subject: |
|
|
messju wrote: | do you use any outputfilters? |
Hi, no i dont, I can post the code later this day.
But, can it bee a problem that the tempaltes from the database take som time to get? Some seconds. At first I used PEAR as db-ayer and earlier this week i implemented ADO-db insted. Bur the result i exactly the same.
This I strange, I run snarty on 4 diffrent host and is is the same setup on them all and just one of them is blurry and crazy. Can It possible bee a probelm to have more than one SMARTY on the same account on my web server. I mean is ther any risk for them to get confused?? I have that on the one that is messy! _________________ --------------------------
nice culture on the Internet
www.poeter.se |
|
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
|