flippy Posted December 30, 2006 Share Posted December 30, 2006 I've installed Red Hat and XAMPP, now I'm trying to install phpBB2. I'm able to see all of the XAMPP info and phpinfo() but when I try to open install.php I receive the following errors:Warning: include(./../extension.inc) [function.include]: failed to open stream: No such file or directory in /opt/lampp/htdocs/phpbb2/install/install.php on line 314Warning: include() [function.include]: Failed opening './../extension.inc' for inclusion (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/phpbb2/install/install.php on line 314Warning: include(./../includes/constants.) [function.include]: failed to open stream: No such file or directory in /opt/lampp/htdocs/phpbb2/install/install.php on line 322Warning: include() [function.include]: Failed opening './../includes/constants.' for inclusion (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/phpbb2/install/install.php on line 322Warning: include(./../includes/functions.) [function.include]: failed to open stream: No such file or directory in /opt/lampp/htdocs/phpbb2/install/install.php on line 323Warning: include() [function.include]: Failed opening './../includes/functions.' for inclusion (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/phpbb2/install/install.php on line 323Warning: include(./../includes/sessions.) [function.include]: failed to open stream: No such file or directory in /opt/lampp/htdocs/phpbb2/install/install.php on line 324Warning: include() [function.include]: Failed opening './../includes/sessions.' for inclusion (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/phpbb2/install/install.php on line 324I was able to connect to the database using http://loalhost/phpbb2/contrib/dbinformer.php so I think php is usable, there must be another setting that is incorrect. I'm sure that it's looking for includes, but I'm not sure where they are or what I can do to fix it. Quote Link to comment https://forums.phpfreaks.com/topic/32282-phpbb-includes/ Share on other sites More sharing options...
wildteen88 Posted December 30, 2006 Share Posted December 30, 2006 The errors are caused by the first error, which is this:Warning: include(./../extension.inc) [function.include]: failed to open stream: No such file or directory in /opt/lampp/htdocs/phpbb2/install/install.php on line 314That error message means PHP is unable to find a file called extension.inc in the root of the phpBB folder (/opt/lampp/htdocs/phpbb2). Check that you have extracted all the contents correctly. Or just create a new file called extension.inc and add the following contents to it:[code]<?php/*************************************************************************** * extension.inc * ------------------- * begin : Saturday, Feb 13, 2001 * copyright : (C) 2001 The phpBB Group * email : support@phpbb.com * * $Id: extension.inc,v 1.5 2002/04/04 11:52:50 psotfx Exp $ * * ***************************************************************************/ if ( !defined('IN_PHPBB') ){ die("Hacking attempt");}//// Change this if your extension is not .php!//$phpEx = "php";$starttime = 0;?>[/code]All should now be well. Quote Link to comment https://forums.phpfreaks.com/topic/32282-phpbb-includes/#findComment-149866 Share on other sites More sharing options...
flippy Posted December 30, 2006 Author Share Posted December 30, 2006 Yes,I must have missed something, install.php worked, but now I got the same error for sql_parse.php after I inputted the instal info. You have a directory listing of what files should be there? That way I'll know if I have them all.-flip Quote Link to comment https://forums.phpfreaks.com/topic/32282-phpbb-includes/#findComment-149882 Share on other sites More sharing options...
wildteen88 Posted December 30, 2006 Share Posted December 30, 2006 Re-download phpBB from phpbb.com (get the full package not the upgrade package). [url=http://sourceforge.net/project/downloading.php?groupname=phpbb&filename=phpBB-2.0.22.tar.gz&use_mirror=osdn]click here[/url] to download phpBB.When you downloaded phpbb re-extract phpBB to /opt/lampp/htdocs/ overwriting existing files/folders. Quote Link to comment https://forums.phpfreaks.com/topic/32282-phpbb-includes/#findComment-149893 Share on other sites More sharing options...
flippy Posted December 30, 2006 Author Share Posted December 30, 2006 Thanks!!It worked, but now I have another problem...I was able to restore my board to the previous state, but everytime I log in/out I'm sent to page not found HTTP 404 error. I've checked for the file that it's looking for in the adress: http://172.25.6.92/phpbb2/login.php it's there. Anyone ever had this problem?-flip Quote Link to comment https://forums.phpfreaks.com/topic/32282-phpbb-includes/#findComment-150007 Share on other sites More sharing options...
flippy Posted December 30, 2006 Author Share Posted December 30, 2006 Ok, I think my problem lies w/ the restoration I did. The server and install locations are not the same and I can't even get to the admin panel because of it. Quote Link to comment https://forums.phpfreaks.com/topic/32282-phpbb-includes/#findComment-150031 Share on other sites More sharing options...
flippy Posted December 30, 2006 Author Share Posted December 30, 2006 OK, deleted all table entries... back to square 1. I guess I need to just import the forum tables and user tables, I don't care if I loose the posts or anything else.... Thanks for all the help! Quote Link to comment https://forums.phpfreaks.com/topic/32282-phpbb-includes/#findComment-150052 Share on other sites More sharing options...
wildteen88 Posted December 31, 2006 Share Posted December 31, 2006 No need to do that! Edit the tables in the database. I would recommend you to go to phpbb.com and get help there, they will be able to help you more. Quote Link to comment https://forums.phpfreaks.com/topic/32282-phpbb-includes/#findComment-150314 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.