Previous Thread
Next Thread
Print Thread
Hop To
Joined: Sep 2004
Posts: 152
Y
member
member
Y Offline
Joined: Sep 2004
Posts: 152
See http://www.fabulaemarrii.com/ubbthreads7/ubbthreads.php?ubb=cfrm

The 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.
Yomar #165396 10/09/2006 11:06 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
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}';


Rick #165398 10/09/2006 11:14 AM
Joined: Sep 2004
Posts: 152
Y
member
member
Y Offline
Joined: Sep 2004
Posts: 152
Unfortunately Rick, that doesn't work frown

Yomar #165400 10/09/2006 11:23 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Ok, now you have a different javascript error. Try this instead wink 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);

Rick #165410 10/09/2006 11:41 AM
Joined: Sep 2004
Posts: 152
Y
member
member
Y Offline
Joined: Sep 2004
Posts: 152
Unfortunately, that doesn't work either frown

By the way, how do you see what errors I get?

Yomar #165415 10/09/2006 11:44 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I open up the javascript console on Firefox wink

Rick #165417 10/09/2006 11:44 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Hmm, not getting any JS errors now.

Rick #165418 10/09/2006 11:45 AM
Joined: Sep 2004
Posts: 152
Y
member
member
Y Offline
Joined: Sep 2004
Posts: 152
Ah I see smile

But it still doesn't work, does it? frown

Yomar #165420 10/09/2006 11:46 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Need to register a user so I can test.

Rick #165422 10/09/2006 11:47 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
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.

Rick #165423 10/09/2006 11:47 AM
Joined: Sep 2004
Posts: 152
Y
member
member
Y Offline
Joined: Sep 2004
Posts: 152
You are welcome on our forums smile Please let me know if there's anything I need to do.

Yomar #165428 10/09/2006 11:51 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
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.

Yomar #165429 10/09/2006 11:51 AM
Joined: Sep 2004
Posts: 152
Y
member
member
Y Offline
Joined: Sep 2004
Posts: 152
Info sent smile

Yomar #165430 10/09/2006 11:52 AM
Joined: Sep 2004
Posts: 152
Y
member
member
Y Offline
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 smile

Yomar #165479 10/09/2006 4:27 PM
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??


http://clubadventist.com/forums

No longer following the carrot
Stan #165488 10/09/2006 5:04 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
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.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Ruben), 1,248 guests, and 268 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)