• 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

Not able to login into chat

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

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

Not able to login into chat

Postby ankur_sisoli » Tue Jan 29, 2013 5:59 pm

I have installed phpfree chat at http://www.ankurgupta.net/phpfreechat/

It was working fine earlier, but since last few days it's not allowing to login into chat.
ankur_sisoli
New member
 
Posts: 5
Joined: Tue Jan 29, 2013 5:50 pm
Top

Re: Not able to login into chat

Postby Kinkz » Thu Jan 31, 2013 10:26 am

Hi,

What does your error log say when you load the chat?

Kinkz
Kinkz
New member
 
Posts: 4
Joined: Thu Jan 31, 2013 9:48 am
Top

Re: Not able to login into chat

Postby ankur_sisoli » Sun Feb 03, 2013 11:14 am

There is no error log.
ankur_sisoli
New member
 
Posts: 5
Joined: Tue Jan 29, 2013 5:50 pm
Top

Re: Not able to login into chat

Postby phpfreechat » Sun Feb 03, 2013 11:41 am

mod_rewrite seems to be disabled. Try to enable it.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Not able to login into chat

Postby ankur_sisoli » Wed Feb 06, 2013 12:47 am

My hosting provider told me that mod_rewrite is enabled by default. I tried installing phpfreechat to different location on same server(http://www.ankurgupta.net/phpfreechatv2/chat/). But the same issue is still there. Seems to be some problem with server setting.
ankur_sisoli
New member
 
Posts: 5
Joined: Tue Jan 29, 2013 5:50 pm
Top

Re: Not able to login into chat

Postby ankur_sisoli » Wed Feb 06, 2013 5:14 pm

My hosting provider told me that login into chat is successful after disabling root level .htaccess

This is the content of .htaccess

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Please tell me what modification I need in this.
ankur_sisoli
New member
 
Posts: 5
Joined: Tue Jan 29, 2013 5:50 pm
Top

Re: Not able to login into chat

Postby ankur_sisoli » Thu Feb 07, 2013 9:02 am

I found the solution. The issue was with RewriteBase setting.
I updated it to:
RewriteBase /phpfreechat/server/

Now it's working fine.
ankur_sisoli
New member
 
Posts: 5
Joined: Tue Jan 29, 2013 5:50 pm
Top

Re: Not able to login into chat

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

ankur_sisoli wrote:I found the solution. The issue was with RewriteBase setting.
I updated it to:
RewriteBase /phpfreechat/server/

Now it's working fine.

Thanks for sharing. I'll add a warning in phpfreechat errors if the routes cannot be loaded.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Not able to login into chat

Postby Goulart » Thu Feb 28, 2013 11:14 pm

Hi there,

I've just done what you guys said, but my error remains:
http://boabusca.xp3.biz/phpfreechat-2.1 ... delay.html

File: /phpfreechat-2.1.0/server/.htaccess is as follow below:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /phpfreechat/server/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

</IfModule>

Can u guys give a hand 'bout this problem?
Thank you so much for those who can help me out.
Goulart
New member
 
Posts: 3
Joined: Thu Feb 28, 2013 11:07 pm
Top

Re: Not able to login into chat

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

Goulart wrote:Hi there,

I've just done what you guys said, but my error remains:
http://boabusca.xp3.biz/phpfreechat-2.1 ... delay.html

File: /phpfreechat-2.1.0/server/.htaccess is as follow below:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /phpfreechat/server/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

</IfModule>

Can u guys give a hand 'bout this problem?
Thank you so much for those who can help me out.


Look at your URL path :
/phpfreechat-2.1.0/examples/refresh_delay.html

So your RewriteBase should not be /phpfreechat/server/ but /phpfreechat-2.1.0/server/
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Not able to login into chat

Postby Goulart » Fri Mar 01, 2013 11:58 am

That's right, and I've already tried this, but issue remains anyway :(
Some other tip?
Goulart
New member
 
Posts: 3
Joined: Thu Feb 28, 2013 11:07 pm
Top

Re: Not able to login into chat

Postby phpfreechat » Fri Mar 01, 2013 12:06 pm

Goulart wrote:That's right, and I've already tried this, but issue remains anyway :(
Some other tip?

This URL should return a small JSON structure:
http://boabusca.xp3.biz/phpfreechat-2.1.0/server/status
It redirects to a 404 page...

It's not normal.
Could you have a look to your web server error logs ?

Could you give me SSH/SFTP/FTP access to your server to look at the problem ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Not able to login into chat

Postby Goulart » Fri Mar 01, 2013 12:28 pm

Sent you the login's info through PM.

Thank you, man.
Goulart
New member
 
Posts: 3
Joined: Thu Feb 28, 2013 11:07 pm
Top

Re: Not able to login into chat

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

Goulart wrote:Sent you the login's info through PM.

Thank you, man.

Thank you, I looked at your server but I don't find any workaround. It seams that rewrite rules are not working correctly.

Could you tell me where I can see your server logs ? Maybe it could help to understand the behaviour.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Not able to login into chat

Postby ak47 » Sat Mar 02, 2013 12:45 am

phpfreechat wrote:
Goulart wrote:That's right, and I've already tried this, but issue remains anyway :(
Some other tip?

This URL should return a small JSON structure:
http://boabusca.xp3.biz/phpfreechat-2.1.0/server/status
It redirects to a 404 page...

It's not normal.
Could you have a look to your web server error logs ?

Could you give me SSH/SFTP/FTP access to your server to look at the problem ?


edit: take that back - I now experience the same situation. Thought it would be permission, but when I tried to access my site/phpfreechat/server; I get an 404.

I notice that I wasn't able to create folder or files after enable mod_rewritting. Something is odd; it could be many reason behind linux that I'm not aware of.

[EDIT:]
Fixed...

Here's the steps to solve the issue if you already have mod_rewrite enabled:

Assuming you have ubuntu/linux related (Open Terminal and TYPE):
Code: Select all
sudo nano /etc/apache2/sites-available/default


Look for this line:
Code: Select all
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
                # Uncomment this directive is you want to see apache2's
                # default start page (in /apache2-default) when you go to /
                #RedirectMatch ^/$ /apache2-default/
        </Directory>

Change:
Code: Select all
AllowOverride None

to:
Code: Select all
AllowOverride All


Save and Exit by pressing Ctrl+O, Enter, Ctrl+X.

then back to terminal and type:
Code: Select all
sudo /etc/init.d/apache2 reload


Then you're good to go.
ak47
New member
 
Posts: 3
Joined: Thu Feb 28, 2013 10:09 pm
Top

Next

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

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