[eluser]deltajam[/eluser]
well, turning error reporting on helped. Our CI version in 1.6.3, and PHP version is 4.4.7.
it broke with statements like this:
Code:
function parse_header($page, $link_name)
{
$query = $this->db->query("SELECT cat_name, cat_desc FROM categories WHERE cat_url = '$page' AND site_id = 1");
$data = array(
'cat_name' => $query->row()->cat_name,
'cat_desc' => $query->row()->cat_desc,
'link_name' => " - " . $link_name,);
$this->template->parse_view('header', 'global/header', $data);
}
Now, the comma you see at the end of the array ... I thought that was tyhe mistake the was crashing. But nope. I get this error, no matter what I do:
Code:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ')' in {site_path}public_html/v110/system/application/models/header.php on line 17
How can I set the same level of 'sensitivity' for testing on my home server? This is so bizarre. I have one very angry client.