HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Cannot embed images nor upload files

sgendrysgendry New
edited March 2022 in Vanilla 3.x Help

I recently upgraded Vanilla Forums to 2021.009 and can no longer insert images nor attach files to posts. It says "Request Failed with status code 500." (consoler error message = Failed to load resource: the server responded with a status of 500 (Internal Server Error))

Then today I had to create a brand new forum "off the shelf" so to speak for another project and there too it's not possible to insert images nor attach files in posts. It says "Request failed with status code 404" (console error message= Failed to load resource: the server responded with a status of 404 (Not Found))

I can't imagine this is an issue with Vanilla Forums so it must be something wrong on my end.

+ + +

I use cPanel/WHM. Both Forums are installed in subdomains.

+ + +

I added the following lines to config.php but that did not help:

$Configuration['Garden']['RewriteUrls'] = TRUE;

$Configuration['Garden']['Upload']['MaxFileSize']= '8M';

$Configuration['Garden']['Upload']['AllowedFileExtensions']=array('txt','jpg','jpeg','gif','png','bmp','mp4','pdf');

+ + +

Changing folder permissions for /conf, /cache, and /upload from 755 to 777 did not help either

+ + +

Has anybody faced a similar situation and/or has any idea on how to troubleshoot this?

Thanks!

Comments

  • Ignore. I just found out what was wrong: It's an issue with the Rich Editor plugin.

    Everything works fine if I just use the Advanced Editor

  • KasparKaspar ✭✭✭
  • Thank you for your suggestion Kaspar.

    What would the rewritebase look like for a forum that's in a subdomain?

    Thanks!

  • KasparKaspar ✭✭✭

    Please see the link, it tells you there and in the htaccess file

    "If vanilla is in a subfolder then you need to specify it after the /.
        # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
        # RewriteBase /
    


Sign In or Register to comment.