-
Member
can someone make a repack with this fixed?
i got that error
Warning: require_once(/data/functions/gl_database.php) [
function.require-once]: failed to open stream: No such file or directory in
C:\xampp\htdocs\data\functions\gl_main.php on line
44
Fatal error: require_once() [
function.require]: Failed opening required '/data/functions/gl_database.php' (include_path='.;\xampp\php\PEAR') in
C:\xampp\htdocs\data\functions\gl_main.php on line
44
my data/config/global.php
'root_file' => ' ',
'root_http' => 'localhost',
and there is no database? except db_logon and db_logon_aspire ?
Last edited by xtr3m3; 07-16-2010 at 08:11 AM.
-
Member
Ahh gotta love a great story. And to all the people who say that the site is messed up, ill see what I can do and re release it, ofc with credits. However, one thing I would like to point out, WoWLegacy sucks balllsss
Immortal GamerZ Under Development!
-
Member
-
Member
Devon dont be a jackass. Look up. Their are links that were reuploaded.
Immortal GamerZ Under Development!
-
Member
Can someone convert this to trinity core?
-
Member
Php code error
:wave:
I NEED help with this bug i get in gl_main.php
Fatal error: Non-abstract method Main::Build() must contain body in C:\xampp\htdocs\data\functions\gl_main.php on line 41
Here's my conf:
Code:
<?php
if(!global_include()) { die(); }
class Main
{
public static function getRoot()
{
return Config::$config['server']['root_file'];
}
public static function getRootHTTP()
{
return Config::$config['server']['root_http'];
}
public static function redirect($href,$time="1")
{
echo 'You will be automatically redirected in '.$time.' second(s). <a href="'.$href.'">(Click here if you do not wish to wait.)</a>';
echo '<meta http-equiv="refresh" content="'.$time.';url='.$href.'">';
return true;
}
public static function mod_mime($mimetype="text/html")
{
header("Content-type: {$mimetype}\r\n");
}
public static function getDateFormat($timestamp='NULL')
{
if($timestamp == 'NULL')
{
$date = date("m\-d\-Y h:i:s A");
}
else
{
$date = date("m\-d\-Y h:i:s A",$timestamp);
}
return($date);
}
public static function Build();
{
require_once("../data/config/global.php");
require_once(self::getRoot()."/data/functions/gl_database.php");
require_once(self::getRoot()."/data/functions/gl_session.php");
require_once(self::getRoot()."/data/functions/gl_style.php");
require_once(self::getRoot()."/data/functions/gl_navbars.php");
require_once(self::getRoot()."/data/functions/gl_logwriter.php");
Session::Load();
Style::Load();
}
// CLOSED BETA WHITELIST ---
require_once(self::getRoot()."/data/extensions/ext_whitelist.php");
// --- /CLOSED BETA WHITELIST
if(isset($_GET['activescript'])
{
require_once(self::getRoot()."/data/functions/gl_activescript.php");
}
elseif($_GET['act'] == 'shout')
{
require_once(self::getRoot()."/data/functions/gl_shoutbox.php");
}
elseif($_GET['act'] == 'forum')
{
(echo Style::global_header(hgj);
echo Style::fpacket();
echo NavBar::CreateTop();
echo Style::fpacket();
echo NavBar::CreateFLeft();
echo Style::fpacket();
require_once(self::getRoot()."/data/pages/pg_".$_GET['act'].".php");
echo Style::fpacket();
}
else
{
$pagefile = self::getRoot()."/data/pages/pg_".$_GET['act'].".php";
echo Style::global_header();
echo Style::packet();
echo NavBar::CreateTop();
echo Style::packet();
echo NavBar::CreateLeft();
echo Style::packet();
if(!file_exists($pagefile))
{
require_once(self::getRoot()."/data/pages/pg_idx.php");
}
else
{
require_once($pagefile);
}
echo Style::packet();
echo NavBar::CreateRight();
echo Style::packet();
echo Style::global_footer();
}
if(!isset($_GET['activescript']) && Config::$config['donation']['popup_enable'])
{
$tmp = Session::get('vpoptime');
if(time() > Session::get('vpoptime') || !is_numeric($tmp))
{
require(Main::getRoot().'/data/extensions/ext_votepopup.php');
}
}
Session::Save();
MySQL::Close();
}
}
Main::Build();
?>
-
Member
link is broken can some do the cutesy of re uploading thnx in advance dev dee
-
Originally Posted by
DevDee
link is broken can some do the cutesy of re uploading thnx in advance dev dee
This code is nearly 7 years old. Emus have evolved and there are much much better systems out there now.
-
Post Thanks / Like - 1 Thanks
stoneharry (1 members gave Thanks to Skuddle for this useful post)