Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Tutorial-3 form problem


Go to End


936 Views

Avatar
Mayuri

Community Member, 19 Posts

21 April 2008 at 3:40pm

Hi all,
I am trying with tutorial-3 of SS,

at time of flashing with http://localhost/mimomax/contact-us?flush=1
I got error like;
XML Parsing Error: junk after document element
Location: http://localhost/mimomax/contact-us?flush=1
Line Number 2, Column 1:<b>Notice</b>: Undefined index: HTTP_REFERER in <b>C:\wamp\www\mimomax\cms\code\PageTypes\UserDefinedForm.php</b>; on line <b>176</b><br />
^
Thus, I just played with http://localhost/mimomax/?flush=1
It does store data in to submissions of the CMS but shows error on the Published site like;
XML Parsing Error: junk after document element
Location: http://localhost/mimomax/contact-us/?executeForm=Form
Line Number 2, Column 1:<b>Notice</b>: Array to string conversion in <b>C:\wamp\www\mimomax\sapphire\core\model\DataObject.php</b>; on line <b>536</b><br />
^

also shows error on CMS like;

Notice: Undefined variable: default in C:\wamp\www\mimomax\sapphire\forms\EditableDropdownOption.php on line 75

Can anyone help to solve this problem? Plz..........

Cheers
Mayuri