boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

fatal error on log in?

 
Post new topic   Reply to topic    boardom Forum Index -> Installation issues
View previous topic :: View next topic  
Author Message
lau



Joined: 28 Oct 2003
Posts: 4

PostPosted: Tue Mar 16, 2004 1:34 pm    Post subject: fatal error on log in? Reply with quote

i have managed to install b2, but when i go to log in with the admin and random password this comes up... can anyone help? its taken me so long to master the install, im not having much luck with this thing...Sad

Warning: main(/b2/b2-include/b2template.functions.php): failed to open stream: No such file or directory in /home/starting/public_html/b2/b2login.php on line 4

Fatal error: main(): Failed opening required '/b2/b2-include/b2template.functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/starting/public_html/b2/b2login.php on line 4
Back to top
View user's profile Send private message
Jubilee



Joined: 16 Mar 2004
Posts: 5

PostPosted: Tue Mar 16, 2004 7:18 pm    Post subject: Reply with quote

I had that problem too...

what you have to do is make sure that you have a file called b2template.functions.php in the folder b2-include. And i don't think you do, because I don't. I have b2template.php and b2functions.php. two different files. Anyways....

If you don't have a folder called b2-include...check this post:
http://cafelog.com/board/viewtopic.php?t=5051

and move b2template.php and b2functions.php and b2vars.php there. Then, go to b2login.php and make sure that in the beginning, it looks like this:

<?php
require('b2config.php');
require_once($b2inc.'/b2template.php');
require_once($b2inc.'/b2functions.php');
require_once($b2inc.'/b2vars.php');

hope it helps!
Back to top
View user's profile Send private message
lau



Joined: 28 Oct 2003
Posts: 4

PostPosted: Sat Mar 20, 2004 3:29 pm    Post subject: Reply with quote

hi there.

i have both the b2template.php file (which is in the main b2 folder) and the b2template.functions.php (in the b2-include folder)...

and the b2login page starts with this.
<?php
require('b2config.php');
require_once($b2inc.'/b2template.functions.php');
require_once($b2inc.'/b2functions.php');
require_once($b2inc.'/b2vars.php');

i tried doing what you said and moved the b2 template file into the b2-include folder, and changed the start to the login like you said but it still didnt work. i've changed it back for the moment... but i'm a little confused...

any suggestions?
x
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Installation issues All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group