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

Need help with the Attachment Handlers...

Discussion in 'XenForo Development Discussions' started by Jaxel, Mar 26, 2011.

  1. Jaxel

    Jaxel Well-Known Member

    I can't get attachment handlers working at all... When I try to upload an attachment using a custom attachment type, I get stuck at 100% uploading. The system never says the upload is "done", and looking into the database, I can see no entries in `xf_attachments` for the upload I just processed.

    1.png

    Does anyone know why something like this would be happening?
     
  2. Jaxel

    Jaxel Well-Known Member

    Figured it out... Was missing this line in my attachment handler class.
    Code:
    protected $_contentIdKey = 'page_id';
     
  3. Jaxel

    Jaxel Well-Known Member

    But now I'm having a whole bunch of new issues... http://www.8wayrun.com/wiki/abyss/

    As you can see on that page, it has 5 attachments at the bottom. Directly above that, you will also see that I have added those attachments into the page itself. So now I have a whole bunch of new questions...

    1 - solved
    2 - solved
    3 - nevermind
     

    Attached Files:

    • 2.png
      2.png
      File size:
      81.6 KB
      Views:
      9

Share This Page