• 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 not found but /examples/ works

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

Post a reply
5 posts • Page 1 of 1

Check.php not found but /examples/ works

Postby skcor » Mon Mar 11, 2013 8:41 am

nvro.net/chat/

I went to nvro.net/chat/examples/ and it seemed to work fine, so I copied one of the files, changed the locations and renamed it to index.html just outside the examples folder.

I also have htaccess with "AddType application/x-httpd-php53 .php" to allow php 5.3.0 since thats not the default on the server. (its in the same folder 'nvro.net/chat')

So anyways, examples work fine, but when I changed the file and moved it, it all of a sudden cannot find the check.php file.

Anyone know any causes to this kind of error?
skcor
New member
 
Posts: 1
Joined: Mon Mar 11, 2013 8:31 am
Top

Re: Check.php not found but /examples/ works

Postby Ajraddatz » Tue Mar 12, 2013 2:21 pm

Hey, using the "inspect element" thingy in Chrome, it seems that the jquery-1.8.2.min.js script (in /client/lib) is trying to access check.php from http://nvro.net/check.php, rather than http://nvro.net/server/check.php. You could change the path to the file in the jquery-1.8.2.min.js and jquery.phpfreechat.min.js files, or move the check.php file to the www directory.
Ajraddatz
New member
 
Posts: 2
Joined: Tue Mar 12, 2013 2:18 pm
Top

Re: Check.php not found but /examples/ works

Postby phpfreechat » Mon Mar 25, 2013 12:28 am

I was not able to reproduce this problem.
Notice: check.php is located at the root of phpfreechat source code (not in server/ folder!)
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Check.php not found but /examples/ works

Postby DELandes » Thu May 02, 2013 3:31 am

I had the exact same problem. I have phpfreechat installed in a sub directory;
http://mydomain.net/chat/

When I tried loading phpfreechat from chat/index.html I got the error stating it couldn't find check.php. But it worked fine from the examples/ sub directory.

So I put the index.html in it's own sub directory; http://mydomain.net/chat/subdir/index.html
and that works fine, no errors, it finds check.php.
DELandes
New member
 
Posts: 1
Joined: Thu May 02, 2013 3:22 am
Top

Re: Check.php not found but /examples/ works

Postby lionroot » Tue May 14, 2013 9:04 pm

Hello,

I had the exact same problem as OP but i changed the path on the file jquery.phpfreechat.min.css and after that the error was gone, but this error start throwing this error:
"mod_rewrite must be enabled server side and correctly configured. "RewriteBase" could be adjusted in server/.htaccess file."

I have tested mod_rewrite and is working fine, also tested many combination with "RewriteBase" change the path but none has solve my issue.

If any one can guide me to solve this issue would be much appreciated.

Thanks.


EDIT: I just fixed the issue, it was a error on my end while editing the new index created.
I was missing the line where you tell where is the document root.
lionroot
New member
 
Posts: 1
Joined: Tue May 14, 2013 1:40 pm
Top


Post a reply
5 posts • Page 1 of 1

Return to General Support (v2.x)

Who is online

Users browsing this forum: No registered users and 1 guest

  • 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