[pmwiki-users] Zap, JITS, & Warnings [was: Zap & Warnings]
the Other michael
xraysmalevich at gmail.com
Fri Mar 30 09:03:59 CDT 2007
_some_ of ZAP is working -- as you said "Installation successful" appears.
also, the basic forms test as given on
http://www.fast.st/zapbeta/pmwiki.php?n=Support/Tutorials/GettingStarted
works as well --and does NOT generate the errors that occur with the
Install test.
hrm....
However, "Illegal offset et al" occurs no matter what skin (including
default), and with all other extensions turned off.
I installed ZAP as a prereq for JITS -- where nothing works at all.
I've got a Test page and the appropriate footer, but no zap buttons, etc.
source of
(:include JITS.JITSsnip #mainpage#mainpageend:)
(:JITSlevel: main:)
generates
version
20070327
The parts of this page are to be included into specific JITS pages as follows:
* into the <Group>.GroupFooter (e.g. John.GroupFooter,
Bob.GroupFooter, Projects.GroupFooter)
insert text:
(:if equal {*$:PInd} "JITS":)(:include JITS.JITSsnip
#grpftr#grpftrend:)(:ifend:)
* into main JITS page (e.g. John.Tasks, Bob.Tasks,
Projects.ProjectA?, Projects.ProjectB?)
insert text:
(:include JITS.JITSsnip #mainpage#mainpageend:)(:JITSlevel: main:)
* if you wish to have pagelist containing main JITS pages only listed
use (:pagelist group={$Group} name=-*Recent* $:JITSlevel=main:)
Show "New issue" button, filters controls and a filtered pagelist
[[#mainpage]]
>>comment<<
------------------------------------------------
Get params from browser address line
- ?addthread=[yes | ""] ... create new issue page
- ?jnewcomm=[yes | ""] ... create new comment page
------------------------------------------------
>><<
(:zapget:)
>>comment<<
------------------------------------------------
Show NewIssue Button if param addthread NOT equals to yes
Test existence of filtering vars. If !exist then generate
them when formNew submitted.
------------------------------------------------
>><<
(:zapform key=formNewIssueButton action={*$PageUrl}?addthread=yes:)
(:if equal {*$:JName} "":)
(:zap datapage_1="{*$Group}.{*$Name}" formNewIssueButton:)
[[...]]
etc etc etc
All JITS pages exists, the footer created according to demo, etc.
I'm assuming it's a ZAP-related issue.
-the Other michael
http://www.xradiograph.com/interference
http://www.xradiograph.com/wrottings
On 3/30/07, The Editor <editor at fast.st> wrote:
> On 3/29/07, the Other michael <xraysmalevich at gmail.com> wrote:
> > > Just by chance did you put this in the sidebar or some other section
> > > besides the main page in the wiki? That sometimes gives header
> > > warning messages.
> >
> > Nope, put it in the main bulk of a page (Sandbox). I am using the
> > Triad skin, if it makes any difference. And MarkupExtensions. And a
> > number of other recipes. ZAP is the last include state in the config
> > file. Also, running under IIS. I know that sometimes makes a
> > difference...
>
>
> Hi Other michael
>
> I posted a request to the devel list to see if anyone has an idea.
> I'm not sure what to say as I've never seen this error before and
> cannot replicate myself. Perhaps it is an IIS thing...
>
> The fact you are getting the message "installation successful," does
> mean ZAP is installed and enabled properly. Why it's throwing an
> error I don't know.
>
> You might try a couple other snippets and see if they all give the
> same message, or if it's only certain commands. Also, you might try
> disabling other recipes or changing the skin to PmWiki to see if
> there's a conflict with one or the other. Or move ZAP to the first
> recipe you enable. Maybe something will make a difference. If you
> could help narrow down the problem on your end it might speed things
> up on the debugging side here.
>
> If I hear anything on the devel list I'll let you know.
>
> Cheers,
> Dan
More information about the pmwiki-users
mailing list