• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ phpBB, Simple Machines Forum (SMF), and Forum Software (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

phpbb integration

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

Post a reply
36 posts • Page 3 of 3 • 1, 2, 3

Postby OldWolf » Tue Sep 29, 2009 7:36 am

Is this really the path? The capital S in there looks suspicious to me, wondering if you were trying to do a control + s to save?

$phpbb_root_path = '../'.Sphpbb_folder_name.'/'; // adjust this path to your forum installation root
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby MarkHoward » Tue Sep 29, 2009 10:45 pm

Yes OldWolf you found a typo, sorry.
When I fix the typo, however, I have the same problem.
Code: Select all
  $phpbb_folder_name = 'NZMotorhomeForum';
  $phpfreechat_folder_name = 'NZMotorhomeChat';
 
  $phpbb_root_path = '../'.$phpbb_folder_name.'/'; // adjust this path to your forum installation root/
  include( $phpbb_root_path . 'extension.inc' );
  include( $phpbb_root_path . 'common.' . $phpEx );
 
  $userdata = session_pagestart($user_ip, PAGE_INDEX);
  init_userprefs($userdata);

with errors as follow:
Code: Select all
Warning: include(../NZMotorhomeForum/extension.inc) [function.include]: failed to open stream: No such file or directory in D:xampphtdocsNZMotorhomeChatchat.php on line 8

Warning: include() [function.include]: Failed opening '../NZMotorhomeForum/extension.inc' for inclusion (include_path='.;D:xamppphppear') in D:xampphtdocsNZMotorhomeChatchat.php on line 8

Warning: include(../NZMotorhomeForum/common.) [function.include]: failed to open stream: No such file or directory in D:xampphtdocsNZMotorhomeChatchat.php on line 9

Warning: include() [function.include]: Failed opening '../NZMotorhomeForum/common.' for inclusion (include_path='.;D:xamppphppear') in D:xampphtdocsNZMotorhomeChatchat.php on line 9

Fatal error: Call to undefined function session_pagestart() in D:xampphtdocsNZMotorhomeChatchat.php on line 11

It is suggesting that it is looking for a "file or directory" in the Chat.php file. Is that as it should be?
Otherwise, any help will be received gratefully.
Thanks
MarkHoward
Member
 
Posts: 20
Joined: Sun Jul 19, 2009 12:47 am
Top

Postby OldWolf » Wed Sep 30, 2009 1:08 am

Without knowing your file structure, it's difficult to say what the problem is. Double check that your paths are correct from the file that's calling them (so if your accessing www.example.com/path/file.php, the paths need to be from that file.php). Sorry I can't offer a more specific solution. :(
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby MarkHoward » Wed Sep 30, 2009 1:29 am

I gave my directory structure in my initial post
I'm testing locally and have directly under .htdocs
NZMotorhomeForum - which is the root folder for the forum and
NZMotorhomeChat - the phpFreeChat folder

You say
Double check that your paths are correct

Can you tell me how to get to view the result of $phpbb_root_path so that I can check, please?
Thanks
Last edited by MarkHoward on Wed Sep 30, 2009 1:30 am, edited 1 time in total.
MarkHoward
Member
 
Posts: 20
Joined: Sun Jul 19, 2009 12:47 am
Top

Postby vascowhite » Tue Dec 01, 2009 10:40 am

MarkHoward wrote:Can you tell me how to get to view the result of $phpbb_root_path so that I can check, please?
Thanks

You could try echoing it:-
Code: Select all
echo $phpbb_root_path;
vascowhite
New member
 
Posts: 1
Joined: Tue Dec 01, 2009 10:23 am
Top

Postby MarkHoward » Tue Dec 01, 2009 10:51 am

Thanks, I'll try that.
MarkHoward
Member
 
Posts: 20
Joined: Sun Jul 19, 2009 12:47 am
Top

Previous

Post a reply
36 posts • Page 3 of 3 • 1, 2, 3

Return to phpBB, Simple Machines Forum (SMF), and Forum Software (v1.x)

Who is online

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