Error #2038 when uploading attachments

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Retell
    Member
    • Jul 2005
    • 32
    • 3.6.x

    [Forum] Error #2038 when uploading attachments

    Hello, we recently changed servers. Since then when trying to upload I get this error:

    500 [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2038"]

    I have tried changing a multitude of settings to no avail.

    URL: http://www.nzxt.com/forums
    PHPInfo: http://www.nzxt.com/forums/index.php?do=phpinfo
    Any help would be greatly appreciated, thanks!
  • 1QuickSI
    Senior Member
    • Oct 2001
    • 881
    • 4.2.5

    #2
    I believe this will be a host related issue. Specifically mod_security/mod_security2 You will need to work with them to find the trigger and set the configuration accordingly or disable them.
    -----------------------------------------------------------
    Running custom version of vBulletin based on v4.2.5
    PHP 7.4.14 :: MariaDB 10.5.8

    Comment

    • Retell
      Member
      • Jul 2005
      • 32
      • 3.6.x

      #3
      I've tried with
      SecFilterEngine Off
      SecFilterScanPOST Off
      In my htaccess, but got an error trying to load the page after, so I tried

      <IfModule mod_security.c>
      SecFilterEngine Off
      SecFilterScanPOST Off
      </IfModule>
      This allowed me to load the page, but uploads still are not functional.

      Comment

      • 1QuickSI
        Senior Member
        • Oct 2001
        • 881
        • 4.2.5

        #4
        mod_security/mod_security2 may or maynot show in your php config output as it has been known to fly under the radar so to speak. You will need to review your log file and look for the error, then config mod_security/mod_security2 accordingly or disable it. htaccess is not configuring it but rather trying to get around it.
        -----------------------------------------------------------
        Running custom version of vBulletin based on v4.2.5
        PHP 7.4.14 :: MariaDB 10.5.8

        Comment

        • Wayne Luke
          vBulletin Technical Support Lead
          • Aug 2000
          • 74132

          #5
          Please run the Upload File Diagnostic and post the results here. Maintenance -> Diagnostics.
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud demonstration site.
          vBulletin 5 API

          Comment

          • Retell
            Member
            • Jul 2005
            • 32
            • 3.6.x

            #6
            Originally posted by Wayne Luke
            Please run the Upload File Diagnostic and post the results here. Maintenance -> Diagnostics.
            Uploaded with no errors.

            Comment

            • 1QuickSI
              Senior Member
              • Oct 2001
              • 881
              • 4.2.5

              #7
              Do you know what version of Apache and ModSecurity you have running? Also double check the directory permissions if your using file storage.
              Last edited by 1QuickSI; Tue 17 Apr '12, 12:00pm.
              -----------------------------------------------------------
              Running custom version of vBulletin based on v4.2.5
              PHP 7.4.14 :: MariaDB 10.5.8

              Comment

              • Retell
                Member
                • Jul 2005
                • 32
                • 3.6.x

                #8
                Originally posted by 1QuickSI
                Do you know what version of Apache and ModSecurity you have running?
                Apache/2.2.21 (Unix)

                Comment

                • Wayne Luke
                  vBulletin Technical Support Lead
                  • Aug 2000
                  • 74132

                  #9
                  The error in question is a permissions error with the Flash Uploader. Go to Settings -> Options -> Message Attachment Options. Set "Asset Manager - Enable" to Yes, Ajax upload by default. Does it work now?
                  Translations provided by Google.

                  Wayne Luke
                  The Rabid Badger - a vBulletin Cloud demonstration site.
                  vBulletin 5 API

                  Comment

                  • Retell
                    Member
                    • Jul 2005
                    • 32
                    • 3.6.x

                    #10
                    Originally posted by Wayne Luke
                    The error in question is a permissions error with the Flash Uploader. Go to Settings -> Options -> Message Attachment Options. Set "Asset Manager - Enable" to Yes, Ajax upload by default. Does it work now?
                    Attempted to upload a file, after it was done uploading it showed no change, the file did not show up on the server.

                    Comment

                    • Retell
                      Member
                      • Jul 2005
                      • 32
                      • 3.6.x

                      #11
                      I just changed asset manager to no and tried uploading and got a more detailed error stating it could not write to /attachments/1

                      I CHMOD it to 777 from 755, I am going to CHMOD the other existing folders, I tested with a newly made account the new directory was 777.

                      Thanks for the help guys

                      Comment

                      Related Topics

                      Collapse

                      Working...