Commit Graph

26 Commits

Author SHA1 Message Date
Andrew Dolgov 8d2e3c2528 drop errors.php and simplify error handling 2021-02-23 22:26:07 +03:00
Andrew Dolgov 42173386b3 dirname(__FILE__) -> __DIR__ 2021-02-22 17:38:46 +03:00
Andrew Dolgov 403dca154c initial WIP for php8; bump php version requirement to 7.0 2021-02-05 23:41:32 +03:00
wn_ 12435b223e Actually return the array of errors... 2020-12-18 07:53:07 -06:00
wn 6bdf4a1a25 Switch to 'get_error_types()' to ensure availability in 'include/functions.php'.
The global in 'sanity_check()' was null... possibly due to circular requires?
2020-12-12 10:28:48 -06:00
Andrew Dolgov 215c9f0f88 fail better if Feeds.view() data failed encoding to JSON 2018-12-24 12:28:11 +03:00
Andrew Dolgov 27f7b59353 add a wrapper for standard error codes returned by backend, also add explanation to the error object if possible 2015-03-30 13:02:24 +03:00
Perry Werneck bcb6b0c126 Changing error.php?mode=js from text/plain to text/javascript
Changing the js mimetype to text/javascript to avoid problems with some proxy configurations.
2013-05-31 17:37:12 -03:00
Tomas Chvatal 6cb57cc375 Fix whitespace, gettext is whitespace fragile. 2013-03-24 12:23:22 +01:00
Andrew Dolgov 88e8fb3a71 modify include path order (closes #514) 2012-12-09 13:41:22 +04:00
Andrew Dolgov f03a795de7 include path fix for lighttpd 2011-12-15 18:19:38 +04:00
Andrew Dolgov 107d0cf39e overall directory tree cleanup 2011-12-11 23:59:25 +04:00
Andrew Dolgov ebb948c24e rework initial sanitycheck to use JSON 2011-03-18 17:39:23 +03:00
Andrew Dolgov 6853521166 fix fatalError() not working properly 2011-02-18 12:28:03 +03:00
Andrew Dolgov 661135c742 unify update_daemon, update_feeds and update_feedbrowser into update.php; move update.php to db-updater.php 2010-11-09 16:33:08 +03:00
Andrew Dolgov f29ba1484f code cleanup, test for db_escape() crazyness in DB sanity check 2008-11-10 06:29:19 +01:00
Andrew Dolgov 81352b548d tweak error message 2007-04-24 04:32:26 +01:00
Andrew Dolgov 7a09510c02 try to detect sanity check abnormalities (caused by Firebug) 2007-04-24 04:28:10 +01:00
Andrew Dolgov 1025ad8763 more I18N work 2007-03-05 10:04:55 +01:00
Andrew Dolgov d1db26aa1c change _() to __() (use php-gettext) 2007-03-05 09:45:38 +01:00
Andrew Dolgov b4c27af79a misc updater tweaks 2007-02-24 18:16:33 +01:00
Andrew Dolgov 8dc062e527 add link to schema updater from errormsg 5 2007-02-24 17:47:59 +01:00
Andrew Dolgov d3f24242f8 I18N 2006-12-21 18:12:51 +01:00
Andrew Dolgov 1d3a17c71e change short php tags to long ones 2006-08-19 08:04:45 +01:00
Andrew Dolgov aec3ce39de block mysql versions where true is undefined in sanity_check 2006-08-13 05:46:40 +01:00
Andrew Dolgov af106b0ebe better fatal error handling by frontend (remove error.php) 2006-03-31 06:18:55 +01:00