Community Support Forums — WordPress® ( Users Helping Users ) — 2012-01-10T18:28:19-05:00 http://www.primothemes.com/forums/feed.php?f=5&t=394 2012-01-10T18:28:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=60168#p60168 <![CDATA[Re: Caching works, Auto-caching does not.]]>
Jim

Statistics: Posted by doctorproctor — January 10th, 2012, 6:28 pm


]]>
2012-01-07T15:33:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=59941#p59941 <![CDATA[Re: Caching works, Auto-caching does not.]]>
  • Manually invoked wp-cron.php and all went well on the Quick Cache end, including other scheduled cron jobs (installed Cron GUI plugin to check)
  • Checked my server (Ubuntu), and server cron jobs seem to be going well, which as I understand doesn't matter since separate from wp-cron?
  • Tried your recommended code above in functions.php, but no error msg
  • Installed WP-Cron Control plugin as cron workaround, and got to work successfully (checked logs) but didn't call WP cron jobs
So at this point I'm stuck! I did a fairly thorough search for WP cron problems, and some appeared around v2.9 but none later, and the v2.9 workaround didn't help. One odd thing is that I do receive regular version/plugin/theme update notifications, which appear to be called via wp-cron (they're in my queue), but your Quick Cache events are in the queue as well and they don't seem to get executed (cache flush, garbage collector, etc.)

Sure appreciate any help with this; will post to general WP forum too re. cron.

Jim P.

Statistics: Posted by doctorproctor — January 7th, 2012, 3:33 pm


]]>
2012-01-06T19:13:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=59877#p59877 <![CDATA[Re: Caching works, Auto-caching does not.]]>
My expiration setting is 3600. I'm running v111203 with WP x3.2.1. Happy to submit other settings as needed.

In comparing the alternatives for WP caching, I went with QuickCache in part due to this auto-cache functionality and the ability to directly enter URLs. My site (sge.lclark.edu) actually loads just fine except for some time-consumptive pages; without auto-caching, each of these pages greets one unlucky browser upon each initial load!

Thanks much for whatever help you may have.

Regards,

Jim P.

Statistics: Posted by doctorproctor — January 6th, 2012, 7:13 pm


]]>
2011-09-29T05:35:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=41908#p41908 <![CDATA[Re: Caching works, Auto-caching does not.]]> "php wp_cron.php" the garbage collection works, but the auto cache does not...... O.o ?

Statistics: Posted by nouxtywe — September 29th, 2011, 5:35 am


]]>
2011-09-29T05:29:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=41907#p41907 <![CDATA[Re: Caching works, Auto-caching does not.]]>
Jason Caldwell wrote:
Hi there. Thanks for reporting back. Your emails were received.
So if you're putting in this code, and it DOES trigger the error message, then you'll need to contact your hosting provider. If your hosting provider has disabled WP_Cron, you'll need to have them turn it on; or switch hosting providers. I'm sorry, if that code snippet returns an error, there is nothing I can do.

Code:
if(is_admin())
    if(!function_exists("wp_cron") || (defined('DISABLE_WP_CRON') && DISABLE_WP_CRON))
        echo 'WP_Cron has been disabled on your WordPress installation.';

You could also check your /wp-config.php file.
If you find a line inside your /wp-config.php file that looks like this:
Code:
define("DISABLE_WP_CRON", true);

you'll need to remove it.


Hi, I have my own dedicated server, I didn't desactivated anything but I got your message "WP_Cron has been disabled..." when I added your code.
I can't explain that, any tips on how to fix this ?
QC caching works but not garbage collection nor auto caching (not surprising, eh)

Statistics: Posted by nouxtywe — September 29th, 2011, 5:29 am


]]>
2011-09-04T08:48:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=33969#p33969 <![CDATA[Re: Caching works, Auto-caching does not.]]>
<!-- Quick Cache Is Fully Functional :-) ... A Quick Cache file was just served for ( www.hcgdietreviews101.com ) in 0.01792 seconds, on Sep 4th, 2011 at 1:43 pm UTC. -->

I have set everything correctly but I do not see a /wp-content/cache/qc-l-auto-cache.log

I have set Mutex to Flock and it still does not seem to create a /wp-content/cache/qc-l-auto-cache.log file.

I assume this means auto cache is not working.

What else can I do?

Statistics: Posted by bsl1964 — September 4th, 2011, 8:48 am


]]>
2010-12-22T18:44:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=5173#p5173 <![CDATA[Re: Caching works, Auto-caching does not.]]> Statistics: Posted by Lincoln — December 22nd, 2010, 6:44 pm


]]>
2010-11-24T00:41:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=4858#p4858 <![CDATA[Re: Caching works, Auto-caching does not.]]>
The qc-l-auto-cache.log was not being created. Other wp-cron jobs were definitely running.

I changed this setting: "Maintain Mutex Using Flock() Or A Semaphore?" ... to "Flock" ... and auto-cache started working properly.

I'm running on Rackspace Cloud ... and the notes under the settings say that I should be using this particular setting in that environment ... I just hadn't noticed it before, and wasn't seeing any other problems or issues.

I'll be curious to see how auto-caching works, now that I can see it is definitely pulling down pages now and updating the cache.

Statistics: Posted by nowsms — November 24th, 2010, 12:41 am


]]>
2010-08-05T11:31:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=2118#p2118 <![CDATA[Re: Caching works, Auto-caching does not.]]> ~ Please email me a Dashboard login to your installation of WordPress.

I'll have a look for you.

Statistics: Posted by Jason Caldwell — August 5th, 2010, 11:31 am


]]>
2010-08-05T06:16:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=2110#p2110 <![CDATA[Re: Caching works, Auto-caching does not.]]>
We run on 2 dedicated servers - no hosting provider here, and we're not blocking WP_Cron.

We have WP-Cron running and preforming other tasks. The error message I saw before that I reported on was just due to me putting the code in the wrong spot.

Statistics: Posted by Guest — August 5th, 2010, 6:16 am


]]>
2010-08-04T22:27:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=2089#p2089 <![CDATA[Re: Caching works, Auto-caching does not.]]> Hi there. Thanks for reporting back. Your emails were received.
So if you're putting in this code, and it DOES trigger the error message, then you'll need to contact your hosting provider. If your hosting provider has disabled WP_Cron, you'll need to have them turn it on; or switch hosting providers. I'm sorry, if that code snippet returns an error, there is nothing I can do.

Code:
if(is_admin())
    if(!function_exists("wp_cron") || (defined('DISABLE_WP_CRON') && DISABLE_WP_CRON))
        echo 'WP_Cron has been disabled on your WordPress installation.';

You could also check your /wp-config.php file.
If you find a line inside your /wp-config.php file that looks like this:
Code:
define("DISABLE_WP_CRON", true);

you'll need to remove it.

Statistics: Posted by Jason Caldwell — August 4th, 2010, 10:27 pm


]]>
2010-07-31T21:22:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=2012#p2012 <![CDATA[Re: Caching works, Auto-caching does not.]]>
No still no luck - It does give me the error message when we put that code in.

I really just want to pay you to fix it for me if possible, It's very important this works last week.

My e-mail address is dmaloney@yourtechie.ca.

Cheers,
DM

Statistics: Posted by Guest — July 31st, 2010, 9:22 pm


]]>
2010-07-28T03:32:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=1874#p1874 <![CDATA[Re: Caching works, Auto-caching does not.]]> Gotchya. Thanks for reporting back on this.

Here is one other thing you can try. It is possible that your installation of WordPress has WP_Cron disabled. Try adding this to the functions.php file for your WordPress theme, and see if you get the error message in your Dashboard.

Code:
if(is_admin())
    if(!function_exists("wp_cron") || (defined('DISABLE_WP_CRON') && DISABLE_WP_CRON))
        echo 'WP_Cron has been disabled on your WordPress installation.';

If you still have no luck, please feel free to email me a WP Dashboard login.
I'll be happy to have a look for you. You can use the email link under my name.

Statistics: Posted by Jason Caldwell — July 28th, 2010, 3:32 am


]]>
2010-07-23T06:37:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=1776#p1776 <![CDATA[Re: Caching works, Auto-caching does not.]]>
Just tried setting the cache expiry to 3720 to see if I was not caching due to being right at 3600 but the problem was not fixed.

DM

Statistics: Posted by Guest — July 23rd, 2010, 6:37 am


]]>
2010-07-23T05:47:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=1774#p1774 <![CDATA[Re: Caching works, Auto-caching does not.]]>
Quick Caching Enabled? On (Enabled)

Enable Internal Debugging For Quick Cache? False (Disable)

Don't Cache Pages For Logged In Users? True (Don't Cache)

Don't Cache Query String GET Requests? True (Don't Cache)

Allow Double-Caching In The Client-Side Browser? False (Disallow)

Set The Expiration Time On Quick Cache Files? 3600

Enable Dynamic Cache Pruning Routines? Single (Purge only the specific post/page)

Don't Cache These Special URI Patterns?
"wp-app
wp-admin
wp-login
xmlrpc.php"

Don't Cache These Special Referrer Patterns? (Empty)

Don't Cache These User-Agent Patterns? "wc3_validator"

Maintain Mutex Using Flock() Or A Semaphore? Mutex (Semaphore)

Create An MD5 Version Salt For Quick Cache? (Empty)

XML Sitemap Auto-Caching + Additional URLs

Enable The Auto-Cache Engine? Yes (Keep my site auto-cached)

Auto Cache User-Agent String: "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3"

The Full URL To Your XML Sitemap: "http://woodstock.snapnews.ca/sitemap.xml"

A List Of Additional URLs, to "Auto-Cache" ( one per line ): "http://woodstock.snapnews.ca/"

Maximum Processes Allowed ( prevents flooding ): Up to 25 pages (Every 5 Minutes)

Deactivation Safeguards ( optional, recommended ): Yes

The plugin works perfect when I hit the page, It caches, works just fine. No /wp-content/cache/qc-l-auto-cache.log is being created.

As a workaround is there a way to run the autocaching routine via a cron?

I will also pay you to fix the problem.

Statistics: Posted by Guest — July 23rd, 2010, 5:47 am


]]>
2010-07-23T00:02:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=1764#p1764 <![CDATA[Re: Caching works, Auto-caching does not.]]> so I'm assuming this is a configuration issue, or a plugin conflict perhaps.

Here are some things I would look at ( possible solutions ).
  • Is Auto-Cache enabled?
  • Is Quick Cache enabled?
  • Is your Sitemap URL filled in?
  • Have you configured any No-Cache rules that might be preventing Quick Cache from working as expected?
  • What is your Cache Expiration setting? It must be at least 3600. Otherwise, the Auto Cache engine will not run. This is for security and bandwidth protection.
  • Do you have a /wp-content/cache/qc-l-auto-cache.log file? If so, what does it tell you?
  • Under the Quick Cache -> Auto Cache panel, what is "Auto Cache User-Agent String" set to?
  • Under the Quick Cache -> Auto Cache panel, what is "Maximum Processes Allowed" set to?

Statistics: Posted by Jason Caldwell — July 23rd, 2010, 12:02 am


]]>
2010-07-22T22:46:24-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=1750#p1750 <![CDATA[Re: Caching works, Auto-caching does not.]]> Statistics: Posted by Guest — July 22nd, 2010, 10:46 pm


]]>
2010-07-22T05:02:16-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=1698#p1698 <![CDATA[Re: Caching works, Auto-caching does not.]]> ~ Just trying to get a bigger picture of your configuration.

Statistics: Posted by Jason Caldwell — July 22nd, 2010, 5:02 am


]]>
2010-07-16T19:17:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=394&p=1623#p1623 <![CDATA[Caching works, Auto-caching does not.]]>
Set up Quick Cache on my page... Works great!!

Except...

Auto Caching does not work at all. I'm running wordpress 3.0, and my server works with cron jobs. The page does not auto regenerate after its expiration time.

Any ideas or a work around on how I can make it auto-regenerate?

Much love,
DM

Statistics: Posted by Guest — July 16th, 2010, 7:17 pm


]]>