oltem4682
New Member
- Jun 30, 2012
- 11
- 0
Hi everyone,
Does somebody know how to fix:
I get this when I try to go to
This is my class.html.php
Some people says putting
fix this problem but it didn't fix my problem. I still get the same error.[/COLOR]
So does somebody knows how to fix this?
P.S. If you need any more information, tell me and I will post it.
Does somebody know how to fix:
Code:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261904 bytes) in C:\Habbo R63B Server\xampp\htdocs\app\tpl\class.html.php on line 27
I get this when I try to go to
You must be registered for see links
This is my class.html.php
PHP:
<?php
namespace Revolution;
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
class html implements iHTML
{
private $html;
final public function get($file)
{
global $template, $_CONFIG;
if($file != null && ctype_alnum($file))
{
if(file_exists('app/tpl/skins/'.$_CONFIG['template']['style'].'/' . $file . '.php'))
{
ob_start();
include('app/tpl/skins/'.$_CONFIG['template']['style'].'/' . $file . '.php');
$this->html .= ob_get_contents();
ob_end_clean();
$this->setHTML();
}
else
{
$this->get('404'); // Line 27
}
}
else
{
header('Location: '.$_CONFIG['hotel']['url'].'/index');
exit;
}
}
final public function getHK($file)
{
global $template, $_CONFIG;
if($file != null)
{
if(file_exists('../app/tpl/skins/'.$_CONFIG['template']['style'].'/hk/' . $file . '.php'))
{
ob_start();
require_once('../app/tpl/skins/'.$_CONFIG['template']['style'].'/hk/' . $file . '.php');
$this->html .= ob_get_contents();
ob_end_clean();
$this->setHTML();
}
else
{
$this->getHK('404');
}
}
else
{
$this->getHK('dash');
}
}
final public function setHTML()
{
global $template;
$template->tpl .= $this->html;
unset($this->html);
}
}
?>
Some people says putting
Code:
[COLOR=#333333]ini_set('memory_limit', '320M');
So does somebody knows how to fix this?
P.S. If you need any more information, tell me and I will post it.