Attachments problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lionel
    Senior Member
    • Apr 2001
    • 688

    [Forum] Attachments problems

    Since I upgraded to 4.2.0 I am unable to upload attachments.
    My problem is very similar to a couple of posts that I encountered


    I tried to disable all plugins to no avail.

    When I click on Asset Manager no image display.
    When I try to upload, upload fail.
    When I try to rebuild thumbs, that fails.

    It appears that the attachmentpath is not found.

    For example a userid 3003 uploaded an attachment (which obviously did not uploaded) and show thread displayed a link which
    showed as (splitting the userid)

    /var/vbcover/attachments/3/0/0/3

    it does not work with enhanced uploader, basic uploader and url upload and existing images no longer display

    - - - Updated - - -

    Solved

    in includes/functions_file, you have

    PHP Code:
    if ($vbulletin->options['attachfile'] == ATTACH_AS_FILES_NEW// expanded paths 
    That option in the untouchables is set for 0,1,or 2

    so I replaced that line with the correct value for extended path as it appears that the

    define('ATTACH_AS_FILES_NEW', 2); is not being seen.

    if ($vbulletin->options['attachfile'] == 2) // expanded paths
    and all thumbs are now display in asset manager and I am able to upload attachments
    However, all non images such as zip etc ... display the zip_thumb.gif. I see you have in there the wrong image for zip_thumb.gif (don't even know why there would be a no thumb image for them.
    Last edited by Lionel; Sat 23 Jun '12, 10:31pm.
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24275
    • 6.0.X

    #2
    You should not be editing files on a stock installation to fix this. It's possible you will break other things.

    This is not a bug in the software as it would be affecting many people.

    Do you have any addons? Does the problem occur if you create a new style with no parent and browse the site using that?

    Sent from my iPhone using Forum Runner
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • Andy
      Senior Member
      • Jan 2002
      • 5886
      • 4.1.x

      #3
      Many have had problems with the Asset Manager. I suggest turning it off and using the Standard Attachment Manager.

      Admin CP -> Settings -> Options -> Message Attachment Options -> Asset Manager - Enable -> No

      Comment

      • beishe8
        Senior Member
        • Oct 2005
        • 6782
        • 4.2.X

        #4
        Originally posted by Andy
        Many have had problems with the Asset Manager. I suggest turning it off and using the Standard Attachment Manager.

        Admin CP -> Settings -> Options -> Message Attachment Options -> Asset Manager - Enable -> No
        Or let the users choose that option:
        Users may also choose to disable the asset manager from within their profiles.


        vB5 is unequivocally the best forum software, but not yet...

        Comment

        • Andy
          Senior Member
          • Jan 2002
          • 5886
          • 4.1.x

          #5
          Originally posted by beishe8
          Or let the users choose that option:
          You wouldn't want the user choosing an option that isn't working properly as the OP is indicating.

          Comment

          • beishe8
            Senior Member
            • Oct 2005
            • 6782
            • 4.2.X

            #6
            Originally posted by Andy
            You wouldn't want the user choosing an option that isn't working properly as the OP is indicating.
            The OP is an admin and/or a user.
            It's working for me as an admin and as a test user.
            If it did not work for some of my users because of their browsers I would not disable it for the whole forum.


            vB5 is unequivocally the best forum software, but not yet...

            Comment

            • Andy
              Senior Member
              • Jan 2002
              • 5886
              • 4.1.x

              #7
              Originally posted by beishe8
              The OP is an admin and/or a user.
              It's working for me as an admin and as a test user.
              If it did not work for some of my users because of their browsers I would not disable it for the whole forum.
              I would disable the buggy Asset Manager because troubleshooting the Asset manager is simply not worth it. That's my opinion, your mileage may vary.

              Comment

              • Mark.B
                vBulletin Support
                • Feb 2004
                • 24275
                • 6.0.X

                #8
                I dunno if the asset manager is actually "buggy".

                The UI is not intuitive, that's for certain, but once you have got the hang of it, it's vastly more powerful.

                On my site I have the "old" interface by default because many of my users struggled with the asset manager, however I have my own profile set to use it because I actually like it better now.

                Anyhow my point being, I don't know what's actually "buggy" about it. It seems to work ok.
                MARK.B
                vBulletin Support
                ------------
                My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                Comment

                • Andy
                  Senior Member
                  • Jan 2002
                  • 5886
                  • 4.1.x

                  #9
                  Originally posted by Mark.B
                  Anyhow my point being, I don't know what's actually "buggy" about it. It seems to work ok.
                  Over the years I've observed that many admins have had issues with the Asset Manager not working correctly. My suggestion was always to revert back to the legacy Attachment Manager and I've many thank me for that suggestion. It's just another option of the many we need to make for our forums.

                  Comment

                  • Lionel
                    Senior Member
                    • Apr 2001
                    • 688

                    #10
                    This was happening to me and someone else, using php 5.2.6 and 5.3.3
                    It did not happen on 5.2.9
                    For some reasons vB could not get the path

                    Comment

                    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                    Working...
                    😀
                    😂
                    🥰
                    😘
                    🤢
                    😎
                    😞
                    😡
                    👍
                    👎