<b>Notice</b>: Undefined offset: 1 in <b>/disk/wiki/sandbox/
extensions/SemanticForms/includes/SF_ParserFunctions.php</b> on line
<b>58</b><br />
<br />
<b>Notice</b>: Use of undefined constant noparse - assumed 'noparse'
in <b>/disk/wiki/sandbox/extensions/SemanticForms/includes/
SF_ParserFunctions.php</b> on line <b>66</b><br />
Perhaps not everyones server has Notice warnings turned on? I'll try
and track these down too.
~wheresmytab
foreach ($query_components as $component) {
list($key, $val) = explode('=', $component);
$str .= ' <input type="hidden"
name="' . $key . '" value="' . $val . '">' . "\n";
}
The second line is line 58 which makes the error:
Undefined offset: 1 in /disk/wiki/sandbox/extensions/SemanticForms/
includes/SF_ParserFunctions.php on line 58
It must be in the list assignment function, but I dont see how.
Thoughts?
~wheresmytab
On Aug 21, 5:31 pm, "Yaron Koren" <yaro...@gmail.com> wrote:
> That's interesting - I'm guessing the relevant part of that line should read
>
> 'noparse' => 'true'
>
> instead of what it is now, which is
>
> noparse => true
>
> I saw different variations in the different online examples I looked at; and
> for me they all worked so I didn't know which to go with. Let me know if
> that improves the situation. Thanks very much also for your help n the
> FormEditTab class; I'll look more at that later.
>
> -Yaron
>
Does the parser function support passing variable names through the
CreatePage, like we talked about before?
I tried it on your wiki but couldnt make it work.
http://discoursedb.org/w/index.php?title=Talk:Forminput_parser_function_demo
~wheresmytab
On Aug 21, 7:30 pm, "Yaron Koren" <yaro...@gmail.com> wrote:
> Oh, I didn't even notice that first error message. That's poor coding on my
> part - it's complaining because "$component" might not have an equals sign.
> There should be an easy fix, but I'll test it out myself first and then let
> you know.
>
> -Yaron
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Semantic Forms" group.
To post to this group, send email to semanti...@googlegroups.com
To unsubscribe from this group, send email to semantic-form...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/semantic-forms?hl=en
-~----------~----~----~----~------~----~------~--~--