• 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

Check.php problem and install issues

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

Post a reply
15 posts • Page 1 of 1

Check.php problem and install issues

Postby djSupport » Sun Feb 17, 2013 8:35 pm

Hi, For the life of me I cannot understand whats going wrong, I've transfered the chat system multiple times to multiple domains and I cannot get it to work.

I have checked JSON is working with php and apparently it is

I never get a chat window etc

and I've checked http://www.djsupportonline.com/phpfreec ... /check.php and on each domain it tries to download the file....

I've followed the 'Quick' guide yet no joy...

This is a virtual dedicated server,

If anyone has any suggestions then please let me know....
djSupport
New member
 
Posts: 5
Joined: Sun Feb 17, 2013 8:31 pm
Top

Re: Check.php problem and install issues

Postby phpfreechat » Sun Feb 17, 2013 11:06 pm

You have to look at your serveur apache or php logs to understand why it doesn't work.

You can also try the github latest version of phpfreechat cause bug have been fixed since 2.0.5: https://github.com/kerphi/phpfreechat
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Check.php problem and install issues

Postby djSupport » Mon Feb 18, 2013 9:52 am

I'll jump straight on it tonight and get back to you :)
djSupport
New member
 
Posts: 5
Joined: Sun Feb 17, 2013 8:31 pm
Top

Re: Check.php problem and install issues

Postby djSupport » Mon Feb 18, 2013 9:06 pm

I've uploaded the github version and in my logs i'm getting :

[Mon Feb 18 19:55:13 2013] [warn] [client 188.221.240.190] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://www.ctwo12.com/phpfreechat-2.0.5 ... fault.html
[Mon Feb 18 19:55:13 2013] [error] [client 188.221.240.190] Premature end of script headers: jquery.phpfreechat.js, referer: http://www.ctwo12.com/phpfreechat-2.0.5 ... fault.html
djSupport
New member
 
Posts: 5
Joined: Sun Feb 17, 2013 8:31 pm
Top

Re: Check.php problem and install issues

Postby phpfreechat » Tue Feb 19, 2013 10:11 am

What are the error log when you load this URL in your browser ?
http://www.ctwo12.com/phpfreechat-2.0.5 ... at.init.js
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Check.php problem and install issues

Postby djSupport » Tue Feb 19, 2013 9:57 pm

[Tue Feb 19 20:29:02 2013] [error] [client 173.242.125.191] Premature end of script headers: jquery.phpfreechat.init.js
djSupport
New member
 
Posts: 5
Joined: Sun Feb 17, 2013 8:31 pm
Top

Re: Check.php problem and install issues

Postby phpfreechat » Wed Feb 20, 2013 10:31 am

That is strange, you server do not allows to download these .js files

Could you provide me a SSH or FTP access on your server ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Check.php problem and install issues

Postby phpfreechat » Thu Feb 28, 2013 7:11 pm

Ok thanks to the SSH access to you server I found the problem.
In fact your web server is strangly configured: when a static file (js, css, etc ...) is named with [something][dot]php[something][dot]js the web server returns a 500 error...
I suppose it's because the server tries to run as a php script files with the [dot]php string inside its name.

It's a wrong configured server but I found a workaround: just renamed the .js and the .css files to something without "phpfreechat" string inside.
Instead of "jquery.phpfreechat.min.js" I named it "jquery.pfc.min.js" (same for .css)

Here is the result on the latest release:
http://www.ctwo12.com/phpfreechat-2.1.0 ... fault.html

I think I'll rename the js and css for the next release to remove the php string into the filenames ...
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Check.php problem and install issues

Postby djSupport » Thu Feb 28, 2013 9:19 pm

aha so its just because the 'php' is in the name? strange... I really appreciate your help!
djSupport
New member
 
Posts: 5
Joined: Sun Feb 17, 2013 8:31 pm
Top

Re: Check.php problem and install issues

Postby phpfreechat » Thu Feb 28, 2013 9:26 pm

djSupport wrote:aha so its just because the 'php' is in the name? strange... I really appreciate your help!

Yes, just because php is in the name juste after a dot... Never saw that before !
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Check.php problem and install issues

Postby ak47 » Thu Feb 28, 2013 10:59 pm

I have similar issue to this, but even with name changes to something else; it doesn't help much. I don't host this chat public. It's private so you won't be able to assist unless you're in my hamachi network.
ak47
New member
 
Posts: 3
Joined: Thu Feb 28, 2013 10:09 pm
Top

Re: Check.php problem and install issues

Postby phpfreechat » Fri Mar 01, 2013 11:45 am

ak47 wrote:I have similar issue to this, but even with name changes to something else; it doesn't help much. I don't host this chat public. It's private so you won't be able to assist unless you're in my hamachi network.

So what are you expected from this forum ? :)
Please debug yourself the problem and submit a patch to improve phpfreechat robustness.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Check.php problem and install issues

Postby ak47 » Fri Mar 01, 2013 4:59 pm

phpfreechat wrote:
ak47 wrote:I have similar issue to this, but even with name changes to something else; it doesn't help much. I don't host this chat public. It's private so you won't be able to assist unless you're in my hamachi network.

So what are you expected from this forum ? :)
Please debug yourself the problem and submit a patch to improve phpfreechat robustness.


ok, I got it working, but stuck on not able to login. What I did to get this far is to rename those jquery files so it doesn't have more than 1 dot. For example; instead of jquery.2.0.5.min.css - I name it to jquery-fmin.css. Anything more than 2 dot will not work. Currently debugging the cause of not able to login. Tried the other post suggestion also, but no luck yet.
ak47
New member
 
Posts: 3
Joined: Thu Feb 28, 2013 10:09 pm
Top

Re: Check.php problem and install issues

Postby phpfreechat » Fri Mar 01, 2013 5:04 pm

ak47 wrote:
phpfreechat wrote:
ak47 wrote:I have similar issue to this, but even with name changes to something else; it doesn't help much. I don't host this chat public. It's private so you won't be able to assist unless you're in my hamachi network.

So what are you expected from this forum ? :)
Please debug yourself the problem and submit a patch to improve phpfreechat robustness.


ok, I got it working, but stuck on not able to login. What I did to get this far is to rename those jquery files so it doesn't have more than 1 dot. For example; instead of jquery.2.0.5.min.css - I name it to jquery-fmin.css. Anything more than 2 dot will not work. Currently debugging the cause of not able to login. Tried the other post suggestion also, but no luck yet.

Ok thank you for your feedback, I'll try to integrate only one dot filenames in the next release.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Check.php problem and install issues

Postby phpfreechat » Fri Mar 01, 2013 6:55 pm

That's done in the git, now filenames are simplified, I renamed jquery.phpfreechat.*.[js|css] to pfc-*.[js|css]
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top


Post a reply
15 posts • Page 1 of 1

Return to General Support (v2.x)

Who is online

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