Jump to content

Recommended Posts

Posted (edited)

Hi all, some1 can help me plz with my web page. i installed webstress11 nulled. all succesfully instaled. 

after instalation delet install.php and install folder how it says. 

but when i try to enter my installed webpage (localhost/index.php or ''myip''/index.php) shows empty page.

 

 

 

my index.php

<?php
session_start( );
error_reporting(E_ALL);
define( "STRESSWEB", TRUE );
define( "ROOT_DIR", dirname( __FILE__ ) );
define( "INC_DIR", ROOT_DIR."/inc" );
define( "MOD", "index" );

require_once( INC_DIR."/cache.php" );
require_once( INC_DIR."/data/config.php" );
require_once( INC_DIR."/data/config_db.php" );
require_once( INC_DIR."/cfg.default.php" );
require_once( INC_DIR."/lang/".$l2cfg['lang'].".php" );
require_once( INC_DIR."/classes/class.mysql.php" );
require_once( INC_DIR."/classes/class.template.php" );
$host=getenv("HTTP_HOST");
$tpl = new template_parse_class( );
$tpl->dir = ROOT_DIR.( "/skin/".$l2cfg['template'] );
$http_home_url = explode( "index.php", strtolower( $_SERVER['PHP_SELF'] ) );
$http_home_url = reset( $http_home_url );
define( "TPL_DIR", $http_home_url.( "skin/".$l2cfg['template'] ) );
require_once( INC_DIR."/classes/class.la2.php" );
require_once( INC_DIR."/classes/class.functions.php" );
require_once( INC_DIR."/classes/class.user.php" );
user::offline( );
$debug = $l2cfg['mysql']['debug'];
require_once( INC_DIR."/l2init.php" );

$user = new user( );
$user->auth( );
$_TIME = time( ) + $l2cfg['timezone'] * 60;
require_once( INC_DIR."/module.php" );
include_once( INC_DIR."/module/login.php" );
include_once( INC_DIR."/module/server.php" );
include_once( INC_DIR."/module/info.php" );
include_once( INC_DIR."/module/poll.php" );
include_once( INC_DIR."/module/forum.php" );
$tpl->GetTemplate( "index.tpl" );
$tpl->SetVar( "{TITLE}", $l2cfg['title'] );
$tpl->SetVar( "{THEME}", TPL_DIR );
$tpl->SetVar( "{LOGIN}", $tpl->result['login'] );
$tpl->SetVar( "{SERVER}", $tpl->result['server'] );
$tpl->SetVar( "{FORUM_LINKS}", $tpl->result['forum'] );
$tpl->SetVar( "{INFO}", $user->errorMsg( ) );
$tpl->SetVar( "{CONTENT}", $tpl->result['content'] );
$tpl->SetVar( "{POLL}", $tpl->result['poll'] );
$tpl->SetVar( "{COPYRIGHT}", $tpl->result['copy'] );
$tpl->parse( "index" );
echo $tpl->result['index'];
$tpl->clear_global( );
$db->Close( );
foreach ( $ldb as $ldb_close )
{
    $ldb_close->Close( );
}
foreach ( $gdb as $gdb_close )
{
    $gdb_close->Close( );
}
?>

Edited by renolv8

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...