1
0
Commit Graph

18 Commits

Author SHA1 Message Date
Garvin Hicking
6f2858ad27 Fix the error_reporting somewhat; until now, prevent E_STRICT errors were not correctly surpressed, but
we need to do this, because otherwise older plugins will prevent Serendipity from loading.

I actually wanted to at least "break" stuff and report errors, when $serendipity['production'] is set to "debug".

However, this does NOT work for me (PHP 5.2); even when set to "debug", E_STRICT errors do not seem to show up.
I'm quite at a loss here, so anyone reading this, go ahead and inspect.

At least it makes this version work when "older" plugins exists. It would be great if the code could be made to show the debug errors in debug mode.

I shuffled around the error_reporting() position because when someone sets the variable in serendipity_config_local.inc.php it would be too early to affect code flow; now it should evaluate the variable properly.
2013-01-20 01:24:23 +01:00
Garvin Hicking
de2188ed0b This at least fixes some issues in the frontend.
I get errors only in my PHP 5.2 installation, PHP 5.4 is different.
In my backend now I do get a STRICT STANDARDS error still, even if it should be muted.
I don't understand this, needs more thorough investigation.
2013-01-19 15:49:42 +01:00
Ian
57e63251b3 cleared whitespace missmatch in serendipity_die() 2012-08-23 17:18:31 +02:00
Garvin Hicking
f12f53aaab Damn, why does cherry picking not work? 2012-06-12 20:51:57 +02:00
Ian
4db3a08f19 corrected note typos and changed trigger_errors error LEVEL
back to Warning as before, which still is halted by the smarty error handler
2011-12-25 15:24:08 +01:00
Ian
ee116ee460 some more tweaking to the errorToExceptionHandler 2011-12-08 19:21:24 +01:00
Ian
c2afd4efc0 moved custom errorHandler to avoid XML Feed declaring and callback errors 2011-12-06 12:36:03 +01:00
Garvin Hicking
f59d157fc6 date zone 2011-05-10 12:51:30 +00:00
Garvin Hicking
677df54625 PHP 5.3 compatibility, upgrade Smarty to 2.6.26 2009-07-14 11:40:16 +00:00
Garvin Hicking
ed5a65320d Add smaty modifier that can pass referenced variables to a smarty plugin api. Hurts to see that, but seems to be the only way 2007-06-01 15:31:54 +00:00
Garvin Hicking
12af228d66 not yet implemented issue, reported on the forums 2007-04-17 08:23:50 +00:00
Garvin Hicking
35bcbda057 Remove not yet supported filter call 2007-02-22 09:40:01 +00:00
Garvin Hicking
f03841587a Ensure to not be able to call s9y files under circumstances where .htaccess does not deny request AND register_globals is turned on 2006-11-30 21:34:29 +00:00
Sebastian Nohn
7661964383 * add filter for php 5.2.0 2006-11-05 11:25:03 +00:00
Sebastian Nohn
75483ee2fe * revert 2006-11-03 16:10:02 +00:00
Sebastian Nohn
6e63f3ed13 * hotfix to ensure compatibility php 5.2.0 2006-11-02 19:41:54 +00:00
Garvin Hicking
0674c0256f Add google ping
safer check for "filter" extension
2006-10-11 18:59:31 +00:00
Garvin Hicking
80e14346a5 Also support "last X" REST interface 2006-08-02 10:07:34 +00:00