• 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

URL problem

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

Post a reply
21 posts • Page 1 of 2 • 1, 2

Postby effendis » Thu Mar 30, 2006 10:01 pm

I have a problem with URL in the script.

When I start phpFreeChat I get a message:

Error: the Javascript file could not be included. Perhaps the URL is incorrect?
URL: xport/home/jack/phpfreechat-0.9/data/public/xajax_js/xajax.js

When I list source of the WWW page I saw that all URL adresses is wrong,
becouse a start of URL adress should be: /export/home/jack/

Then addres loses two first chars.

Sorry for my English, but i ask for help - where is a problem
effendis
New member
 
Posts: 6
Joined: Thu Mar 30, 2006 9:41 pm
Top

Postby phpfreechat » Thu Mar 30, 2006 10:15 pm

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 dpushman » Fri Mar 31, 2006 9:17 am

Hello and thanks for greate chat, i am going to use this on my site. But i have some of the same problems as mentioned above. have a look : http://www.espennett.com/phpfreechat/
dpushman
New member
 
Posts: 2
Joined: Fri Mar 31, 2006 9:02 am
Location: Norway
  • Website
Top

Postby effendis » Fri Mar 31, 2006 10:00 am

For Administrator - my public URL for chat:

http://www.geol.agh.edu.pl/~porzucek/phpfreechat-0.9
effendis
New member
 
Posts: 6
Joined: Thu Mar 30, 2006 9:41 pm
Top

Postby Nemako » Mon Apr 03, 2006 8:48 am

hey kerphi,

so a friend of mine have the same problem since its last php update (it was working before...), the 2 first chars are trunked.

here is the php version on its BSD:

Code: Select all
<root@TORP:/usr/ports/lang/php5> pkg_info|grep php
php5-5.1.2_1        PHP Scripting Language (Apache Module and CLI)
php5-gettext-5.1.2_1 The gettext shared extension for php
php5-mbstring-5.1.2_1 The mbstring shared extension for php
php5-mhash-5.1.2_1  The mhash shared extension for php
php5-openssl-5.1.2_1 The openssl shared extension for php
php5-pcre-5.1.2_1   The pcre shared extension for php
php5-pgsql-5.1.2_1  The pgsql shared extension for php
php5-session-5.1.2_1 The session shared extension for php
php5-xml-5.1.2_1    The xml shared extension for php
phpbb-2.0.19        A PHP-based bulletin board / discussion forum system
phppgadmin-4.0.1    Web Based Postgres Administration

Edit ==> The problem seems to be solved with pfc 0.9 , however as I can see previous posts, dpushman and effendis seems to be already update to be 0.9...
Last edited by Nemako on Mon Apr 03, 2006 9:05 am, edited 1 time in total.
Nemako
Nemako
Member
 
Posts: 44
Joined: Fri Feb 10, 2006 1:52 pm
  • Website
Top

Postby Kachel » Wed Apr 05, 2006 8:33 pm

Hi,

I'm having the same problem, the two first chars are trunked in the urls.
I could get my own theme to work by setting up some urls manually.

But the chat doesn't work, I' cant see the Online Users and Chat-Content.

IE throws the the exception "pfc is undefined" when clicking a button or adding
a smilie.

I use pfc 0.9.1 and PHP5

$params["data_private_path"] = "../phpfreechat/data/private/chat";
$params["data_public_url"] = "../phpfreechat/data/public";
$params["themeurl"] = "../phpfreechat/themes";
$params["themeurl_default"] = "../phpfreechat/themes";
$params["debugurl"] = "../phpfreechat/debug";
Kachel
Member
 
Posts: 11
Joined: Wed Apr 05, 2006 8:24 pm
Location: Berlin (Germany)
  • Website
Top

Postby phpfreechat » Wed Apr 05, 2006 10:22 pm

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 Kachel » Thu Apr 06, 2006 7:58 am

No,

Safe_Mode is Off.
Kachel
Member
 
Posts: 11
Joined: Wed Apr 05, 2006 8:24 pm
Location: Berlin (Germany)
  • Website
Top

Postby phpfreechat » Thu Apr 06, 2006 8:26 am

- Does the demos works ?
- Can 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 Kachel » Thu Apr 06, 2006 9:09 am

No, the demos doesn't work too.
Demo21 (with hardcoded urls) works better than the others, there I can see the
Smilies and the Online-Users but the chat doesnt work.

Heres the public url:

http://www.flirtmaxxe.de/phpfreechat
Kachel
Member
 
Posts: 11
Joined: Wed Apr 05, 2006 8:24 pm
Location: Berlin (Germany)
  • Website
Top

Postby phpfreechat » Thu Apr 06, 2006 9:25 am

Could you add this parameter to the demo21 :
Code: Select all
$params["debugxajax"]     = true;     // activate xajax debug
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Kachel » Thu Apr 06, 2006 9:33 am

Param added, Debugging works!
Kachel
Member
 
Posts: 11
Joined: Wed Apr 05, 2006 8:24 pm
Location: Berlin (Germany)
  • Website
Top

Postby phpfreechat » Thu Apr 06, 2006 10:16 am

Thank you,
The refreshs seems to work but it doesn't detect the new messages, this is strange.
I don't have other ideas about this problem for now... Keep me informed if you have other informations.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Kachel » Thu Apr 06, 2006 10:24 am

Right, I can see everythng I typed into the chat
in file "messages.data" but the client doesn't display it.

Thanks for your help!
Kachel
Member
 
Posts: 11
Joined: Wed Apr 05, 2006 8:24 pm
Location: Berlin (Germany)
  • Website
Top

Postby effendis » Thu Apr 06, 2006 8:56 pm

When I add a command to xajax debuging I get a line in the debug list

[debugurl] => xport/home0/porzucek/www/phpfreechat-0.9.1/debug

other paths are OK - example

[container_cfg_chat_dir] => /export/home0/porzucek/www/phpfreechat-0.9.1/demo/../data/private/chat

Maybe it helps :)
effendis
New member
 
Posts: 6
Joined: Thu Mar 30, 2006 9:41 pm
Top

Next

Post a reply
21 posts • Page 1 of 2 • 1, 2

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 25 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