euromark
Questions Asked
1 answer
ErrorLogging in Cake1.3
my error.log has thousands of these entries each day:
2010-01-24 16:43:42 Warning: Warning...
Answers
0
generate csv file in background
you can always raise the time limit:
set_time_limit(30*MINUTE) (or even HOUR)
0
Keep a form filled in after validation
thats this way by default!
your forms must be non conform to cake standards...
1
Framework Optimizations
operating cake on a smartphone-like device is probably not the smartest idea.
its not designed for such a low-power environment.
use some other LIGHTWEIGHT framework that does not need 16-20 MB...
Comments
- Member since:
- November 21st, 2009
- Last active:
- 2010-01-24 15:52:22
- Questions asked:
- 1
- Answers:
- 17
- Correct Answers:
- 7
- Comments:
- 5
How to determine the CakePHP version?
actually its Configure::version() as Configure::read('Cake.version') only works with debug=0 !My own custom function - where does it go?
you forgot "libs" in cake1.3 they are great for code that could be used in both controllers and views. @see http://www.dereuromark.de/2010/06/26/helper-component-lib/ErrorLogging in Cake1.3
and yes, you were right that specific file was not "utf8 encoded" - therefore h() failed i found that out by implementing a special log trace functionality in the FileLog Class which - unfortunately - has not yet made it into the core (ticket...ErrorLogging in Cake1.3
unfortunately, the Debugger class cannot be used in debug=0 right now - it always returns null...ErrorLogging in Cake1.3
strange is that this only happens on the productive server - and only in some views i dont know of - nothing in the log files on the local app. all right - i will try to extend the filelog class thx