revbob
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: found_posts is always zeroSorry, evidently the “Adhesive” plugin misbehaves on 2.1. When it’s disabled the problem goes away.
Forum: Fixing WordPress
In reply to: i hate the new code editorLog in to WordPress. In the upper right hand corner of the page, click on “My Profile”. At the top of the page you’ll see “Use the visual editor when writing”. Uncheck that box.
I don’t like the visual editor either. I’ve improved the regular “quicktags editor”. Well, I think I’ve improved it. Judge for yourself:
Forum: Fixing WordPress
In reply to: missing dashboard textOK, so y’all know something is amiss with the dashboard page, and the problem seems to arise when PHP’s XML parser tries to parse the RSS we’re getting from the WP site?
OK. Btw, it worked for a while last night.
Forum: Fixing WordPress
In reply to: missing dashboard textAnd here’s the first XML that appears (in $source):
<?xml version=”1.0″ encoding=”utf-8″?>
<!– generator=”wordpress/1.6-ALPHA-do-not-use” –>
<rss version=”2.0″
xmlns:content=”https://purl.org/rss/1.0/modules/content/”
xmlns:wfw=”https://wellformedweb.org/CommentAPI/”
xmlns:dc=”https://purl.org/dc/elements/1.1/”
><channel>
Forum: Fixing WordPress
In reply to: missing dashboard textSorry, here’s the last XML that appears:
<wfw:commentRSS>https://www.ads-software.com/development/2005/04/popular-science/feed/</wfw:commentRSS>
</item><item>
<title>WordPress Hosting</title>
<link>https://www.ads-software.com/development/2005/04/wordpress-hosting/</link>
<comments>https://www.ads-software.com/development/2005/04/wordpress-hosting/#comments</comments>
<pubDate>Thu, 14 Apr 2005 00:31:46 +0000</pubDate>
<dc:creator></dc:creator><category>Development</category>
<guid>https://www.ads-software.com/development/2005/04/wordpress-hosting/</guid>
<description><![CDATA[ It seems like every few days a post comes up on the support forums about hosting — people asking for recommendations, talking about problems, or sharing advice. Where your blog lives is really central to your WordPress experience, and for a long time we’ve wanted to highlight some excellent resources to consider next time you’re […]]]></description>
<content:encoded><![CDATA[ It seems like every few days a post comes up on the support forums about hosting — people asking for recommendations, talking about problems, or sharing advice. Where your blog lives is really central to your WordPress experience, and for a long time we’ve wanted to highlight some excellent resources to consider next time you’re considering a web host. On our new web hosting page we try to do just that, pointing you in the direction of some people we think are swell. Better yet, some of the hosts on that page donate back to WordPress, so you can support WordPress by patronizing them. There is more information about everything on the web host page, including a place to send feedback if you have any. Happy hosting!]]></content:encoded>
<wfw:commentRSS>https://www.ads-software.com/development/2005/04/wordpress-hosting/feed/</wfw:commentRSS>
</item>Forum: Fixing WordPress
In reply to: missing dashboard textI put in some diagnostic code in rss-functions.php to find out why RSS feeds aren’t printing:
print(“Source =
” . $source . “\n”);
$status = xml_parse( $this->parser, $source );if (! $status ) {
$errorcode = xml_get_error_code( $this->parser );
print(“
Error code from xml_parse() = ” . xml_error_string($errorcode) . “\n”);Here’s the results:
Source =
https://www.ads-software.com/development Updates and information relevant to the development of WordPress Tue, 14 Jun 2005 22:00:11 +0000 https://www.ads-software.com/?v=1.6-ALPHA-do-not-use en https://www.ads-software.com/development/2005/06/browsing-happy/ https://www.ads-software.com/development/2005/06/browsing-happy/#comments Wed, 01 Jun 2005 19:27:20 +0000 Development https://www.ads-software.com/development/2005/06/browsing-happy/ https://www.ads-software.com/development/2005/06/browsing-happy/feed/ https://www.ads-software.com/development/2005/05/security-update/ https://www.ads-software.com/development/2005/05/security-update/#comments Fri, 27 May 2005 17:34:48 +0000 Development https://www.ads-software.com/development/2005/05/security-update/ https://www.ads-software.com/development/2005/05/security-update/feed/ https://www.ads-software.com/development/2005/05/one-five-one/ https://www.ads-software.com/development/2005/05/one-five-one/#comments Mon, 09 May 2005 19:39:20 +0000 Development https://www.ads-software.com/development/2005/05/one-five-one/ https://www.ads-software.com/development/2005/05/one-five-one/feed/ https://www.ads-software.com/development/2005/04/popular-science/ https://www.ads-software.com/development/2005/04/popular-science/#comments Tue, 26 Apr 2005 15:49:21 +0000 Development https://www.ads-software.com/development/2005/04/popular-science/ https://www.ads-software.com/development/2005/04/popular-science/feed/ https://www.ads-software.com/development/2005/04/wordpress-hosting/ https://www.ads-software.com/development/2005/04/wordpress-hosting/#comments Thu, 14 Apr 2005 00:31:46 +0000 Development https://www.ads-software.com/development/2005/04/wordpress-hosting/ https://www.ads-software.com/development/2005/04/wordpress-hosting/feed/
Error code from xml_parse() = xml declaration not at start of external entityConclusion: we seem to be getting bad XML from the WordPress site.
Forum: Fixing WordPress
In reply to: Upgrade 1.5 > 1.5.1Do you suppose I should have mentioned that my fix is a fix in the sense that (a) it gets rid of the error message and (b) seems at first glance to work, as far as I can tell, but is almost totally untested?
Naaaah.
Forum: Fixing WordPress
In reply to: Upgrade 1.5 > 1.5.1BAStats fix:
Add the following to BAStats.php right after the first include:
require (ABSPATH . WPINC . '/pluggable-functions.php');
Forum: Fixing WordPress
In reply to: Any downside to pre-publishing?Thanks. I’ll hold off on setting up my automated blogging factory for a while, then. No use annoying people with articles that aren’t available yet.
Forum: Fixing WordPress
In reply to: Advice wanted: setting up a test version of production siteThe test site would be used ONLY for changes to the site’s appearance and not to modify anything in the database.
If you really mean that, then what you need to do is put the changes into a new theme. You can access it something like this:
https://www.yourblog.com/index.php?wptheme=My+New+Theme
And when it’s all ready for the public, log in, go to the Presentation page, and set the new theme as the default.
Forum: Fixing WordPress
In reply to: Odd Validation Error in list_cats tagWell, it’s not like this is a bug (I’m replying as though I were a “wise one, which is a bit of a hoot, but anyway). PHP’s rewrite engine is doing just what it’s supposed to be doing: when you’re doing sessions, you need to pass session IDs around.
The way I found the session stuff was to grep on “session” in the plugin directories. Here’s a line in
stattraq.php
that seems to be up to no good:if(!headers_sent()){@session_start();}
Btw, I had erroneously fingered Theme Switcher, which does not use sessions. I’ve corrected it on my blogsite.
Forum: Fixing WordPress
In reply to: WordPress as a CMSAhhh, that was the part I didn’t get. Brilliant idea.
Forum: Fixing WordPress
In reply to: PHPSESSID invalid input tagTwo workarounds at https://blog.crispen.org/archives/2005/03/09/wordpress-validation-error-work-around/
one of which is dangerous. ??Forum: Fixing WordPress
In reply to: Odd Validation Error in list_cats tagYou’re in luck. It sounds like the validation error on the search form. If it is, I just posted a workaround: https://blog.crispen.org/archives/2005/03/09/wordpress-validation-error-work-around/
Note that the second workaround has the additional virtue that it’s dangerous! ??
Forum: Fixing WordPress
In reply to: WordPress as a CMSThere is an easier and imho, better, solution — though it’s different from what you specify — if your domain host is accommodating: I’ve got a main page at https://www.crispen.org/ and a blog at https://blog.crispen.org/. Just ask your domain host for a sub-domain (aka virtual host) and point blog.yourdomain.com to https://www.yourdomain.com/blog/. My domain host performs this service for free (and has a script to automate it), but when I was shopping for domain hosts, I ran into some that wanted a full monthly fee for each virtual host.
As I said, it doesn’t solve your particular set of requirements, but some folks might find it useful.