xajax Javascript component error

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
melvint9
Forum Members
Forum Members
Posts: 12
Joined: Thu Jun 28, 2012 3:02 am

xajax Javascript component error

Post by melvint9 »

I'm getting the following error:

Error: the xajax Javascript component could not be included. Perhaps the URL is incorrect?
URL: "http://localhost/icebiz/lib/xajax/xajax ... ax_core.js

I'm using "xampp" to run CMS Made simple...

What file do I edit to ensure I have the correct path so the xajax Javascript component can be included....


My "config.php"

<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysqli';
$config['db_hostname'] = 'localhost';
$config['db_username'] = '';
$config['db_password'] = '';
$config['db_name'] = 'icebiz';
$config['db_prefix'] = 'ice_';
$config['timezone'] = 'US/Eastern';
?>
Last edited by Dr.CSS on Tue Aug 28, 2012 1:13 am, edited 1 time in total.
Reason: Please use double quotes on fake links so they aren't clickable...
mrenigma
Forum Members
Forum Members
Posts: 48
Joined: Fri Aug 05, 2011 3:43 pm

Re: xajax Javascript component error

Post by mrenigma »

The URL looks correct, have you checked your permissions are correct?

It might be a permissions error, also since you are using XAMPP it is also really easy to look at the PHP and Apache logs to see what errors they are showing. It might help you debug it a bit easier.
~ Life is like water, every movement you make changes the way it flows ~
melvint9
Forum Members
Forum Members
Posts: 12
Joined: Thu Jun 28, 2012 3:02 am

Re: xajax Javascript component error

Post by melvint9 »

I checked all error logs and I found many statements like this one:
GET /cms/lib/xajax/xajax_js/xajax_core.js HTTP/1.1" 200 39857 "http://localhost/cms/admin/listcontent. ... _=78ed4bba" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1"

Any idea what's going on. This error is preventing my TinyMCE from functioning correctly in the "content page" window... also, I can't download any new modules thru "module manager"... The path that's displaying is correct...
mrenigma
Forum Members
Forum Members
Posts: 48
Joined: Fri Aug 05, 2011 3:43 pm

Re: xajax Javascript component error

Post by mrenigma »

That is the call to the server from a client browser, the message can be broken down to the following:

Get file (xajax_core.js) through HTTP, the 200 refers to the response code and 200 means OK. The 39857 relates to the returned file size minus headers while the rest refers to the response and the clients browser type.

When looking through the logs did you find this in your access_log or your error_log?

It still sounds to me like a permissions issue, you could also try setting TinyMCE's config file to static in the advanced settings.

Have you look at the System Information menu option? It is found under Site Admin on CMSMS 1.11 and it should show up any issues.
~ Life is like water, every movement you make changes the way it flows ~
Post Reply

Return to “CMSMS Core”