Re: [pmwiki-users] BlogIt does not converts plain wiki pages

2010-02-16 Thread DaveG


On 2/16/2010 11:05 AM, ki...@kirpi.it wrote:
> I've been positively impressed by the comment handling of the BlogIt
> recipe (although something still needs ironing), and after a few
> (loose) tests I would like to convert all my wiki to BlogIt.
> But as I try to call a page with
>   ?action=blogitupgrade&pattern=.&writetofile=true
> in order to convert the whole wiki, I get
I just noticed that you don't specify a 'mode' parameter. By default, if 
no mode parameter is specified then an upgrade will be run. Upgrades 
only run on pages that are already BlogIt pages. So you'll need to add 
&mode=convert

  ~ ~ Dave

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] BlogIt does not converts plain wiki pages

2010-02-16 Thread DaveG


On 2/16/2010 3:37 PM, ki...@kirpi.it wrote:
>> It looks like this error occurs if you use the built-in PmWiki security (ie,
>> not AuthUser). Can you confirm that you using the basic PmWiki security, and
>> are you running the latest version of BlogIt?
>
> Yes, I can confirm.
I'll post an update to correct the problem.


> As a matter of fact, I also have a problem as the standard edit
> password seem not to be enough to save changes, and I am always forced
> to log in ad admin.
> Not a big problem to me personally, but something should be wrong somehow.
You should not need to login as admin. By default you should only need 
'edit' privs. Could you send me the config used to setup blogit security 
(any $bi_Auth statements).

>> Also, I don't recommend converting *all* pages, as this would also convert
>> the PmWiki group pages, and possibly other system pages. I'll update the
>> docs to reflect this. Usually use something to delineate the group like
>> &pattern=Blog\.
>
> Ok, I'll follow youe advice.
> Still there should be some "filter", maybe, not to change special
> pages like "RecentChanges" and the like. Or not?
Agreed there should be a filter probably using $SearchPatterns, and this 
is how things started out. Somehow over time, I remove this restriction. 
I'll add it on to the todo list.

  ~ ~ Dave

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] BlogIt does not converts plain wiki pages

2010-02-16 Thread ki...@kirpi.it
> It looks like this error occurs if you use the built-in PmWiki security (ie,
> not AuthUser). Can you confirm that you using the basic PmWiki security, and
> are you running the latest version of BlogIt?

Yes, I can confirm.

As a matter of fact, I also have a problem as the standard edit
password seem not to be enough to save changes, and I am always forced
to log in ad admin.
Not a big problem to me personally, but something should be wrong somehow.


> Also, I don't recommend converting *all* pages, as this would also convert
> the PmWiki group pages, and possibly other system pages. I'll update the
> docs to reflect this. Usually use something to delineate the group like
> &pattern=Blog\.

Ok, I'll follow youe advice.
Still there should be some "filter", maybe, not to change special
pages like "RecentChanges" and the like. Or not?


Thanks
Luigi

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] BlogIt does not converts plain wiki pages

2010-02-16 Thread DaveG


On 2/16/2010 11:05 AM, ki...@kirpi.it wrote:
> I've been positively impressed by the comment handling of the BlogIt
> recipe (although something still needs ironing), and after a few
> (loose) tests I would like to convert all my wiki to BlogIt.
> But as I try to call a page with
>   ?action=blogitupgrade&pattern=.&writetofile=true
> in order to convert the whole wiki, I get
> Fatal error: Function name must be a string in
> /web/htdocs/www.kirpi.it/home/wiki/cookbook/blogit/blogit.php on line
> 472
Just, an fyi, I can replicate this problem, and I'm looking into a 
solution.

It looks like this error occurs if you use the built-in PmWiki security 
(ie, not AuthUser). Can you confirm that you using the basic PmWiki 
security, and are you running the latest version of BlogIt?

Also, I don't recommend converting *all* pages, as this would also 
convert the PmWiki group pages, and possibly other system pages. I'll 
update the docs to reflect this. Usually use something to delineate the 
group like &pattern=Blog\.


  ~ ~ Dave

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] BlogIt does not converts plain wiki pages

2010-02-16 Thread ki...@kirpi.it
I've been positively impressed by the comment handling of the BlogIt
recipe (although something still needs ironing), and after a few
(loose) tests I would like to convert all my wiki to BlogIt.
But as I try to call a page with
 ?action=blogitupgrade&pattern=.&writetofile=true
in order to convert the whole wiki, I get
Fatal error: Function name must be a string in
/web/htdocs/www.kirpi.it/home/wiki/cookbook/blogit/blogit.php on line
472
I made sure to backup wiki.d and login as admin before issuing the command.
What could it be, please?

Bravo Dave, anyway!

Luigi

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users