WordPress.org

Support

Support » Plugins and Hacks » [Resolved] mclude/mfunc not working

[Resolved] mclude/mfunc not working

  • I’m using WP Super Cache v0.5.4, and it works fine unless I want to make portions of the page dynamic. If I use with the mclude or mfunc tag, the page loads as it should the first time, then breaks every time after that; it just stops loading right after the mclude/mfunc tag. I’d really, really like to be able to do this, can anyone point me in the right direction towards a resolution?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Disable the super cache part of the plugin and it should work fine!

    Sorry for the late reply; thanks for responding! I’ve tried disabling the super cache part but the same thing happens. The weird part is, if I open the cached file and then save it (without making any changes), then it works as it’s supposed to: the page is served from cache with the dynamic part included… but only if I change the modified date on the cached file. What might be going on? Maybe something else in the system interfering with super-cache?

    For the record, I’m running it on OS X Server, Apache 2.2, and PHP 5.2. I’m also getting different behavior depending on whether I’m logged into WordPress or not (sometimes it loads the page without the include, sometimes it just halts at the include), so I’m going to do some experimenting to see if I can narrow down exactly what’s happening.

    When you disabled the super cache part, did you also delete the super cache files? Empty the cache whenever you make any changes to it.

    Yeah, I always click the ‘Delete cache’ button.

    Okay, I think the problem was buried in the code I was including and didn’t have to do with Super-Cache… if a PHP error is generated by a dynamically included file, is it logged? I don’t see anything in my error logs.

    Got it: had a call to an out-of-scope function that was halting execution… works great now. Thanks, guys! Though I would still like to know how or whether errors in dynamic files are logged.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] mclude/mfunc not working’ is closed to new replies.