Page 1 of 1

Error: the xajax Javascript file could not be included.

Posted: Wed Oct 18, 2006 5:05 am
by tomo_atlacatl
I just installed it, AWESOME...........I can't get the Text Editor to come up in either netscape 8 or IE 7, I keep getting the same error...........
Error:the xajax Javascript file could not be included. Perhaps the URL is incorrect?
URL: ../lib/xajax/xajax_js/xajax.js


Please help!

Re: Error: the xajax Javascript file could not be included.

Posted: Mon Oct 30, 2006 1:05 pm
by jd
I get the same problem. I'm using the 1.0.2 CMSMS. Any ideas how to fix it?

Re: Error: the xajax Javascript file could not be included.

Posted: Tue Oct 31, 2006 8:02 am
by jd
Anyone, any idea?
Please help.

Re: Error: the xajax Javascript file could not be included.

Posted: Tue Oct 31, 2006 10:28 am
by tsw
is the file there?

does it work with other browsers?

check all paths in config.php

without more info cant really say much more.

Re: Error: the xajax Javascript file could not be included.

Posted: Tue Oct 31, 2006 2:49 pm
by jd
Here is the info:
- browsers - doesn't work both in Firefox (2.0) and IE 7 - get the error dialog box with both
- config.php - all paths are checked and are valid
- the file is in place
- the version of the CMSMS is 1.0.2

any ideas? might it be from the .htaccess?

Re: Error: the xajax Javascript file could not be included.

Posted: Tue Oct 31, 2006 2:54 pm
by tsw
works fine here, check the page html source and look for the include for that file, check the path and try that it works.

Re: Error: the xajax Javascript file could not be included.

Posted: Tue Oct 31, 2006 2:58 pm
by jd
Hi,
I checked it (this is in the editing of a page in the admin panel). It says ../lib/xajax/xajax_js/xajax.js
The files is there. And I still can't understand why it's not found.

Where can I edit the headers of the admin page so that I make it point to /lib/xajax/xajax_js/xajax.js to see if it would work that way?

Re: Error: the xajax Javascript file could not be included.

Posted: Tue Oct 31, 2006 3:06 pm
by tsw
that wont work, as the file path is $cmsroot/lib/.... and the admin part is in $cmroot/admin/...

check file rights, and that the file is intact (maybe upload it again).

try using that path in your admin url like

http://yourdomain.tld/admin/../lib/xaja ... s/xajax.js

you should see the file contents or be able to download it.

Re: Error: the xajax Javascript file could not be included.

Posted: Tue Mar 13, 2007 5:46 pm
by stoi
Hi,

Have downloaded cmsms today and am having the same problem with this file. I get the warning when in the content setion on the control panel. Am using both IE6 and FF2.

I have re-uploaded it and it is definitely there. I have changed permissions on it, but that didnt make any difference. It was originally 644 and i tried it upto 777, which didnt seem to make any difference. I then tried to access it directly through IE & FF and got the following:

Forbidden
You don't have permission to access /lib/xajax/xajax_js/xajax.js on this server.

I guess this is maybe to do with permissions somewhere?

If anybody knows how to fix this i would appreciate it. Also can someone tell me what this file does and whether it is vital to be able to build a site successfully? I have a week to learn CMS and produce a corporate site, albeit a relatively simple one.

All help appreciated! Thanks.

Re: Error: the xajax Javascript file could not be included.

Posted: Mon Mar 19, 2007 3:43 pm
by carterbeech
that sounds like a permissions error.  check the permissions on the folder it's in as well as the ownership.

I'm getting the same error and the permissions are set correctly, though.  I'm running 1.04.  If anyone has an answer, that would be great.