mrtemple
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Help! The Famous White Screen of Death {WSOD}I finally think I’ve solved the White Screen of Death from PHP out of memory Fatal Errors.
Full details here: http://www.isthisyourhomework.com/how-to-fix-the-wordpress-white-screen-of-death/
If setting the WordPress and PHP memory limits doesn’t work for you, try adding/edditing the following line in either your Apache conf files. I didn’t have access to those, so I added the following line to the
.htaccessfile in my WP server’s document root:RLimitMEM maxMany hosts have set limits on each user on shared-use servers. The above setting will unfetter your server and banish the WSOD.
Forum: Fixing WordPress
In reply to: Help – Fatal error: Allowed memory size of 33554432 bytes exhaustedI finally think I’ve solved the White Screen of Death from PHP out of memory Fatal Errors.
Full details here: http://www.isthisyourhomework.com/how-to-fix-the-wordpress-white-screen-of-death/
If setting the WordPress and PHP memory limits doesn’t work for you, try adding/edditing the following line in either your Apache conf files. I didn’t have access to those, so I added the following line to the
.htaccessfile in my WP server’s document root:RLimitMEM maxMany hosts have set limits on each user on shared-use servers. The above setting will unfetter your server and banish the WSOD.
Forum: Fixing WordPress
In reply to: How to increase or adjust memory size for a hosting ?I finally think I’ve solved the White Screen of Death from PHP out of memory Fatal Errors.
Full details here: http://www.isthisyourhomework.com/how-to-fix-the-wordpress-white-screen-of-death/
If setting the WordPress and PHP memory limits doesn’t work for you, try adding/edditing the following line in either your Apache conf files. I didn’t have access to those, so I added the following line to the
.htaccessfile in my WP server’s document root:RLimitMEM maxMany hosts have set limits on each user on shared-use servers. The above setting will unfetter your server and banish the WSOD.
Forum: Fixing WordPress
In reply to: Post revisions missingMy WP is hosted on DreamHost. Apparently, by default DreamHost has revisioning turned off by default.
To turn it back on, first find the following in wp-config.php:
// Turning off Post Revisions. Comment this line out if you would like them to be on. define('WP_POST_REVISIONS', false );Next, comment out the line, like so:
// Turning off Post Revisions. Comment this line out if you would like them to be on. // define('WP_POST_REVISIONS', false );Forum: Fixing WordPress
In reply to: Post revisions missingI’m having the same problem. No page revisions, nothing to select under “Screen Options”. I’m using 3.1.2.
I’ve turned off all plugins, but that didn’t change anything.
Forum: Fixing WordPress
In reply to: Searching with AmpersandsI was having the same difficulties. I tried every search plugin out there to no avail.
I added some debugging and dug and dug until I realized the problem was that the ampersand was never being sent to the PHP from the search form.
Finally I figured it out by hacking in some javascript to my theme’s search form.
Note: All this does is change the “&” in a search query to “& amp;” (no spaces) before it is submitted.
WP’s default search engine still does not search successfully when this is done. I am using the Search Unleashed plugin with the “Lucene” search engine (remember to re-index!”). This is the only search engine in the Search Unleashed plugin that works, but other search engines in other plugins may work as well. To test, search for your string with & amp; (no spaces) in it (eg: “AT& amp;T”). If that works and finds AT&T, then this change will allow your users to enter only “AT&T”.
How To:
In the tag for the search form you will need to add the following onsubmit attribute:
onSubmit="s.value = s.value.replace('&','& amp; amp;'); submit();"
** No spaces in the “& amp; amp;”! **Where the “
s” from “s.value” is the id of your search input text element.My form looks like this now:
<form method="get" id="searchform" action="<?php bloginfo('home'); ?>" onSubmit="s.value = s.value.replace('&','& amp; amp;'); submit();" /> <div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" /> <input type="submit" class="button" id="searchsubmit" value="Search" /> </div> </form>Note: This isn’t a perfect fix. For example, the Search Unleashed’s landing page search box will not quite work. If you searched for AT&T, it will show ‘you landed here by searching for “AT”, instead of “AT&T”. You can turn that landing page notice off though.
Hopefully this helps you. It was a dealbreaker for me and I sweated the solution for far longer than it should have taken. I’d love to see WP handle this more elegantly.
Forum: Your WordPress
In reply to: Design Company WebsiteHi there, excellent site. What theme are you using? I’d love to have similar site structure elements, but choose my own design. Do you have suggestions for themes which provide similar site structure?