Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Problem with forum attachments

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

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

Page: 1
Go to End
Author Topic: 955 Views
  • Muts
    Avatar
    Community Member
    3 Posts

    Problem with forum attachments Link to this post

    Whenever I enable attachments I get this error~

    XML Parsing Error: not well-formed
    Location: http://campbarebones.com/general-discussion/starttopic
    Line Number 194, Column 258:         <div id="PostAttachment" class="field attachment "><label class="left" for="Form_ReplyForm_PostAttachment">Upload Files</label><span class="middleColumn">   <iframe name="AttachmentField_upload" src="AttachmentField_Uploader/uploadiframe/?PostID=19&DestObj=Post_Attachment" id="Form_ReplyForm_AttachmentField_PostAttachment" border="0"></iframe></span></div>
    ----------------------------------------------------------------------------------------------------

    Any ideas? or am I missing something?

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Problem with forum attachments Link to this post

    I think the error is to do with &'s. If you look in forum/code/AttachmentField.php scroll down to about line 50ish is there a $extraData = implode("&", $array); ? You might need to change that to $extraData = implode("&amp;", $array);

  • Muts
    Avatar
    Community Member
    3 Posts

    Re: Problem with forum attachments Link to this post

    ok well I can't try that because I am now getting this error

    Cannot write manifest file! Check permissions of /tmp/silverstripe-cache-home etc....

    any ideas on that one, it will not even let me in the admin section...

    955 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.