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

Skip navigation

Ajax errors

Login / Search

[ Join | More ]
Posted 28 February 2010, 2:20 AM
#58556
Avatar

Fan in training

contant random ajax errors

Good evening all.
Every now and then I keep getting random ajax errors or errors saying the website is offline (AJAX_REQUESTS is not defined) this has been happening since 4.3.0. I'm using firefox. Any ideas?
Back to the top
 
Posted 28 February 2010, 3:56 AM
#58558
Avatar

Fan in training

to be exact 2 windows pop up, the first window says:
The network or website appears to be down, so an AJAX request has failed. You won't receive further warnings during this page view, but some actions may not work correctly until connectivity is restored.
the second window states the following:
An error occurred when loading this screen onto the web browser. You are being notified of this as you are staff. If you believe this is a bug in the website software, please contact ocProducts with full details. More details are available in your browser's error console. The error was:

32: AJAX_REQUESTS is not defined
http://mywebsite.com/themes/mywebsite_Portal/templates_cached/EN/javascript_ajax.js
Back to the top
 
Posted 28 February 2010, 6:02 PM
#58566
Avatar

Community saint

I don't know if this will help you, but read on:

I had similar messages with 4.3 while my stat side block was enabled until a patch file chat.php was issued by Chris to fix the problem referred here. I believe that this problem was corrected with 4.3.1.
Back to the top
 
Posted 01 March 2010, 6:57 AM
#58572
Avatar

Fan in training

That's just it.. I updated to 4.3.1 the day it came out? Not to mention I get this message anywhere on the site, including admin area.
Back to the top
 
Posted 01 March 2010, 12:06 PM
#58579
Avatar

ocStaff (admin)

Hi,

Please try these replacement templates. We've had real problems with browsers doing weird things when navigating away from pages whilst AJAX is happening, and we've patched around some, but it seems there were more. I have simply suppressed the errors in the attached, as they aren't real issues anyway.

Attachment
JAVASCRIPT_AJAX.tpl
» Download: JAVASCRIPT_AJAX.tpl (7 Kb, 97 downloads so far)


Attachment
JAVASCRIPT.tpl
» Download: JAVASCRIPT.tpl (55 Kb, 70 downloads so far)






Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter


If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted 02 March 2010, 11:30 AM
#58606
Avatar

Fan in action

Last night i was having same prob. I have no idea what caused it? I replaced those files and so far no AJAX errors/problems.
Back to the top
 
Posted 13 March 2010, 2:08 AM
#58848
Avatar

Community saint

Chris Graham said

Please try these replacement templates. We've had real problems with browsers doing weird things when navigating away from pages whilst AJAX is happening, and we've patched around some, but it seems there were more. I have simply suppressed the errors in the attached, as they aren't real issues anyway.
I've had the same ajax errors and I am just now addressing the problem but I didn't catch where do I place them?

Prehistorics Illustrated
http://prehistoricsillustrated.com
Another ocPortal powered website &
The Fascinating World of Dinosaurs

& Prehistoric Creatures of all Kinds
Back to the top
 
Posted 13 March 2010, 3:06 PM
#58855
Avatar

ocStaff (admin)

themes/default/templates/



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter


If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted 25 April 2010, 8:47 PM
#59782
Avatar

Fan in action

I copied and FTP'd JAVASCRIPT.TPL and JAVASCRIPT_AJAX.TPL. trying to fix the following issue I recently accomplished all by myself .. :'(

When I go to "EDIT CSS" Example: global.css or any of the files in the folder opened .. I keep getting a pop up stating:

Message from web page
There was a problem from an AJAX request:
500: Internal Server Error

Been working on the site according to the videos … Then I received this for some reason ???? HUmmmm O_o


Last edit: by TexAcoon
Back to the top
 
Posted 26 April 2010, 12:16 PM
#59792
Avatar

ocStaff (admin)

The attached file should fix this problem.

Attachment
data/edit_ping.php
» Download: edit_ping.php (2 Kb, 45 downloads so far)



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter


If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted 26 April 2010, 1:55 PM
#59794
Avatar

Fan in action

Thanks Chris! …

Installed and no more pop up error blocks ..

Thanks!
Doug
Back to the top
 
Posted 21 June 2010, 12:29 AM
#60679
Edu
Avatar

Fan in training

I am having frequently the same error message
141: unterminated string literal
http://x-org.com.br/themes/x_org/templates_cached/EN/javascript_ajax.js

What can I do to solve it?
Thank you!
Back to the top
 
Posted 21 June 2010, 10:42 AM
#60681
Avatar

ocStaff (admin)

Find where "Houve um problema com uma 'AJAX request" is defined in the language pack, and remove the blank line off the end of the string.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter


If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract
Your name:
Your message: