View previous topic :: View next topic |
Author |
Message |
lau
Joined: 28 Oct 2003 Posts: 4
|
Posted: Tue Mar 16, 2004 1:34 pm Post subject: fatal error on log in? |
|
|
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...
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 |
|
 |
Jubilee
Joined: 16 Mar 2004 Posts: 5
|
Posted: Tue Mar 16, 2004 7:18 pm Post subject: |
|
|
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 |
|
 |
lau
Joined: 28 Oct 2003 Posts: 4
|
Posted: Sat Mar 20, 2004 3:29 pm Post subject: |
|
|
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 |
|
 |
|