• 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

Common Parameter errors

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

Post a reply
2 posts • Page 1 of 1

Postby OldWolf » Thu Sep 27, 2007 4:59 am

While working out my own system's problems, I purposefully entered error-causing information into each of the path-related parameters and recorded the error results. This is a short list to help folks solve problems they might run into. If it's not useful or desired, feel free to remove it, but I thought I'd share my results so other's wouldn't need to do the same thing.

A java error is reported, OR the chatroom window is not loading and the phpfreechat icon shows up below the waiting message:
Check $params["data_public_url"], and $params["data_public_path"] (the first is more likely).

The chatroom "Chatroom Loading... Please Wait" box remains idle, chatroom does not load.
Check $params["server_script_url"]

"Please correct these errors: [filename] doesn't exist"
Check $params["server_script_path"] and $params["client_script_path"]

Fatal error: Call to a member function read() on a non-object in [filename] on line [number]
Check $params["theme_default_path"]

Chatrooms save in a strange place OR chatrooms do not load previous sessions, etc.
Check $params["data_private_path"]

------------

On a side note, I'd like to suggest error checking similar to the output for server_script_path and client_script_path by checking for existing directories or files for any other parameters that would allow such an action. Also, if the error could specificy the parameter (IE "Please correct these errors in [PARAMETER]: [filename] doesn't exist"), I think it would help novice users identify their problems more quickly. :)

I hope this is usefull, but I understand if it's not considered such. :)
James
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 OldWolf » Fri Sep 28, 2007 11:42 pm

I'd also like to add, if you're getting repeated "you must be connected to send a message" (I think that's the line), it could be because you have your timeout parameter too low in comparison to your refresh rate. I accidentally missed a 0 when typing the parameter and ended up with a one second timeout. :P
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


Post a reply
2 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

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