• 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

No channel on load

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

Post a reply
8 posts • Page 1 of 1

Postby robertT » Tue Dec 04, 2007 11:09 pm

Hello, a few days ago, everything worked just fine, and after some changes i made in the main.php file from the en_US, it didn't worked.

Anyway, i've deleted the old files, delete the cache and logs and all i have is the following code:

require_once("folder/src/phpfreechat.class.php"); // adjust to your own path
$params["serverid"] = md5(__FILE__);
$params["refresh_delay"] = 2000; // 2000ms = 2s
$params["title"]="Some text";
$params["theme_default_path"]="folder/themes";
$params["cmd_path_default"]="folder/src/commands";
$params["focus_on_connect"]=true;
$params["theme"]="phpbb2";
$params["height"]="200px";
$params["max_msg"]=150;
$params["max_displayed_lines"]=300;
$params["shownotice"]=0;
$params["nick"] = iconv("ISO-8859-1", "UTF-8", $SomeNick);
$params["quit_on_closedwindow"]=true;
$params["frozen_nick"]=true;
$params["channels"]=array("Some text");
$params["connect_at_startup"]=true;
$params["display_ping"]=false;
$chatX = new phpFreeChat($params);


and believe me i tried all the f*ing stuff with that $param["channels"] thing, and don't want to start with that channel
If i write /connect, everything's fine, and i enter the default channel with the proper user

What is wrong???
robertT
New member
 
Posts: 5
Joined: Tue Dec 04, 2007 11:04 pm
Location: Iasi-Romania
  • Website
Top

Postby OldWolf » Wed Dec 05, 2007 12:08 am

Have you tried removing the channel's param all together and seeing what happens?
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby robertT » Wed Dec 05, 2007 12:09 am

of course...
no default channel either...
robertT
New member
 
Posts: 5
Joined: Tue Dec 04, 2007 11:04 pm
Location: Iasi-Romania
  • Website
Top

Postby OldWolf » Thu Dec 06, 2007 4:12 am

Could you try dropping the focus_on_connect and the connect_at_startup. Make sure you rehash after you make the changes. Then close your bowser all together, and reopen it. I think we've seen this problem before, and if I remember, they had defined those two parameters as well, so I want to see if one of them is causing an odd bug.

:)
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby robertT » Fri Dec 07, 2007 12:50 am

ok, i've done that, still didn't worked
i've deleted again the phpfreechat directory, re-downloaded the sources from the site, and uploaded them, still nothing... changed in the file above and leave only the necessary parameters, still nothing... rehashed/closed browser, etc, etc...
created a new folder, re-uploaded the files, changed again in the chat page, still nothing... I've renamed then the chat page, and still nothing!!!
The damn chat don't want to show a default channel!!!

And in the end, i gave up, lost about 7-8 hours, made a fool of myself to the users of my site... and... i will search for another free chat.
C'est la vie...
robertT
New member
 
Posts: 5
Joined: Tue Dec 04, 2007 11:04 pm
Location: Iasi-Romania
  • Website
Top

Postby itsjareds » Fri Dec 07, 2007 11:16 pm

maybe a cache problem?
Later,
Jared

My site: ItsJareds.co.nr
itsjareds
Member
 
Posts: 13
Joined: Sat Nov 24, 2007 12:13 am
Location: North Carolina, USA
  • Website
Top

Postby robertT » Fri Dec 07, 2007 11:25 pm

hmmm, should i give it another try? :D

i'll upload the files in a totally different folder, and start the main page from the scratch...
keep in touch :P
robertT
New member
 
Posts: 5
Joined: Tue Dec 04, 2007 11:04 pm
Location: Iasi-Romania
  • Website
Top

Postby robertT » Fri Dec 07, 2007 11:36 pm

well.. guess what... did it work or not? :D
i can't make a poll, i'm curious about the results :)
robertT
New member
 
Posts: 5
Joined: Tue Dec 04, 2007 11:04 pm
Location: Iasi-Romania
  • Website
Top


Post a reply
8 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

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