17488 Posts in 4473 Topics by 1978 members
|Go to End|
18 October 2008 at 10:18pm
Got this error and need Help:
XML-Verarbeitungsfehler: "Junk" nach Dokument-Element
Zeile Nr. 2, Spalte 1:<b>Notice</b>: Array to string conversion in <b>/srv/www/htdocs/web83/html/sapphire/core/model/DataObject.php</b> on line <b>570</b><br />
Itz a Form that has 5 file upload fields, i tested with one file, besides, the Contactform seems to work right.
Hope i get help soon for this!
19 October 2008 at 6:05am
Really need an answer here, other wise i need to switch on another CMS, this not what i want, but i need to get this working!
20 October 2008 at 10:22am
The user defined form is pretty messy and it could be a number of things wrong. I would just remove the xml validation from the page (it could still be valid html as xml is much stricter). You can do this via removing the <?xml header from the Page.ss file.
20 October 2008 at 10:49am
Thank you alot willr for your quick answer, it works now, half, it shows some Notice tags before the page starts, and makes it look a little messed up, but the files are still only read and write for the user, so the client can't watch them without i'm going to set permissions new. Is there a solution for this too?
20 October 2008 at 11:18am
The notice tags can be turned off via phps error_reporting() tool. I believe this is what you want to put in your mysite/_config.php
error_reporting(E_ALL ^ E_NOTICE);
25 October 2008 at 5:08am Last edited: 25 October 2008 5:09am
Yes thats it! thank you willr, ever need help in some graphic stuff, tell me... ;)
|Go to Top|