Gator Cache parse error, questions & suggestions
-
@gatordog
First of all, thanks for this excellent plugin. I’m always on the lookout for caching plugins that are light and manageable, and Gator Cache looks very promising.I’ve been testing the plugin since the first version but I could never get past the “parse error” that triggers after the 2 step installation.
I’ve had to edit the options.php to get it to work. The error seems to be caused by using the short
<?
opening tag instead of<?php
. I also read somewhere that placing brackets close to the closing php tag without any space, may also trigger the “unexpected end of file” error. There were also some</strong>
tags without the opening<strong>
tags and also some missing semi-colons.I think you have
short_open_tag
on yourphp.ini
set to On which prevents you from seeing the parse error notice. This is usually Off on production servers.Here’s the options.php that’s working for me.
edited options.php
http://www.diffchecker.com/jm809h3aThough the plugin still has some things that are not working on my tests. Posting comments doesn’t refresh the post/page. I’ve examined the
saveComment
function but I’m afraid I’m not good enough to know what’s going on 🙂The
.htaccess
rules also break the site. I’ve read that “Alias” works on the main apache config file but not on.htaccess
I only got it to work by replacing all instances of the Alias (/gator_cache/
) with the complete url that the alias is suppose to replace.Question: The timezone on the debug info on cached pages is set to
+0000
but both my server and my WordPress install is set to use+0800
. Is this normal/intentional? or maybe this is just on my end/isolated case.And lastly, a suggestion. A function to add custom urls on the Refresh Rules tab would be nice. Kind of similar to the exclude urls. Example of usage is when you have a bbpress forum added on a Page type via shortcode. Whenever a bbpress topic or reply is posted then that particular page url would also refresh.
Thanks,
Ron
- The topic ‘Gator Cache parse error, questions & suggestions’ is closed to new replies.