Loading...
 
Features / Usability

Features / Usability


PlugIn Error

posts: 102

When using the SPLIT plugin, I get this error:

Warning: Division by zero in /home/rayhne/public_html/MIWiki/lib/wiki-plugins/wikiplugin_split.php on line 74

Warning: Division by zero in /home/rayhne/public_html/MIWiki/lib/wiki-plugins/wikiplugin_split.php on line 74

Any ideas what might cause this?
-------
Okay, I fixed that but now I'm trying to do the SPLIT with edit. This is the coding I'm using:

Image
{CODE()} {SPLIT(first=col,edit=y)}
{CODE}

But it isn't working. Any suggestions?

posts: 102

> When using the SPLIT plugin, I get this error:
>
> Warning: Division by zero in /home/rayhne/public_html/MIWiki/lib/wiki-plugins/wikiplugin_split.php on line 74
>
> Warning: Division by zero in /home/rayhne/public_html/MIWiki/lib/wiki-plugins/wikiplugin_split.php on line 74
>
> Any ideas what might cause this?
> -------
> Okay, I fixed that but now I'm trying to do the SPLIT with edit. This is the coding I'm using:
>
> Image
{CODE()} {SPLIT(first=col,edit=y)}
> {CODE}
>
> But it isn't working. Any suggestions?

Again, any suggestions?


posts: 4656 Japan


> But it isn't working. Any suggestions?

Don't know if it's related, but I'm wondering about those parameters. There's no "first" or "edit" in the SPLIT plugin I have — in Tiki 1.9.3.1 — only joincols, fixedsize, and colsize. Also, try equal sign and an angle bracket as shown in the plugin help, rather than an equal sign alone.

-- Gary

posts: 102

>
> > But it isn't working. Any suggestions?
>
> Don't know if it's related, but I'm wondering about those parameters. There's no "first" or "edit" in the SPLIT plugin I have — in Tiki 1.9.3.1 — only joincols, fixedsize, and colsize. Also, try equal sign and an angle bracket as shown in the plugin help, rather than an equal sign alone.
>
> — Gary

The documentation says you can use 'first' and 'edit'. Be nice if someone would take care of that documentation ... I would have finished this bloody thing weeks ago if it was even HALF correct instead of constantly running into incorrect information and and 'this page doesn't exit' warnings.

posts: 4656 Japan


> The documentation says you can use 'first' and 'edit'. Be nice if someone would take care of that documentation ... I would have finished this bloody thing weeks ago if it was even HALF correct instead of constantly running into incorrect information and and 'this page doesn't exit' warnings.

Are you using Tiki 1.10? I see at PluginSplit that those parameters are added for that Tiki version, which is the development version and not expected to be rock solid. You're right about the docs, though. What's written on that page even for the current plugin version is not the same as what's in the plugin help that shows on the editpage, which is what I was going on.

-- Gary

posts: 102

>
> > The documentation says you can use 'first' and 'edit'. Be nice if someone would take care of that documentation ... I would have finished this bloody thing weeks ago if it was even HALF correct instead of constantly running into incorrect information and and 'this page doesn't exit' warnings.
>
> Are you using Tiki 1.10? I see at PluginSplit that those parameters are added for that Tiki version, which is the development version and not expected to be rock solid. You're right about the docs, though. What's written on that page even for the current plugin version is not the same as what's in the plugin help that shows on the editpage, which is what I was going on.
>
> — Gary

I guess I'm using an early version but they shouldn't put it in the docs unless it is available in the current stable version, not the prototypes they are still working on. It might be nice for all if they stepped back from upgrading the program and devoted some time to telling us how to use the silly thing!!!!

posts: 22 United States
There is something not right in the split plugin when its inserted into a page. It should be {SPLIT()} to start the split, with the options withing the parenthesis, and {SPLIT} at the end of the split plugin. And --- for each split.