HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


v7.0.1 - Javascript error in chat room

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#70492 (In Topic #14913)
Avatar

Community saint

I just noticed "An error has occurred" in the users on line screen pointing to "…/site/pg/chat/buddy_add/null".

When I went there to investigate, I got:

Code

174: missing } after function body
.../themes/Green/templates_cached/EN/javascript_chat.js

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#70496
Avatar

Hmm, just passed your copy of that file through a couple of online Javascript lints, no errors came up (just some style warnings).

The initial thing sounds like a bot deep-probing what it shouldn't.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#70498
Avatar

Community saint

Not a bot. It was against a staff member. I can't get in touch with them at the moment to get details.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#80367
Avatar

Fan in action

Anywhere I can get the file javascript_chat.js Seems my install is missing it and when I download the package again it does not have it in it.
Back to the top
 
Posted
Rating:
#80368
Avatar

Community saint

The file is generated by the JAVASCRIPT_CHAT.tpl template.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#80369
Avatar

Fan in action

Oh, ok. So if my IM is not working then it is probable due to that file then. ???
Back to the top
 
Posted
Rating:
#80370
Avatar

Community saint

Not necessarily. What do you mean "not working". Please describe the problem.

Please provide the details in a new topic. This one is almost 9 months old, and the problem you are having is unlikely to be the exact same one that I had.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#80371
Avatar

Fan in action

Ok, I will start a new topic here with the error message I get. Give me a sec.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: