• 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

Problems submitting

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

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

Postby BlueXiphoid » Fri Apr 21, 2006 8:42 am

Hello,

I'm using phpFreeChat for the first time now, and I have had alot of trouble :(

First I ran into an url problem. but i fixed it with this:

Code: Select all
$params["data_private_path"] = "[site url]/chat/data/private/chat";
$params["data_public_url"]   = "[site url]/chat/data/public";
$params["themeurl"]          = "[site url]/chat/themes";
$params["themeurl_default"]  = "[site url]/chat/themes";
$params["debugurl"]          = "[site url]/chat/debug";

After that it seemed to work cause the interface loaded, but when I tried to submit a msg I got this:
Image

Can you guys help me out? I really want to use this chat since it's a good chat

something else, are there any admin/mod possibilities?
BlueXiphoid
Member
 
Posts: 11
Joined: Fri Apr 21, 2006 8:35 am
Top

Postby phpfreechat » Fri Apr 21, 2006 9:08 am

I think you have "safe_mode = On" in your php.ini, could you verify ?
Moreover, can you test the shared memory container ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby BlueXiphoid » Fri Apr 21, 2006 9:16 am

Thnx for the quick reply;

Safe mode is off :)

About the shared memory container, can you explain? :/
BlueXiphoid
Member
 
Posts: 11
Joined: Fri Apr 21, 2006 8:35 am
Top

Postby phpfreechat » Fri Apr 21, 2006 9:22 am

A shared memory example is available in the demo35.
does it works on your server ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby phpfreechat » Fri Apr 21, 2006 9:24 am

Oww, I think I know the problem, you wrote :
Code: Select all
$params["data_private_path"] = "[site url]/chat/data/private/chat";

This is wrong ! (Url is not a Path)
Just remove this line.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby BlueXiphoid » Fri Apr 21, 2006 9:29 am

Got this now
Code: Select all
// setup urls
$params["data_public_url"]   = "../data/public";
$params["client_script_url"] = "./index.php";
$params["server_script_url"] = "./index.php";
$params["themeurl"]          = "../themes";
$params["themeurl_default"]  = "../themes";

// setup paths
$params["container_type"]         = "File";
$params["container_cfg_chat_dir"] = dirname(__FILE__)."/../data/private/chat";

And no, demo35 is not working, prolly cause of the url's cause he is alerting me that he can't find "ome/virtual/site5/fst/var/www/html/chat/public/xajax/xajax.js"
BlueXiphoid
Member
 
Posts: 11
Joined: Fri Apr 21, 2006 8:35 am
Top

Postby phpfreechat » Fri Apr 21, 2006 9:57 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 BlueXiphoid » Fri Apr 21, 2006 10:01 am

http://www.about-me.nl/chat/index.php << the directory of the chat files :)

Uploading a fresh chat now. Adding the dir params after that.

Edit: Done / the chat is giving the error now that it gave. Smileys aren't working either
Last edited by BlueXiphoid on Fri Apr 21, 2006 10:15 am, edited 1 time in total.
BlueXiphoid
Member
 
Posts: 11
Joined: Fri Apr 21, 2006 8:35 am
Top

Postby phpfreechat » Fri Apr 21, 2006 10:20 am

Could you try to adapte the demo35 with the hardcoded urls (as you do above) ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby BlueXiphoid » Fri Apr 21, 2006 10:26 am

http://www.about-me.nl/chat/demo35_shared_memory.php

How's this?

:/ im getting crazy. It displays nothing :(
Last edited by BlueXiphoid on Fri Apr 21, 2006 10:35 am, edited 1 time in total.
BlueXiphoid
Member
 
Posts: 11
Joined: Fri Apr 21, 2006 8:35 am
Top

Postby phpfreechat » Fri Apr 21, 2006 10:35 am

It's blank :s
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby BlueXiphoid » Fri Apr 21, 2006 10:37 am

http://www.about-me.nl/chat/demo/demo35 ... memory.php
BlueXiphoid
Member
 
Posts: 11
Joined: Fri Apr 21, 2006 8:35 am
Top

Postby phpfreechat » Fri Apr 21, 2006 10:41 am

Humm after closing/opening my browser in order to clear the session cache, I get :
Error: undefined or obsolete parameter 'container_cfg_sm_type', please correct or remove this parameter
Are you sure you didn't remove this line ? :
$params["container_type"] = "Memory";
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby BlueXiphoid » Fri Apr 21, 2006 10:42 am

First 4 lines:
Code: Select all
require_once dirname(__FILE__)."/../src/phpfreechat.class.php";
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["container_type"] = "Memory";
$params["container_cfg_sm_type"] = "auto"; // autodetect the best possible storage method
BlueXiphoid
Member
 
Posts: 11
Joined: Fri Apr 21, 2006 8:35 am
Top

Postby phpfreechat » Fri Apr 21, 2006 10:49 am

Which version of phpfreechat are you using ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
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 18 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