|
Joined: Sep 2004
Posts: 152
member
|
member
Joined: Sep 2004
Posts: 152 |
See http://www.fabulaemarrii.com/ubbthreads7/ubbthreads.php?ubb=cfrmThe shoutbox had quite some hiccups today, resetting and becoming empty all the time. Now it stays empty and just displays Sending... no matter what I try to send to it. AJAX (preview function for postings) is working... What is causing this?
Last edited by Rick; 10/09/2006 12:12 PM.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
It seems that on some servers there is a bit of javascript causing a problem.
Try editing your templates/default/header.tpl file. Line 35 of that file looks like this:
var today = {$today};
Try changing that, to this:
var today = '{$today}';
|
|
|
|
Joined: Sep 2004
Posts: 152
member
|
member
Joined: Sep 2004
Posts: 152 |
Unfortunately Rick, that doesn't work
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Ok, now you have a different javascript error. Try this instead Line 617 of libs/ubbthreads.inc.php looks like this: $today = $this->convert_time($now,$user['USER_TIME_OFFSET'],"d",1,0); Change that, to this: $today = $this->convert_time($now,$user['USER_TIME_OFFSET'],"j",1,0);
|
|
|
|
Joined: Sep 2004
Posts: 152
member
|
member
Joined: Sep 2004
Posts: 152 |
Unfortunately, that doesn't work either By the way, how do you see what errors I get?
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
I open up the javascript console on Firefox
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Hmm, not getting any JS errors now.
|
|
|
|
Joined: Sep 2004
Posts: 152
member
|
member
Joined: Sep 2004
Posts: 152 |
Ah I see But it still doesn't work, does it?
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Need to register a user so I can test.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Actually, can you send me your admin login info? I might need to check a couple things on the admin side of things.
|
|
|
|
Joined: Sep 2004
Posts: 152
member
|
member
Joined: Sep 2004
Posts: 152 |
You are welcome on our forums Please let me know if there's anything I need to do.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Actually it is working for me now. You might need to close your browser or something, but I am able to post and see the shouts now.
|
|
|
|
Joined: Sep 2004
Posts: 152
member
|
member
Joined: Sep 2004
Posts: 152 |
Info sent
|
|
|
|
Joined: Sep 2004
Posts: 152
member
|
member
Joined: Sep 2004
Posts: 152 |
Woot, you are right! There was a delay there... but you're right, it's working. Something with cache maybe? Thank you Rick! You rock
|
|
|
|
Joined: Jun 2006
Posts: 869
old hand
|
old hand
Joined: Jun 2006
Posts: 869 |
OK I had the same probelm, made the same changes... still have the problem
says
Firfox says
Error: uncaught exception: Permission denied to call method XMLHttpRequest.open
Does that mean anything??
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
This sounds like a URL issue of some sort. This error comes up when AJAX is told to open some other URL than what it is running on. What do you have for your FULL URL and Relative URL in the control panel? You can send it to me via a PT if you don't want to post it here.
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (Ruben),
1,248
guests, and
268
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|