d0nk3y
Forum Replies Created
-
Forum: Plugins
In reply to: [Twitter posts to Blog] Constant Error on Page – Undefined indexWhat gives you the right to override my preferences and show errors on a site? Not only does it show errors from your script but any other errors from themes and other plugins while it’s running.
Error reporting is dangerous as it shows file paths and possible scripts installed that people can abuse, that is the reason PHP ships with error displays turned off.
If you want to handle errors the _correct_ way, build an error handler and give me the option to display it, log it or email it, don’t just assume it’s safe to flood a production website with error reports.
As you can see from all the errors (actually notices) above, not only does it give me detailed information of their filepaths but also what plugins and themes they are running, I can now go and look for coding errors in those plugins/themes to see if there is a security vulnerability that will allow me backend access.
Let’s not forget that EVERY error shown above has absolutely nothing to do with this plugin, yet due to this plugin, those errors are now being shown.
Hey, what do I know, I’ve only been programming almost 20 years.
Forum: Plugins
In reply to: [Twitter posts to Blog] Automatic posts not working – manual fineDo you have anything in the ‘Body text’ field? It seems if that is empty the auto-post doesn’t work. Probably depends on content options, also.
Forum: Plugins
In reply to: [Twitter posts to Blog] My posts are stuck on UTC and also getting duplicatesSorry, it’s in twitter-posts-to-blog.php – 8th line down.
Forum: Plugins
In reply to: [Twitter posts to Blog] Showing error when installed with RSS Multi ImporterThe errors are shown because of error_reporting(E_ALL) set at the top of functions.php in this plugin, delete that line or add // in front of it and the errors will stop being shown.
Forum: Plugins
In reply to: [Twitter posts to Blog] My posts are stuck on UTC and also getting duplicatesThe timezone is hard-coded to UTC so it defaults to this regardless of what your wordpress is set to.
Edit the code using the plugins editor (admin.php I believe, don’t have the code in front of me) and change the
date_default_timezone_set
to the correct timezone listed here.Forum: Plugins
In reply to: [Twitter posts to Blog] Constant Error on Page – Undefined indexThe error is due to:
error_reporting(E_ALL)
at the top of functions.php (I don’t have the code in front of me, but pretty sure it’s this page).Remove it or add
//
in front of it and all the errors on all the themes will stop.