After installing Joomla through DotNetPanel's Autoinstaller, I am forwarded to the installation/index.php page
Posted by Arvand Sabetian (Import) on 01 June 2009 03:10 AM
Unfortunately, since PHP doesn't have good file handling, we will need to edit the index.php to get Joomla working. Open up the index.php file and edit the following lines:

// checks for configuration file, if none found loads installation page
if (!file_exists( 'configuration.php' ) || filesize( 'configuration.php' ) < 10) {
    $self = rtrim( dirname( $_SERVER['PHP_SELF'] ), '/\\' ) . '/';
    header("Location: http://" . $_SERVER['HTTP_HOST'] . $self . "installation/index.php" );
    exit();
}

By commenting them out like so:

// checks for configuration file, if none found loads installation page
//if (!file_exists( 'configuration.php' ) || filesize( 'configuration.php' ) < 10) {
//    $self = rtrim( dirname( $_SERVER['PHP_SELF'] ), '/\\' ) . '/';
//    header("Location: http://" . $_SERVER['HTTP_HOST'] . $self . "installation/index.php" );
//    exit();
//}

Your Joomla site should now start working.
(172 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).