We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

mailbox errors | Forum

David Bradshaw
David Bradshaw Mar 31 '16
Using 1.8.1. Since upgrading to this, the mailbox page won't open and console shows these errors:


Uncaught SyntaxError: Unexpected token ILLEGALmessages:1340 Uncaught ReferenceError: MAILBOX_ConversationView is not defined(anonymous function) @ messages:1340(anonymous function) @ messages:1340l @ jquery.min.js:4c.fireWith @ jquery.min.js:4x.extend.ready @ jquery.min.js:4S @ jquery.min.js:4mailbox.js:186 Uncaught TypeError: Cannot read property 'getReadMessageList' of undefined

Any ideas?


Thanks.

The Forum post is edited by David Bradshaw Mar 31 '16
David Bradshaw
David Bradshaw Apr 1 '16
Ok, I have resolve this. A rogue character was  there

Unexpected token ILLEGALmessages:1340


from when the code was originally typed in for /ow_static/plugins/mailbox/js/conversation_list.js.


Check in the console and you will see 'bloNk' (with a strange accent) instead of block.


 Open this file retype over the 'block' text and it creates a clean version. There are a few others in the script as well. Once you have typed over the others, rest falls into place. Remember, you are not visibly changing anything. 

ross Team
ross Apr 4 '16
David, conversation_list.js. does not have "bloNk" wording in the whole file 

on what line do you see that? 


try to enable dev mode, then refresh your website and see if the issue persists

by the way, did you update to 1.8.2? what is your mailbox plugin version?