Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Advanced Editor WYSIWYG generating multiple errors

I just launched a new website and a Vanilla forum embedded within a Wordpress installation and I have Wordfence Security. I am seeing dozens and dozens of errors every time someone loads a page that has the Advanced Editor WYSIWYG console. That problems is a bad url reference for http://websitename/applications/dashboard/design/images/upload-progress-back.gif when in fact the forum is located at http://websitename.com/forum/applications/dashboard/design/images/upload-progress-back.gif. All other parts of the Vanilla Forum URL's include the forum directory except for this one item.

Please advise how I can fix this so users don't get their IP blocked for multiple "Page Not Found" errors being generated looking for the gif.

Comments

  • Please look inside the editor.css file and find this code remove the slash in front of the url as I did bellow and see if that corrects the problem. I would simply add my own progress gif with the url to the gif image.

    .editor-upload-progress {
        position: absolute;
        width: 0%;
        overflow: hidden;
        background: #38ABE3 url('applications/dashboard/design/images/upload-progress-back.gif') repeat;
        margin: -2px 0 0 0;
        width: 0;
        height: 5px;
        border: 1px solid #38ABE3;
        opacity: 0;
        box-shadow: 0 1px 2px -1px #fff;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    

    https://vanillaforums.org/discussion/23217/custom-upload-progress-bar

  • Ok... so your suggestion did not work. And it was really the /scss/partials/_fileupload.scss file that was causing most of the problems. So I was editing both. After a number of attempts in a variety of url configurations I finally relented and created an images directory in editor/design/ and then copied the gif from the original directory. Then modified both files like this... background: #38ABE3 url('images/upload-progress-back.gif') repeat;

    This seems to have resolved the errors :)

    Thanks

Sign In or Register to comment.