rtz
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: WP Super Cache] Front page of site not caching anymoreI experienced something similar a couple of months ago. In my case it was a bug in the theme I used at the time. (Misty Look).
In the Theme Editor, open up index.php (“Main Index Template”) for the theme you are using. If there is a line “ob_start(‘something_or_other’);” just before a foreach-loop, check if there is a “ob_end_flush();” a bit down, after the loop.
If the ob_start() is there, but no ob_end_flush(), then that’s probably the problem. The “ob_start()” opens an “output buffer”, to do some adjustmens on the HTML that wordpress outputs, but since the buffer isn’t explicitly closed, it breaks Super Cache, which also uses output buffers to do its work.
I reported the bug on the support forum for the theme, but as far as I know, it hasn’t been fixed yet.
This is what I wrote at the time.
Forum: Fixing WordPress
In reply to: 2.5 Gallery ShortCodeIf I had followed my own link, I would have seen that there indeed is an
order by
-parameter in the short code. If you want to remove the link around he image, you probably have to hack the source, however.Forum: Fixing WordPress
In reply to: 2.5 Gallery ShortCodeThe gallery shortcode is defined in wp-includes/media.php, line 333 and onwards. In its simplest form, a [gallery] should suffice. The sort order appears to be fixed, but the code is easy enough to change.
However, there appears to be a bug in the code, probably a last minute cleanup that didn’t work as expected.
The call to retrieve the images (child pages) is wrong, giving malformed SQL-statements later on. If you know your way around the
patch
tool, you can apply my diff found here.No guarantees, but it WorksForMe<tm>, well enough until they issue a proper fix.
A few links to how it’s supposed to work, parameters etc can be found if you search for gallery shortcode.
Forum: Fixing WordPress
In reply to: Image Upload – Will Pay Someone $50 to Find Out What’s WrongThis is probably not related, but my upload problems were caused by on old buggy Flash9 plugin. In my case all the files were listed and queued, but none of them would actually start to upload.
My troubles were caused by the linux plugin for Firefox, hopefully the OSX plugin is better tested and maintained. But it never hurts to check if an upgrade helps.
And BTW, the
[gallery]
shortcode to show the pictures probably won’t work. There’s a bug in media.php, which causes invalid SQL-statements. My patch for it (totally unofficial, no warranties given or implied, worth less than you paid for it, etc etc) can be found here.