Author |
Message |
Topic: Smarty 3: Memory cache resource (APC) |
Alexander84
Replies: 15
Views: 112436
|
Forum: Tips and Tricks Posted: Mon Mar 14, 2011 10:45 am Subject: Smarty 3: Memory cache resource (APC) |
Environment
- Windows
- PHP + APC
- CodeIgniter 2
- Smarty 3.0.7
Your plugin works here, but, unfortunately, outputs notices as follows:
A PHP Error was encountered Severity: Notice Mess ... |
Topic: [F1] Smarty3 warning messages behaviour |
Alexander84
Replies: 2
Views: 4604
|
Forum: General Posted: Sun Mar 13, 2011 5:33 pm Subject: [F1] Smarty3 warning messages behaviour |
I would appreciate some help on how to output error messages exactly on top of the page after it's loaded,
not in between tags like head or title. I guess default PHP error handler should be extended ... |
Topic: [SOLVED] Weekday as a decimal number |
Alexander84
Replies: 3
Views: 6639
|
Forum: General Posted: Sun Mar 13, 2011 5:14 pm Subject: [SOLVED] Weekday as a decimal number |
U.Tews,
I've tried %N before, but should have put it without percent sign, so it works now, thank you! |
Topic: [SOLVED] Weekday as a decimal number |
Alexander84
Replies: 3
Views: 6639
|
Forum: General Posted: Sun Mar 13, 2011 1:35 am Subject: [SOLVED] Weekday as a decimal number |
There is good and bad news.
It happens on Windows build of PHP and doesn't happen on UNIX.
But if I use raw php date("N") instead of smarty.now %u, it works on both environments.
Could yo ... |
Topic: [SOLVED] Weekday as a decimal number |
Alexander84
Replies: 3
Views: 6639
|
Forum: General Posted: Sat Mar 12, 2011 10:03 pm Subject: [SOLVED] Weekday as a decimal number |
I'm using Smarty 3.0.7
And there is a problem with smarty.now as follows
http://pastebin.com/Ser06yZY
(What's wrong with this forum's engine: every time I try to post something, error message c ... |
Topic: [F1] Smarty3 warning messages behaviour |
Alexander84
Replies: 2
Views: 4604
|
Forum: General Posted: Fri Mar 11, 2011 8:06 pm Subject: [F1] Smarty3 warning messages behaviour |
Workflow
- CodeIgniter 2
- Smarty 3.0.7
Controller + Template + Output
http://pastebin.com/4j2dxWai
Expected
As you can see, developer forget to set $title variable, but because Smarty's war ... |
|