Pagina 1 van 1

Index.php is beschadigd

Geplaatst: 18 apr 2005, 22:45
door kooikerhondje
Deze foutmelding krijg ik nadat ik een fotoalbum wilde instaleren


Warning: main(./../extension.inc): failed to open stream: No such file or directory in /home/kooikerforumnl/HTML/phpBB/index.php on line 30

Fatal error: main(): Failed opening required './../extension.inc' (include_path='.:/usr/local/lib/php') in /home/kooikerforumnl/HTML/phpBB/index.php on line 30

Wat kan ik er aan doen om het op te lossen

Bijvoorbaat mijn dank
Tiny

Geplaatst: 19 apr 2005, 07:16
door Bee
Post de eerste 50 regels eens van het bestand index.php eens.

Geplaatst: 19 apr 2005, 07:27
door kooikerhondje
<?php
/***************************************************************************
* (admin) index.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: index.php,v 1.40.2.6 2004/07/11 16:46:15 acydburn Exp $
*
*
***************************************************************************/

/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/

define('IN_PHPBB', 1);

//
// Load default header
//
$no_page_header = TRUE;
$phpbb_root_path = "./../";
require($phpbb_root_path . 'extension.inc');
require('./pagestart.' . $phpEx);

// ---------------
// Begin functions
//
function inarray($needle, $haystack)
{
for($i = 0; $i < sizeof($haystack); $i++ )
{
if( $haystack[$i] == $needle )
{
return true;
}
}
return false;
}
//
// End functions
// -------------

Geplaatst: 19 apr 2005, 09:58
door kooikerhondje
Ik heb het alweer opgelost door de template subsilver te downloaden en daar de index van te oploaden

Bedankt voor de reactie