• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Error: the xajax Javascript file could not be included

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
11 posts • Page 1 of 1

Postby cord » Fri Jun 16, 2006 5:49 pm

I get the above message even though the path is correct and xajax.js exists.

I am using the 1.0 Beta published on June 14th 2006.

safe_mode is off.

My public chat is at

http://www.gymnasium-hechingen.de/jooml ... pfreechat/

Thanks for any hints!

Cord

-----------
EDIT:

Today I tried a new installation using the 0.9.3 release. I don't get the xajax error anymore, but a different problem: the chat doesn't accept any nick. After entering a nick, the window reopens asking for a nick.

This installaltion ist accessible here:
http://www.gymnasium-hechingen.de/jooml ... pfreechat/
Last edited by cord on Sat Jun 17, 2006 8:25 am, edited 1 time in total.
cord
New member
 
Posts: 4
Joined: Fri Jun 16, 2006 5:44 pm
Top

Postby phpfreechat » Sat Jun 17, 2006 11:09 am

did you chmod 777 the data/private/ and data/public/ directories ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby cord » Sat Jun 17, 2006 12:17 pm

kerphi wrote:did you chmod 777 the data/private/ and data/public/ directories ?

Yes, those directories are writeable for owner, group and others.
cord
New member
 
Posts: 4
Joined: Fri Jun 16, 2006 5:44 pm
Top

Postby phpfreechat » Sat Jun 17, 2006 12:23 pm

could you list the data/public/javascript/ content ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby cord » Sat Jun 17, 2006 12:51 pm

kerphi wrote:could you list the data/public/javascript/ content ?

There are the following files:

cookie.js
image_preloader.js
md5.js
prototype.js
regex.js
utf8.js
cord
New member
 
Posts: 4
Joined: Fri Jun 16, 2006 5:44 pm
Top

Postby cord » Sat Jun 17, 2006 1:13 pm

No debugging is on and I get the following error messages:

--------------
Starting xajax...
---------------
Initializing Request Object..
---------------
Calling handleRequest uri=./demo2_simple_with_params.php (post:xajax=handleRequest&xajaxr=1150546260762&xajaxargs[]=%2Fsend%203f1ac867eaeaca0ccd4b18a2fe9f2856%200)
---------------
Received:

<?xml version="1.0" encoding="utf-8" ?>
<xjx>
<cmd n="al">
<![CDATA[** PHP Error Messages: **
----
[NOTICE] iconv(): Wrong charset, conversion from `UTF-8' to `UTF-8' is not allowed
error in line 29 of file /srv/www/virtual/21056/www.gymhe.bl.schule-bw.de/vhostdata/htdoc/joomla/phpfreechat/phpfreechat/src/pfci18n.class.php
----
[WARNING] Missing argument 4 for pfcProxyCommand_auth::run(), called in /srv/www/virtual/21056/www.gymhe.bl.schule-bw.de/vhostdata/htdoc/joomla/phpfreechat/phpfreechat/src/commands/send.class.php on line 54 and defined
error in line 33 of file /srv/www/virtual/21056/www.gymhe.bl.schule-bw.de/vhostdata/htdoc/joomla/phpfreechat/phpfreechat/src/proxys/auth.class.php
----
[WARNING] Missing argument 5 for pfcProxyCommand_auth::run(), called in /srv/www/virtual/21056/www.gymhe.bl.schule-bw.de/vhostdata/htdoc/joomla/phpfreechat/phpfreechat/src/commands/send.class.php on line 54 and defined
error in line 33 of file /srv/www/virtual/21056/www.gymhe.bl.schule-bw.de/vhostdata/htdoc/joomla/phpfreechat/phpfreechat/src/proxys/auth.class.php
----
[WARNING] Missing argument 6 for pfcProxyCommand_auth::run(), called in /srv/www/virtual/21056/www.gymhe.bl.schule-bw.de/vhostdata/htdoc/joomla/phpfreechat/phpfreechat/src/commands/send.class.php on line 54 and defined
error in line 33 of file /srv/www/virtual/21056/www.gymhe.bl.schule-bw.de/vhostdata/htdoc/joomla/phpfreechat/phpfreechat/src/proxys/auth.class.php
----
[NOTICE] Undefined variable: sender
error in line 96 of file /srv/www/virtual/21056/www.gymhe.bl.schule-bw.de/vhostdata/htdoc/joomla/phpfreechat/phpfreechat/src/proxys/auth.class.php
----
[NOTICE] Undefined variable: recipient
error in line 96 of file /srv/www/virtual/21056/www.gymhe.bl.schule-bw.de/vhostdata/htdoc/joomla/phpfreechat/phpfreechat/src/proxys/auth.class.php
----
[NOTICE] Undefined variable: recipientid
error in line 96 of file /srv/www/virtual/21056/www.gymhe.bl.schule-bw.de/vhostdata/htdoc/joomla/phpfreechat/phpfreechat/src/proxys/auth.class.php]]>
</cmd>
<cmd n="js">
<![CDATA[pfc.setError(' ', Array('myprefix_words'));]]>
</cmd>
<cmd n="js">
<![CDATA[pfc.handleResponse('update', 'ko', '');]]>
</cmd>
</xjx>
cord
New member
 
Posts: 4
Joined: Fri Jun 16, 2006 5:44 pm
Top

Postby phpfreechat » Sat Jun 17, 2006 1:31 pm

cord wrote:
kerphi wrote:could you list the data/public/javascript/ content ?

There are the following files:

cookie.js
image_preloader.js
md5.js
prototype.js
regex.js
utf8.js

Ok so why I can't acces http://www.gymnasium-hechingen.de/jooml ... ipt/md5.js ?
You don't have permission to access /joomla/phpfreechat/phpfreechat/data/public/javascript/md5.js on this server.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby pitchick » Tue Jun 20, 2006 1:32 am

I'm having the same error. Here is a link to a SCREENSHOT of the message:

the url is correct and I have double checked that both public and private folders are listed as 777.

this is the contents of my javascript file:
cookie.js 1 k 0777
image_preloader.js 0 k 0777
md5.js 8 k 0777
prototype.js 46 k 0777
regex.js 0 k 0777

any hints?

http://gamedogs.org/betachat

love this chat, I used to use phpmychat, but this one I'll like much better with user authentication and admin features. :)

oh yeah, the pics aren't loading either, even though I made sure they were all in the proper file. Maybe it's related to this other problem? thank you!
Last edited by pitchick on Tue Jun 20, 2006 1:39 am, edited 1 time in total.
[color=000099]" Every time I say something they find hard to hear, they chalk it up to my anger, and never to their own fear "
~~ Ani DiFranco[/color]
pitchick
New member
 
Posts: 6
Joined: Thu May 18, 2006 8:44 pm
  • Website
Top

Postby hattrick » Tue Jun 20, 2006 8:39 am

I had the same problem a couple of times...
solved it by reinstalling the unzipped pack of phpfreechat and doing also the following (don't know which one was the real problem):
- clean up browser temp files
- clean up cookies
- assign read/write permits to DATA subfolders, if you run IIS give those permits to IIS user that is IUSR_yourmachineName.
- in the case you don't want to re-install phpfreechat, delete all the folders in data->public and everything but htacess file in data-> private

hope this may help, for me it worked
hattrick
New member
 
Posts: 7
Joined: Fri Jun 16, 2006 2:59 pm
Top

Postby Merlino666 » Sat Jul 15, 2006 12:40 pm

i've the same problem...ideas?

Image

how can i solve it?
thanks!
byeeeeeeeezzzzzzzzz
Merlino666
New member
 
Posts: 9
Joined: Sat Mar 04, 2006 3:08 pm
Top

Postby peyote » Sun Aug 13, 2006 4:05 pm

Same problem here using latest 1.0Beta 4. The xajax.js and other files get copied to data/public/xajax_js but always the error message after 2 sec (using the simple config).
Any ideas?

EDIT: Problem solved.. the xajax_js folder is created with wrong permissions. Now i set them to 755 and it fixes this problem but...
Another problem appears :(
Something about whitespaces in respose
Last edited by peyote on Sun Aug 13, 2006 4:16 pm, edited 1 time in total.
peyote
New member
 
Posts: 3
Joined: Sun Aug 13, 2006 4:02 pm
Top


Post a reply
11 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 33 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub