Articles tagged with “errors”
- WordPress Error Fix: Unable to Parse URL
- Note: This information is intended primarily for WordPress versions previous to 2.3, but may be applicable in other versions as well.
For those of you running an older version of WordPress that is generating errors such as:
Warning: parse_url(http://) [function.parse-url]: Unable to parse url in /home/path/to/public_html/wordpress/wp-includes/functions.php on line 1067
Warning: parse_url(http://) [function.parse-url]: Unable to parse url in /home/path/to/public_html/wordpress/wp-includes/functions.php on line 1067
Warning: parse_url(http://) [function.parse-url]: Unable to parse url in /home/path/to/public_html/wordpress/wp-includes/functions.php on line 1067
Warning: parse_url(http://) [function.parse-url]: Unable to parse url in ...
- Preventing the Unpredictable White Screen of Death for WordPress Sites with Multiple Themes
- For the past several months and up until just recently, Perishable Press had been suffering from unpredictable episodes of the dreaded white screen of death. Although blank white screens happen to virtually all WordPress users now and then, certain configurations seem to trigger crashes more frequently than others. Here, I am referring to WordPress version 2.3.
In this case, the ...
- Unexplained Crawl Behavior Involving Tagged Query Strings
- I need your help! I am losing my mind trying to solve another baffling mystery. For the past three or four months, I have been recording many 404 Errors generated from msnbot, Yahoo-Slurp, and other spider crawls. These errors result from invalid requests for URLs containing query strings such as the following:
http://perishablepress.com/press/page/2/?tag=spam
http://perishablepress.com/press/page/3/?tag=code
http://perishablepress.com/press/page/2/?tag=email
http://perishablepress.com/press/page/2/?tag=xhtml
http://perishablepress.com/press/page/4/?tag=notes
http://perishablepress.com/press/page/2/?tag=flash
http://perishablepress.com/press/page/2/?tag=links
http://perishablepress.com/press/page/3/?tag=theme
http://perishablepress.com/press/page/2/?tag=press
..plus hundreds and hundreds ...
- Three Unsolved WordPress Mysteries
- After several years of using WordPress, I have at least three unanswered questions:
What’s up with the WordPress PHP Memory Error?
Why do certain phrases trigger “Forbidden” errors when saving or publishing posts?
What happened to the Plugin Pages in the WordPress Codex?
Let’s have a look at each one of these baffling mysteries..
Unsolved Mystery #1: What’s up with the WordPress PHP Memory Error?
Every single day, WordPress generates hundreds of these errors:
[20-Feb-2008 19:49:42] PHP ...
- Custom HTTP Errors via htaccess
- We all know how important it is to deliver sensible, helpful 404 error pages to our visitors. There are many ways of achieving this functionality, including the well-known htaccess trick used to locally redirect users to custom error pages:
# htaccess custom error pages
ErrorDocument 400 /errors/400.html
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html
..and so on. These directives basically tell Apache to deliver the designated documents for their associated error ...
- Improve Site Performance by Increasing PHP Memory for WordPress
- During the recent ASO server debacle, I raced frantically to restore functionality to Perishable Press. Along the way, one of the many tricks that I tried while trying to fix the dreaded “white screen of death” syndrome involved increasing the amount of PHP memory available to WordPress. This fix worked for me, but may not prove effective ...
- WordPress Error Fix(?): Increase PHP Memory for cache.php
- This trick isn’t guaranteed to prevent all WordPress-generated PHP memory errors, but it certainly seems to help reduce their overall occurrence. For some reason, after my host upgraded their servers to Apache 1.3.41, I began logging an extremely high number of fatal PHP “memory exhausted” errors resulting from the WordPress cache.php script. Here is an example of the countless errors that are generated:
[17-Feb-2008 19:26:38] PHP Fatal error: Allowed memory size ...
- Advanced PHP Error Handling via PHP
- In my previous articles on PHP error handling, I explain the process whereby PHP error handling may be achieved using htaccess. Handling (logging, reporting) PHP errors via htaccess requires the following:
Access/editing privileges for htaccess files
A server running ...
- Advanced PHP Error Handling via htaccess
- In my previous article on logging PHP errors, How to Enable PHP Error Logging via htaccess, we observed three fundamental aspects of preventing, preserving, and protecting your site’s PHP errors:
Prevent public display of PHP errors via htaccess
# supress php errors
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_value docref_root 0
php_value docref_ext 0
Preserve (log) ...
- Plenty of Errors to Chew On..
- Alrighty then! Looks like recent changes to site structure have really dropped a bomb on quite a few regular visitors out there. After switching over to the new default theme last night, I had setup an email notification system to alert me of all errors encountered at this domain (i.e., the main site and all test sites). Of course, I knew that at least a few errors would be ...