Recent Changes - Search:

PmWiki

pmwiki.org

WikiFarms-Talk

A glitch

I couldn't get local configs to work on my private farm with pmwiki-2.1.27. This was my fix:

1. the index.php in my farmed directory consisted of

<?php 
$LocalDir = dirname(__FILE__).'/local';
include('../telecom-b/pmwiki.php'); ?>

2. change line 49 of pmwiki.php from

$LocalDir = 'local';

to

SDV($LocalDir,'local');

YMMV, HTH!

'This is not recommended. You have to redo the edit every time you upgrade. It is possible to get local config files to work with farms by following the instructions for creating farms.' Sandy January 17, 2008, at 09:12 PMSandy
Although it may not be recommended, I tried at least 3 hours to fix it without making the hack, including fresh installs. It is definitely a problem with pmwiki-2.1.27, I know that I did everything else right, so when I upgrade it should work. Jonathan Sprinkle
This may be symptomatic of a problem in the include_path for your php server module. In my case, the include_path was /opt/php/lib/php, which after I modified to .:/opt/php/lib/php successfully fixed my wikifarms issues. To do this, I added the text
 # in ~/public_html/.htaccess
 ...
 php_value include_path .:$include_path
To the bottom of the ~/public_html/.htaccess file. Thanks to Pm for pointing out the fix, and Steven Leite who helped in painful debugging to rule out recipes, etc... Jonathan Sprinkle

As a new pmwiki user, I could use more details here about how to make this work and still use cleanURLS. I have the farmed wiki set up, and working with the default arrangement, but the local config doesn't seem to work as per above. And I do not understand the specifics of the solution offered. An example of how to apply a cookbook recipe with farmconfig.php would also be helpful Thanks. Netroutes?


Uploads?

If every wiki shares the same pub dir, couldn't this lead to collision between uploaded files on different wikis? --simkin December 13, 2011, at 09:04 AM

This is a talk page for improving PmWiki.WikiFarms.

Edit - History - Print - Recent Changes - Search
Page last modified on December 13, 2011, at 09:04 AM