Error Logs to Diagnose Error 500 in LAMP

You are using Apache for your http server,it will keep it owns logs for access & errors, depending on how you have it configured. By default Apache will probably use the following logs; /var/log/httpd/access_log /var/log/httpd/error_log or /var/log/apache2/access_log /var/log/apache2/error_log Log locations are in your Apache Config (/etc/httpd/). Check here for details. Using WP_DEBUG The WP_DEBUG flag … Read more

How do I set up Debugging?

I use a plugin for this issue. Even if debug is set to false, it still prints error to the screen in red. It is easy and fast to create the plugin. In your plugins folder in your wordpress install, create a new file and call it anything you like, for instance, debugger-plugin.php. Open up … Read more

Error 310 too many redirects after switching domains

It is infinitely redirecting. I have seen (and created) this problem a lot when trying to do either a non-www to www domain or a non-trailing-slash to trailing-slash redirect. Did you or an SEO firm do 301 redirects after a new site launch and can you post the contents of your .htaccess file?

Getting headers already sent error from plugin

If you look at the source of the page you will see this around line 122: <div class=”nav-collapse collapse”> <br /> <b>Warning</b>: session_start() [<a href=”https://wordpress.stackexchange.com/questions/105453/function.session-start”>function.session-start</a>]: Cannot send session cookie – headers already sent by (output started at /home1/onesizeu/clients/instrumentalbackgroundmusic.com/wp-includes/functions.php:2841) in <b>/home1/onesizeu/clients/instrumentalbackgroundmusic.com/wp-content/plugins/osu-royaltfreemusic/osu-royaltyfreemusic.php</b> on line <b>225</b><br /> <br /> <b>Warning</b>: session_start() [<a href=”https://wordpress.stackexchange.com/questions/105453/function.session-start”>function.session-start</a>]: Cannot send session cache limiter … Read more

Displaying oEmbed errors?

Not possible with current code. WP_oEmbed object goes extra mile (more like miles) to sanitize input so it is either html or boolean false. All errors with fetching are discarded on output, there are no filters in there and only error (hardcoded) it handles is 501 not implemented. Earliest you can mess with this is … Read more

This webpage is not available ERR_NAME_NOT_RESOLVED

Those settings are stored in the wp_options table in the database. If you can access the database with PHPMyAdmin Location the wp_options table and find the records with the option_name of home and siteurl and change it back to the correct url. Your host may also be willing to help with this.

error_log over 70GB. How to stop this? [closed]

Most important thing here would be to figure out what’s causing the errors as opposed to just hiding them. 70 GB file might be tough to open, so you can use tail to open up the last several lines of it tail -f error.log and see what’s going on. Maybe it’s a quick fix. If … Read more