• This must be something I have configured wrong but I am having a dickins of a time finding what it is. I have searched the FAQ with no results.

    My installation seems to work fine. I can post in my configured forums without attachments. However even as the admin I can only reply without an attached file. Replying with attachemnt results in an error and the attachment uploading into the Media library. If I attach a file I get an error like this, an uploaded file and noting on the screen but the message below:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    The attachment actually uploads and is my media data. I just never can see my reply in the forum. If I reply with no attached file, the reply works fine.

    I have looked in the debug area with no joy even after turning on debug in settings. My attachment limit is 10M, my PHP mem lim = 256M, max post size = 64M. PHP ver 7.3.33, MySQL ver 5.6.51, WordPress 5.9.3.

    Any ideas where to look for misconfigured options or something else?

    GHUTCH

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support gVectors Dev

    (@gvectorsdevs)

    Hi @ghutchnet,
    Please make sure that you have write permissions for wp-content/uploads.

    Thread Starter ghutchnet

    (@ghutchnet)

    Hi, Thank you. The attachment uploads to the host and can be found in the media library. Therefore permissions seem to be correct, right? The permissions are set to 755.

    The upload seems to happen as there is a delay after pressing “Add topic” and the display of the error screen. After receiving the error I can see the attachment in the media library by logging into my WordPress console.

    Gary

    Thread Starter ghutchnet

    (@ghutchnet)

    I have performed all of the forum maintenance as well as removing some of the plugins that I thought might interfere. I still have the same 500 issue.

    Thread Starter ghutchnet

    (@ghutchnet)

    Any other suggestions?? I have run all of the clean up tools in the plugin, the debug area shows no database issues, I have removed many of the other plugins that I thought might interfere.? I have also tried a very small attachment to be sure the failure is not size related – it also failed.

    Could the path to the WordPress install be an issue?? Could WPForo be having problems with the path when it’s time to display the new topic?? As I stated, the attachment uploads to the host so permissions don’t seem to be the issue.? Permissions for the upload area is 0755.? After the upload completes is when the internal server error message shows up.

    Thread Starter ghutchnet

    (@ghutchnet)

    @gvectorsdevs I hadn’t tagged you so I wasn’t sure if you had seen my replies…

    Plugin Support gVectors Dev

    (@gvectorsdevs)

    Hi @ghutchnet,
    Sorry for late res once,

    You can clean your error log, add an attachment and see what errors do you get at error log,
    This issue is not related to wpForo it’s about your server, I recommend contacting the person who has set up your website server, as he should know what settings he has set for it.
    There can be many reasons why you get that error, one of them write permission, which I mentioned above.

    Thread Starter ghutchnet

    (@ghutchnet)

    Thank you for responding. I am working with my hosting company, Inmotion Hosting. I am the web admin who setup the WP instance but only have access t to my file tree, no systems access.

    I have recently discovered that only jpg, PDF and GIF files are failing. Anything else I have tried, txt, docx, odf, xlsx, etc seem to work fine. Something handling the image files seems to be failing.

    I have found some WordPress errors related to imagick but not chronologically tied to my attachment events. I am working with the hosting team to correct the imagick library errors. I’ll post here if that corrects the issue.

    Thanks again. ??

    Thread Starter ghutchnet

    (@ghutchnet)

    @gvectorsdevs I have corrected much of this problem. I really appreciate you helping me with this.

    It seems that imagick’s PHP modules were not properly installed by our hosting company. They have corrected that and much of the problem has gone away.

    The lingering problem now is that pdf file over 200K are showing the same 500 error message. However, although the 500 message is shown the post is complete with the attachment in place. If you back out of the 500 error screen and the WPForo screen refreshes, the new posting is available. If you refresh the 500 error screen it will duplicate the posting as many times as you refresh the 500 error screen.

    Is this something else? Does imagick handle pdf files? Is there something special at the 200K boundry in a pdf file? Again, pdf files less than ~200K post fine while pdf files over ~200K post but show the same INTERNAL SERVER ERROR as before.

    Gary

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Reply with attachment fails’ is closed to new replies.