Can't post pictures

No worries...i'm only curious cause it's weird that you're only blocked from one function...that we're aware of...so i'm wondering what other functions you're blocked from...since all the other files for the chat are in the same folder...so it's specific to that one file...curious if it also happens in the other chats...if it's a file based block or an ip based block on the file...or something similar...also curious if it's something that can be done in chat from the mod perspective or if it's serverside from a fuckup from CM/Admin...lots to ponder
 
This is about 45 minutes worth
Screenshot-593.png
 
looks like it's just the 403 for file_chat.php...alright...i'll go explore to see what that does...but i'm pretty sure that's the file upload function...does it happen in other chatrooms?

@Samwise or @Ness_eb do admins/mods have the ability to restrict a user from using the upload function?

Alright...so I tracked it down. I knew I'd seen it earlier this week.

This is the function in the chat that's being called in this js file https://www.chat-avenue.com/general/js/function_logged.js?v=1.67
JavaScript:
uploadChat = function(f) {
    var filez = (f.size / 1024 / 1024).toFixed(2);
    if (filez > fileMax) {
        callError(system.fileBig);
    } else {
        if (waitUpload == 0) {
            uploadStatus('chat_file', 2);
            waitUpload = 1;
            var form_data = new FormData();
            form_data.append("file", f)
            form_data.append("token", utk)
            mupload = $.ajax({
                url: "system/action/file_chat.php",
                dataType: 'json',
                cache: false,
                contentType: false,
                processData: false,
                data: form_data,
                type: 'post',
                beforeSend: function() {
                    startMainUp();
                },
                xhr: function() {
                    var xhr = new window.XMLHttpRequest();
                    xhr.upload.addEventListener("progress", function(evt) {
                        if (evt.lengthComputable) {
                            var percentComplete = evt.loaded / evt.total;
                            upMainStatus((Math.round(percentComplete * 100)));
                        }
                    }, false);
                    return xhr;
                },
                success: function(response) {
                    if (response.code == 1) {
                        callError(system.wrongFile);
                    } else if (response.code == 5) {
                        appendSelfChatMessage(response.logs);
                    } else {
                        callError(system.error);
                    }
                    resetMainUp();
                },
                error: function() {
                    resetMainUp();
                }
            })
        } else {
            return false;
        }
    }
}

It basically confirms the file size of what's being uploaded and then submits it as a file upload. The serverside file that you're getting the 403 error from is this one https://www.chat-avenue.com/general/system/action/file_chat.php so it'd be interesting to see if you get an error when you go there directly.

I should note that when you go to file_chat.php that it should just load a white page normally...because it doesn't display anything...just processes upload requests...no output
 
I should note that when you go to file_chat.php that it should just load a white page normally...because it doesn't display anything...just processes upload requests...no output
Just went to the file_chat link and it is indeed blank

Also yes, I went to a different chat site and pictures work fine there.
 
🤔Thats weird. It gives you a 403 when in chat but not directly? You're having these problems in general chat, right? Can you try to send a pic again while you have dev tools open? Curious if it'll give you a 403 again.
 
I can report exactly all the same things Sultry is responding to. Dev tools also show it comes up as a 403 status whenever trying to upload any type of image, gif, jpg etc. Exact same file outputs etc. Receiving the same result with the file_chat php as well

Can also confirm i have uploaded these same images to anywhere else - other image posting sites, other non-chat avenue chatrooms etc. It all works fine.

Hoping i didnt break any rules but I also created another new account just to see if it was like an account mute or something...and the new account cant post pics either. And again, have also continued trying other browsers etc. Btw i did this new account from a completely different device even.

Doesnt really make any sense
 
In sultrys case it ended up being a VPN. Might be good to check if you have something like that enabled.
I was about to report on this because I havent used a vpn in a long time and so I didnt think of anything I could do to troubleshoot. Saw this and opened up nord just to find out it was running in background
 
Top