• 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

Wrong path in xajax.inc.php

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

Post a reply
14 posts • Page 1 of 1

Postby salli » Thu May 11, 2006 8:50 am

Hi,

I have been playing with phpFreeChat couple of weeks and made it even easier to use for special groups using symbols to communicate. Now I have problem I can't find a solution. Maybe I have made typo somewhere but can't find place where :-/

Here is the errorcode phpFreeChat gives me:
####################################
Fatal error: The xajax uncompressed Javascript file could not be found in the pt/xxx/xxx/selkochat/data/public/xajax_js folder. Error in /opt/html/xxx/xxx/lib/xajax_0.2_stable/xajax.inc.php on line 558
####################################

So it is obvious that two characters are missing from path to xajax_js folder (/opt/html...).

If I change
if ($sJsFullFilename) {$realJsFile = $sJsFullFilename;}
to
if ($sJsFullFilename) {$realJsFile = '/o'.$sJsFullFilename;}
I get chatroom visible but of course it is not working.

I tried to find where this $sJsFullFilename is defined but no luck. Maybe I need new glasses...

Any help would be greatly appreciated!

/sami
salli
Member
 
Posts: 11
Joined: Thu Mar 23, 2006 9:54 am
Top

Postby phpfreechat » Thu May 11, 2006 9:22 am

Do you have safe_mode=On in your php.ini ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby salli » Thu May 11, 2006 9:44 am

Thanks very much for quick answer!

No safe_mode is off and no modifications (as far as I know..) to server hasn't been made since chat last time worked.

My first thought was that maybe I have made a typo somewhere because I changed some symbols (logout/login) in layout and had to do some experimenting to get that working. I tried to look through every file I had changed lately but did not find anything.

Code has been stabbed a bit and not always cleanly because we are eagerly waiting for 1.0 version and this is just a version to pre-experiment different layouts with users. Alarmbells are ringing in my head because we have a user-session tomorrow :-O

/sami
salli
Member
 
Posts: 11
Joined: Thu Mar 23, 2006 9:54 am
Top

Postby phpfreechat » Thu May 11, 2006 10:05 am

could you give me the public url of your chat ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby salli » Thu May 11, 2006 10:12 am

Here it is:

http://verneri.net/selkochat/

Only an errormessage in root now but I guess you can find your way ;-)

/sami
salli
Member
 
Posts: 11
Joined: Thu Mar 23, 2006 9:54 am
Top

Postby phpfreechat » Thu May 11, 2006 11:05 am

You are using a old version : http://verneri.net/selkochat/version

Could you try with the most recent version : 0.9.3 ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby salli » Thu May 11, 2006 11:14 am

Hi,

Yes, in fact I'm doing it right now. I tried to survive with old version so far that we can make usertests. So after them I planned to install newest version (maybe 1.x)
and then do modifications in a more cleanly way.

But now I try to get newest version look alike that our old one. Couple hours left before the usertest are planned to begin...

/sami
salli
Member
 
Posts: 11
Joined: Thu Mar 23, 2006 9:54 am
Top

Postby salli » Thu May 11, 2006 11:43 am

More problems...

With newest version chat is giving me this on Explorer

**********************************************
Fatal error: Call to undefined function: pxlog() in /opt/html/verneri/selkochat3/src/phpfreechatconfig.class.php on line 469
**********************************************

Firefox is okay.

/sami
salli
Member
 
Posts: 11
Joined: Thu Mar 23, 2006 9:54 am
Top

Postby phpfreechat » Thu May 11, 2006 11:49 am

did you update the http://verneri.net/selkochat/ to 0.9.3 ?
did you set to true the debug parameter ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby salli » Thu May 11, 2006 11:52 am

Yes, I have done that. Just couple of minutes ago.

/sami
salli
Member
 
Posts: 11
Joined: Thu Mar 23, 2006 9:54 am
Top

Postby phpfreechat » Thu May 11, 2006 1:09 pm

1. wrong, this file report the 0.7 version : http://verneri.net/selkochat/version
2. try to disable debug
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby salli » Thu May 11, 2006 1:28 pm

Sorry, I installed new version to selkochat3 -directory. I will change that but now it is in selkochat3.

I disabled debug-mode. It did give some problems.

Explorer is working, I mean other machines than mine... I wonder if Explorer is hiding some temporary data somewhere (I did empty normal cachefolders). Really fits nicely to this situation that it is working in other computers but not in this :-] If everything can go wrong it will...

But new version is working fine. I don't have time to make it look like old one but it is usable for testing.

I quess there is no more possibility to ask users to log in automatically in jscript-window? If I remember right it was a bit problematic sometimes.

/sami
salli
Member
 
Posts: 11
Joined: Thu Mar 23, 2006 9:54 am
Top

Postby phpfreechat » Thu May 11, 2006 3:17 pm

I tried selkochat3 with both IE and FF, everything works.
If you want user automaticaly login when opening the window set this parameter :
$params["connect_at_startup"] = true;
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby salli » Mon May 15, 2006 5:13 am

Sorry for late comment, I was away for couple of days and after Windows-update my GPRS-connections doesn't work...

Just want to thank for comments!! I did got newest version of chat working and modified. Problem with earlier version was never solved but that could very well have been my own typo somewhere or something like that...

So thanks again for help and for developing a great chat :-)

/sami
salli
Member
 
Posts: 11
Joined: Thu Mar 23, 2006 9:54 am
Top


Post a reply
14 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 19 guests

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