Announcement

Collapse
No announcement yet.

Unable to upload attachments after upgrading to VB5.5.3

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to upload attachments after upgrading to VB5.5.3

    Hello,

    Centos 6.1, php 7.1, and vb5.5.3

    We have upgraded our live site now to 5.5.3 after testing the upgrade process extensively on a development server. Image uploads work great in the development environment but on the live environment the message "Error uploading the image. Please try again."

    I have checked and double checked the attachments folder has 777 as permissions, the settings within admincp show the directory as "attachments", the attachments directory is in root of our public html folder and vb5 is installed also in this folder.

    I have run the image upload diagnostics and receive the following results
    Pertinent PHP Settings
    file_uploads: On
    open_basedir: None
    upload_tmp_dir: None
    upload_max_filesize: 2.00 MB
    Help
    Results
    No errors occurred while opening the uploaded file for reading.
    Any ideas on where to look next for the issue would be appreciated.


    Thanks!

  • #2
    What kind of file are you trying to upload? Does the extension match the actual file type? For instance, it isn't a JPG renamed to GIF. Is it a PDF file?

    What image processing library are you using? Found in the AdminCP under Settings -> Options -> Image Settings. Are there any errors on that page?
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    I am not currently available for vB Messenger Chats.

    Comment


    • #3
      1) It is a png file. Yes the extension matches the file type. It is this file here https://www.killbillet.com/killbilletheader.png and I just opened in in Photoshop as well to double check.

      2) We are using GD. No errors listed on that page and when I save the page it saves fine with those settings.

      Comment


      • #4
        Click image for larger version

Name:	killbilletheader.png
Views:	34
Size:	216.3 KB
ID:	4420070


        Hmm... Are you trying to upload this as an attachment or as the logo through Site Builder -> Header?


        I don't see any problem here or on my test server. Make sure your attachment folder and all of its contents are chmod 777.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud customization and demonstration site.
        vBulletin 5 Documentation - Updated every Friday. Report issues here.
        vBulletin 5 API - Full / Mobile
        I am not currently available for vB Messenger Chats.

        Comment


        • #5
          It helps if I have php-gd installed for the correct version of php I am running. Sorry for the false alarm. I knew it'd be something simple.

          Comment


          • #6
            Glad you have it sorted out.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud customization and demonstration site.
            vBulletin 5 Documentation - Updated every Friday. Report issues here.
            vBulletin 5 API - Full / Mobile
            I am not currently available for vB Messenger Chats.

            Comment

            Related Topics

            Collapse

            Working...
            X