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

Require-once path

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

Post a reply
7 posts • Page 1 of 1

Postby Kraven » Fri Jul 23, 2010 7:29 pm

For some reason the include in the index file is not finding the file phpfreechat.class. The path is correct, the file is there, but I get this error.

Warning: require_once(/home1/blah/public_html/phpfreechat-1.3[1]/src/phpfreechat.class.php) [function.require-once]: failed to open stream: No such file or directory in /home1/blah/public_html/phpfreechat-1.3[1]/index.php on line 3

Fatal error: require_once() [function.require]: Failed opening required '/home1/blah/public_html/phpfreechat-1.3[1]/src/phpfreechat.class.php' (include_path='.:/usr/lib64/php:/usr/lib/php') in /home1/blah/public_html/phpfreechat-1.3[1]/index.php on line 3

I've even tried using the full url without success. It says pretty much the same thing, that the file or directory doesn't exist.

I'm a rookie, so if anyone has some pointers, please explain in detail so I'll understand.

Any help will be greatly appreciated.

Thanks,
Kraven
Kraven
New member
 
Posts: 9
Joined: Fri Jul 23, 2010 7:09 pm
Top

Postby re*s.t.a.r.s.*2 » Sat Jul 24, 2010 3:48 am

Show your code here please so we can see whats up with it...
Use ["code"]script code here["/code"] without the"".
Last edited by re*s.t.a.r.s.*2 on Sat Jul 24, 2010 3:50 am, edited 1 time in total.
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby re*s.t.a.r.s.*2 » Sat Jul 24, 2010 1:10 pm

One thing you can try is t check folder permission, make sure it got the proper settings regards..
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby Kraven » Sat Jul 24, 2010 6:17 pm

Thanks, I tried giving every permission across the board except write, to all the files and folders in the path.... nothing. Still the same warning message about no such file.
The spelling, the path, permissions , and it doesn't work.... I'm stumped.

Looks like I'll just have to find another script. I've spent too much time fooling around with this one already, when pretty good scripts are to be had for a reasonable price.

Thanks for trying,
Kraven
Kraven
New member
 
Posts: 9
Joined: Fri Jul 23, 2010 7:09 pm
Top

Postby Kraven » Sun Jul 25, 2010 2:36 pm

I figured out the problem.

Thanks,
Kraven
Kraven
New member
 
Posts: 9
Joined: Fri Jul 23, 2010 7:09 pm
Top

Postby re*s.t.a.r.s.*2 » Sun Jul 25, 2010 5:39 pm

Can you say what it was at least minimum?...
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby Kraven » Tue Jul 27, 2010 6:32 am

Sure... I needed to add a (dirname for every folder leading to the required file. In my case it was 6.

Kraven
Kraven
New member
 
Posts: 9
Joined: Fri Jul 23, 2010 7:09 pm
Top


Post a reply
7 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

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