• 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

Fresh install, chat wont load

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

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

Fresh install, chat wont load

Postby rick001 » Fri Dec 07, 2012 5:26 am

Hello, i was just trying out the new version sadly it just wont load. I am including the html code where i tried to implement the chat.

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="/phpfreechat-2.0.5/client/lib/jquery-1.8.2.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/phpfreechat-2.0.5/client/themes/default/jquery.phpfreechat.min.css" />
<script src="/phpfreechat-2.0.5/client/jquery.phpfreechat.min.js" type="text/javascript"></script>
</head>
<body>
<div id="mychat"><a href="http://www.phpfreechat.net">phpFreeChat • Creating chat rooms everywhere</a></div>
<script type="text/javascript">
  $('#mychat').phpfreechat({ serverUrl: '/phpfreechat-2.0.5/server' });
</script>
</body>
</html>


Used this same file in 2 different location http://www.techbreeze.in/mychat/phpfreechat-2.0.5/check.html and http://www.techbreeze.in/mychat/check.html doesnt work. May be it has something to do with the php configuration. Please let me know how to make it work
rick001
Member
 
Posts: 35
Joined: Sun Oct 16, 2011 1:28 pm
Top

Re: Fresh install, chat wont load

Postby rick001 » Fri Dec 07, 2012 5:31 am

ok i got it to work the chat loads fine now. Had to modify the code a bit and point to the actual location of the phpfree chat folder. But now the trouble is the chat load just fine but i am not able to login. Everytime i click on login i am redirected to the login page again!!!
rick001
Member
 
Posts: 35
Joined: Sun Oct 16, 2011 1:28 pm
Top

Re: Fresh install, chat wont load

Postby phpfreechat » Sun Dec 09, 2012 8:24 pm

Could you check that mod_rewrite is enabled on your server ?
This URL should not return 404 : http://www.techbreeze.in/mychat/phpfree ... erver/auth
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Fresh install, chat wont load

Postby rick001 » Wed Dec 12, 2012 9:50 am

i did ask my host before posting the trouble in the forum and they said its enabled but well let me test it out now and see if it really is enabled
rick001
Member
 
Posts: 35
Joined: Sun Oct 16, 2011 1:28 pm
Top

Re: Fresh install, chat wont load

Postby rick001 » Wed Dec 12, 2012 10:03 am

they still keep telling me that the mod_rewrite is enabled and even i tested it out seems to me that it is really enabled though let me know if i am doing it wrong here is what i did.

I added these lines to my .htaccess file
Code: Select all
RewriteEngine on
RewriteRule testpage\.html http://www.google.com [R]


and then tried to open
Code: Select all
http://www.techbreeze.in/testpage.html
my logic was that if mod_rewrite is enabled the link www.techbreeze.in/testpage.html should get redirected to www.google.com The page is successfully getting redirected. Let me know if there is some other way to check if the mod_rewrite is working
rick001
Member
 
Posts: 35
Joined: Sun Oct 16, 2011 1:28 pm
Top

Re: Fresh install, chat wont load

Postby rick001 » Wed Dec 12, 2012 10:13 am

also please note that i tried to see if the directory server/auth exits but when i use my file manger to view the files i couldnt find that directory there is no auth folder inside the server folder
rick001
Member
 
Posts: 35
Joined: Sun Oct 16, 2011 1:28 pm
Top

Re: Fresh install, chat wont load

Postby phpfreechat » Wed Dec 12, 2012 11:32 pm

rick001 wrote:also please note that i tried to see if the directory server/auth exits but when i use my file manger to view the files i couldnt find that directory there is no auth folder inside the server folder

Yes that is normal that this folder doesn't exists. It's a virtual one, that's why mod_rewrite is needed.

Have a look to this file : https://github.com/kerphi/phpfreechat/b ... /.htaccess
This .htaccess should be executed in your server/ folder. Maybe you didn't uploaded it ? sometime FTP client skip such files (begining with a dot)
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Fresh install, chat wont load

Postby rick001 » Thu Dec 13, 2012 2:17 pm

yes it is there and i am still not able to get in. I have a CDN running though let me bypass the cache for sometime and see if that's what was causing the trouble
rick001
Member
 
Posts: 35
Joined: Sun Oct 16, 2011 1:28 pm
Top

Re: Fresh install, chat wont load

Postby rick001 » Sat Dec 15, 2012 11:27 am

OK i turned off the CDN and even then the problem persist. I guess the .htaccess code isnt getting executed, if you want i could pm u my cPanel login details may be u could check things out?
rick001
Member
 
Posts: 35
Joined: Sun Oct 16, 2011 1:28 pm
Top

Re: Fresh install, chat wont load

Postby phpfreechat » Sat Dec 15, 2012 7:51 pm

Ok, send me a PM, I'll have a look.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Fresh install, chat wont load

Postby Crafz » Sun Dec 16, 2012 8:25 pm

I am getting the same issue. Also this .htaccess file totally breaks stuff. https://github.com/kerphi/phpfreechat/b ... /.htaccess

Code: Select all
<!doctype html>
<html>

<head>
   <title>Welcome to TF2Pickup.net</title>
   <script src="/phpfreechat-2.0.5/client/lib/jquery-1.8.2.min.js" type="text/javascript"></script>
   <link rel="stylesheet" type="text/css" href="/phpfreechat-2.0.5/client/themes/carbon/jquery.phpfreechat.min.css" />
   <script src="/phpfreechat-2.0.5/client/jquery.phpfreechat.min.js" type="text/javascript"></script>
</head>

<body>
<div id="mychat"><a href="http://www.phpfreechat.net">phpFreeChat • Creating chat rooms everywhere</a></div>
<script type="text/javascript">
  $('#mychat').phpfreechat({ serverUrl: '/phpfreechat-2.0.5/server' });
</script>
<script type="text/javascript" src="http://www.bplaced.net/pub/bpa.js"></script></body>
</html>

<!-- <script type="text/javascript" src="http://www.bplaced.net/pub/bpa.js"></script> -->


http://tf2pickup.square7.ch/
Crafz
New member
 
Posts: 6
Joined: Sun Dec 16, 2012 8:13 pm
Top

Re: Fresh install, chat wont load

Postby phpfreechat » Sun Dec 16, 2012 8:44 pm

phpfreechat wrote:Ok, send me a PM, I'll have a look.

I checked your installation.
I tried to edit .htaccess and to play with it... I found the correct parameter which was missing:
Code: Select all
RewriteBase /mychat/phpfreechat-2.0.5/server/

I added it and it works now.

http://www.techbreeze.in/mychat/phpfree ... es/default
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Fresh install, chat wont load

Postby phpfreechat » Sun Dec 16, 2012 8:48 pm

Crafz wrote:I am getting the same issue. Also this .htaccess file totally breaks stuff. https://github.com/kerphi/phpfreechat/b ... /.htaccess

Code: Select all
<!doctype html>
<html>

<head>
   <title>Welcome to TF2Pickup.net</title>
   <script src="/phpfreechat-2.0.5/client/lib/jquery-1.8.2.min.js" type="text/javascript"></script>
   <link rel="stylesheet" type="text/css" href="/phpfreechat-2.0.5/client/themes/carbon/jquery.phpfreechat.min.css" />
   <script src="/phpfreechat-2.0.5/client/jquery.phpfreechat.min.js" type="text/javascript"></script>
</head>

<body>
<div id="mychat"><a href="http://www.phpfreechat.net">phpFreeChat • Creating chat rooms everywhere</a></div>
<script type="text/javascript">
  $('#mychat').phpfreechat({ serverUrl: '/phpfreechat-2.0.5/server' });
</script>
<script type="text/javascript" src="http://www.bplaced.net/pub/bpa.js"></script></body>
</html>

<!-- <script type="text/javascript" src="http://www.bplaced.net/pub/bpa.js"></script> -->


http://tf2pickup.square7.ch/


Could you check your apache serve logs ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Fresh install, chat wont load

Postby Crafz » Sun Dec 16, 2012 9:17 pm

Do you mean under: /phpfreechat-2.0.5/server/log/.htaccess ?
Code: Select all
order deny,allow
deny from all
allow from localhost


Sorry for being so clueless, I am pretty sure my host square7.ch has apache installed. Where can I find the logs?
Crafz
New member
 
Posts: 6
Joined: Sun Dec 16, 2012 8:13 pm
Top

Re: Fresh install, chat wont load

Postby phpfreechat » Mon Dec 17, 2012 11:58 pm

Is it free host with advertisments automaticaly inserted in webpage ?
If yes, it's normal that it can't work...
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Next

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

Return to General Support (v2.x)

Who is online

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