[pmwiki-users] PageList Protect is failing

Sivakatirswami katir at hindu.org
Tue Jul 24 22:46:35 CDT 2007


Addendun to this:

today the pageprotect *is* working in this side bar list:

'''All Projects:'''
(:pagelist group=-Pmwiki,-Site,-Team,-TODO*,-XToDo* list=group $g0=1 
fmt="#jumpbox":)

I don't know why it got "stuck" yesterday, showing the protected page... 
I kept quitting
Firefox and coming back in again and the protect pages still appear in 
the pull down list
above... today they don't...I also delete my sesson cookie... just in case.

Wierd

But now today it appears that Cluster recipe will not pass the protection
for sub groups down thru a trail, where  I have only set

/WebContent/GroupAttributes

and normally this will protect and hide any explicit
link in the side bar for any page in the cluster:

[[WebContent-FAQ.FunctionalSpecification | Web FAQ Dev]]

that link would be hidden because it is in the WebContent* cluster

But the WebContent* pages are now appearing in this list:

!! Active Projects

(:pagelist trail=Site.ActiveProjects fmt=#titlespaced:)

where Site.ActiveProjects has:

This is  a trail page that is called into the page list for the global 
side bar. Edit this list to change the sidebar.

* [[VisitorCare.VisitorCalendar | Visitor Care]]
* [[HTDE.HTDE | HToday Digital Edition]]
* [[HTDE-MediaViewer/HTDE-MediaViewer | HTDE Media Viewer]]
* [[WebContent-FAQ/FunctionalSpecification | Web FAQ Dev]]  #should not 
appear...but does...
* [[Lexicon/Lexicon]]
* [[Cybertalks/Cybertalks]]
* [[MailLists.MailLists | Mail Lists Home]]
* [[XToDoSadhuTasks.000001-Notes | Mail Lists To Do]]






Sivakatirswami wrote:
> Suddenly for no reason that I can fathom... Page List Protect no longer
> functions
> 
> I have it set to 1 (see top of my farm config below..)
> 
> but page lists are now showing all groups, even those for which
> the user is not authenticated to read.
> 
> It was working a few days ago...
> 
> any insights one why it would stop?  I did manually delete
> everything in the page list work.d cache
> 
> I have yet to upgrade . 59 and am using cluster...
> 
> 
> 
> <?php
> 
> $FarmPubDirUrl = 'http://wiki.hindu.org/pmwiki/pub';
> 
> $DefaultPasswords['admin'] ='************;
> $DefaultPasswords['attr']='***********';
> $DefaultPasswords['upload'] = '***********';
> $DefaultPasswords['forms'] = 'nopass';
> 
> 
> # Groups are folderized. A new group should create a new folder
> # automatically. If it fails it is because php safe mode is back on
> # which can happen if PLESK restores its default
> # see the web server admin wiki for details on fixing that problem
> 
> $EnablePageListProtect = 1;
> $WikiDir = new PageStore('wiki.d/{$Group}/{$FullName}');
> 
> 
> 
> ######
> 
> # Cache Page lists to speed up things...
> #PmWiki will then try to automatically create work.d for each
> #wiki that doesn't already have one (and report back with an error
> # if it's unable to do so).
> 
> $PageListCacheDir = 'work.d';
> mkdirp($PageListCacheDir);
> 
> include_once('local/config.php'); ### <----- load wiki's customizations
> 
> include_once("$FarmD/cookbook/cluster.php");
> include_once("$FarmD/cookbook/wsplus.php");
> include_once("$FarmD/cookbook/zap.php");
> 
> $Skin= 'fixflow';
> 
> Sivakatirswami
> 
> 
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> 

-- 
Om shanti
(In  Peace)

Sivakatirswami
www.himalayanacademy.com

Get Hinduism Today Digital Edition. It's Free!
http://www.hinduismtoday.com/digital/



More information about the pmwiki-users mailing list