• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Upload a File error

#1
The following error occurred:

Invalid data writer 'XenForo_DataWriter_AttachmentData' specified
  1. XenForo_DataWriter::create() in XenForo/Model/Attachment.php at line 282
  2. XenForo_Model_Attachment->insertUploadedAttachmentData() in XenForo/ControllerPublic/Attachment.php at line 192
  3. XenForo_ControllerPublic_Attachment->actionDoUpload() in XenForo/FrontController.php at line 310
  4. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  5. XenForo_FrontController->run() in /home/gamerbbn/public_html/forum/index.php at line 13
Any clue why this would be happening? Could it be because I just added friendly URLs? That's all I can think of.

Did a File Health Check and go this.

Potential Problems


  1. library/XenForo/DataWriter/BbCodeMediaSite.php File does not contain expected contents.

  2. library/XenForo/DataWriter/AttachmentData.php File does not contain expected contents.
 

Jake Bunce

XenForo moderator
Staff member
#2
The file check indicates problems with those two files, one of which is indicated in the error message. You should re-upload those two files from the zip file. Then run the file check to ensure all files pass. That will probably fix the error.