• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 2.x Branch ‹ General Support (v2.x)
  • Change font size
  • FAQ
  • Register
  • Login

Unknown error

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

Post a reply
13 posts • Page 1 of 1

Unknown error

Postby phpfreecheat » Sat Jan 12, 2013 3:45 am

Hello,

First of all, good job for that chat.

I set up it by beginning the index.html in the folder "examples" : no problem, it works.

However, when i decid to put it in the folder "phpfreechat-2.0.5", i have the error "unknown error" in a blank display.

I tryed to change the path, but i've always this error.

How can i solve it ?
phpfreecheat
New member
 
Posts: 3
Joined: Sat Jan 12, 2013 3:35 am
Top

Re: Unknown error

Postby phpfreechat » Sat Jan 12, 2013 8:53 pm

Could you tell the link of your problem ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Unknown error

Postby phpfreecheat » Sun Jan 13, 2013 1:24 pm

Hello,

Here my error : mywebsite.com

There my working page : mywebsite.com/chat/examples/default.html

Even if i put the file in the folder "chat", i have the error.
Last edited by phpfreecheat on Sun Jan 13, 2013 6:07 pm, edited 2 times in total.
phpfreecheat
New member
 
Posts: 3
Joined: Sat Jan 12, 2013 3:35 am
Top

Re: Unknown error

Postby phpfreechat » Sun Jan 13, 2013 1:54 pm

You have to indicate to the client jquery plugin where is the phpfreechat server. Try this on your installation:
$('.pfc-hook').phpfreechat({serverUrl: '/chat/server'});
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Unknown error

Postby phpfreecheat » Sun Jan 13, 2013 5:34 pm

Cool, the chat works.

Thank you.
phpfreecheat
New member
 
Posts: 3
Joined: Sat Jan 12, 2013 3:35 am
Top

Re: Unknown error

Postby kr33log » Wed Feb 06, 2013 4:49 pm

Hello,

I have the same problem.
Can someone help me?

Thank you.

The website
http://idiota.nl/test1/default.html
kr33log
New member
 
Posts: 1
Joined: Wed Feb 06, 2013 4:46 pm
Top

Re: Unknown error

Postby pfittech » Thu Feb 07, 2013 4:23 pm

hi I get too Unknown error. Can someone post here small tutorial how to correct install please. CSS UI is ok loaded but i think problem is with server folder maybe bad patch...

here is my testing site> http://pfittech.com/phpfreechat-2.0.5/default.html

And here is my FTP tree> https://dl.dropbox.com/u/40039421/error.PNG

Last thx good job guys.
pfittech
New member
 
Posts: 3
Joined: Thu Feb 07, 2013 4:09 pm
Top

Re: Unknown error

Postby phpfreechat » Thu Feb 07, 2013 10:17 pm

kr33log wrote:Hello,

I have the same problem.
Can someone help me?

Thank you.

The website
http://idiota.nl/test1/default.html


check.php is not found :

http://idiota.nl/test1/idiota.nl/public ... /check.php
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Unknown error

Postby phpfreechat » Thu Feb 07, 2013 10:30 pm

pfittech wrote:hi I get too Unknown error. Can someone post here small tutorial how to correct install please. CSS UI is ok loaded but i think problem is with server folder maybe bad patch...

here is my testing site> http://pfittech.com/phpfreechat-2.0.5/default.html

And here is my FTP tree> https://dl.dropbox.com/u/40039421/error.PNG

Last thx good job guys.


Have a look to your check.php : http://pfittech.com/phpfreechat-2.0.5/check.php
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Unknown error

Postby pfittech » Thu Feb 07, 2013 10:47 pm

OK so my Error is Call to undefined function: json_encode() but I dont edit youe code so I dont know why is there problem and do zou know how I can fix it?

I find this but I dont know how to fix

For some reason your PHP was compiled without JSON. Either:

Recompile it
Install a package
Use a function that emulates json_encode, which can be found in the comments section of http://php.net/manual/en/function.json-encode.php
pfittech
New member
 
Posts: 3
Joined: Thu Feb 07, 2013 4:09 pm
Top

Re: Unknown error

Postby phpfreechat » Thu Feb 07, 2013 11:29 pm

Is your web site hosted on a dedicated serveur ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Unknown error

Postby pfittech » Fri Feb 08, 2013 9:31 am

yes
pfittech
New member
 
Posts: 3
Joined: Thu Feb 07, 2013 4:09 pm
Top

Re: Unknown error

Postby phpfreechat » Fri Feb 08, 2013 11:27 am

Ok so you just have to compile php with JSON support.
If you need a commercial support to do the job, don't hesitate to contact us by email.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top


Post a reply
13 posts • Page 1 of 1

Return to General Support (v2.x)

Who is online

Users browsing this forum: Majestic-12 [Bot] and 0 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