[eluser]daulex[/eluser]
Really nee help on this one:
I get:
Quote:Fatal error: out of dynamic memory in yy_create_buffer() in /home/sites/galenko.co.uk/public_html/dev/ll/system/libraries/Language.php on line 77
this shows up when I load my news page, here are the functional bits of it:
here is the news.php controller
Code:
<?
class News extends Controller {
function News(){
parent::Controller();
$this->load->helper('url');
$this->load->helper('form');
}
function index()
{
$data['query'] = $this->db->order_by("id", "DESC");
$data['query'] = $this->db->get('template');
$this->load->view('news',$data);
}
function view(){
$data['query'] = $this->db->order_by("id", "DESC");
$data['query'] = $this->db->get('template');
$this->db->where('id',$this->uri->segment(3));
$data['query2'] = $this->db->order_by("id", "DESC");
$data['query2'] = $this->db->get('template');
$this->load->view('view_news',$data);
}
}
?>
here is the view code:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="ltr">
<head>
<title>The London Legends - News</title>
<meta http-equiv="imagetoolbar" content="no" />
<meta name="MSSmartTagsPreventParsing" content="true" />
<meta name="description" content="The London Legends - News" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<?=base_url()?>system/application/views/styles/screen-main.css" media="screen, print" />
</head>
<body>
<div id="doc">
<div id="header">
<a href="<?=base_url()?>index.php/site/" title="The London Legends"><img src="<?=base_url()?>system/application/views/images/logo.png" alt="The London Legends" width="782" height="97"></a></div>
<div id="sidebar-a">
<div class="box">
<ul>
<li><a href="<?=base_url()?>index.php/site/thelegendshousehold/"><img src="<?=base_url()?>system/application/views/images/star.gif" />The Legends Household</a></li>
<li><a href="<?=base_url()?>index.php/site/thekingsrole"><img src="<?=base_url()?>system/application/views/images/star.gif" />The King’s Role</a></li>
<li><a href="<?=base_url()?>index.php/site/thelegendscollection"><img src="<?=base_url()?>system/application/views/images/star.gif" />Art & Residences</a></li>
<li><a href="<?=base_url()?>index.php/site/thekingsworkingday"><img src="<?=base_url()?>system/application/views/images/star.gif" />The Kings’ Working Day</a></li>
<li><a href="<?=base_url()?>index.php/site/crestsandsymbols"><img src="<?=base_url()?>system/application/views/images/star.gif" />Crests & Symbols</a></li>
<li><a href="<?=base_url()?>index.php/site/thelegendsarchives"><img src="<?=base_url()?>system/application/views/images/star.gif" />The Legends Archives</a></li>
<li><a href="<?=base_url()?>index.php/site/historyofthelegends"><img src="<?=base_url()?>system/application/views/images/star.gif" />History of The Legends</a></li>
<li><a href="<?=base_url()?>index.php/news/" class="hl"><img src="<?=base_url()?>system/application/views/images/star.gif" />News</a></li>
<li><a href="<?=base_url()?>index.php/site/contact"><img src="<?=base_url()?>system/application/views/images/star.gif" />Contact</a></li>
<li><a href="<?=base_url()?>index.php/site/links"><img src="<?=base_url()?>system/application/views/images/star.gif" />Links</a></li>
</ul>
</div>
<img src="<?=base_url()?>system/application/views/images/logo_small.png" style="padding-left:1px;" />
</div>
<div id="content">
<div class="newsbox">
<div class="nbcontainer">
<? foreach($query->result() as $row): ?>
<p><?=anchor('news/view/'.$row->id, ''.$row->title)?> (<?=$row->date?>)</p>
<? endforeach;?>
</div>
</div>
<div class="contentboxq">
Information about Royal Legends news and future Royal engagements.<br />
</div>
<div>
<div class="c"></div>
</div> </div>
<blockquote> </blockquote>
<div class="c"></div>
<div id="footer"><span style="padding-left:25px;">copyright London Legends 2008</span></div>
</div>
</body>
</html>
what really pisses me off is that it works fine on my pc, but when I upload it, it all crashes

the site works well otherwise, check it out:
http://dev.galenko.co.uk/ll however when you click on the news link, it all falls down and I really don't know what to do... please help...
been working on javascript and the cms for this site all day and its 2am now, damn why does it not work
please help