<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif"><br>
<br>
Ah yes - thank you that resolved it!<br>
<br>
That would have taken me a month of Sundays to find.<span
 class="moz-smiley-s1"><span> :-) </span></span><br>
<br>
rgds<br>
<br>
Graham<br>
</font><br>
DaveG wrote:
<blockquote cite="mid:4B604576.6060000@solidgone.com" type="cite"><br>
  <br>
On 1/27/2010 7:39 AM, Graham Archer wrote:
  <br>
  <blockquote type="cite"><br>
Hi,
    <br>
    <br>
I am trying to setup a pagelist cache as per below but it doesn't
appear
    <br>
to work.
    <br>
    <br>
&nbsp;&nbsp;&nbsp; $PageListCacheDir
    <br>
&nbsp;&nbsp;&nbsp; The name of a writable directory where PmWiki can cache results of
    <br>
&nbsp;&nbsp;&nbsp; (:pagelist:) directives to speed up subsequent displays of the same
    <br>
&nbsp;&nbsp;&nbsp; list. Default is empty, which disables the pagelist cache.
    <br>
    <br>
&nbsp;&nbsp;&nbsp; # Enable pagelist caching in work.d/
    <br>
&nbsp;&nbsp;&nbsp; $PageListCacheDir = 'work.d/';
    <br>
    <br>
    <br>
    <br>
I have:
    <br>
    <br>
$PageListCacheDir = 'work.d/';
    <br>
  </blockquote>
If you're using relative paths, then the path will be from the config
file. Try something like this:
  <br>
$WorkDir = dirname(__FILE__).'/../work.d';
  <br>
$PageListCacheDir = $WorkDir .'/';
  <br>
  <br>
  <br>
&nbsp;~ ~ David
  <br>
</blockquote>
</body>
</html>