A PHP Error was encountered

Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 244

site_model->getAdmin(2); $data['category']=$this->site_model->getAllRecords('category','sort_order'); $data['product']=$this->site_model->getOneRow('products','title_url',$id); $product=$this->site_model->getOneRow('products','title_url',$id); $data['gallery']=$this->site_model->getAllRecordsCond('products_gallery','id_products',$product->id_products,'sort_order'); $data['related_products']=$this->site_model->getAllRecordsCond2('products','id_category',$product->id_category,'id_products !=',$product->id_products,'sort_order limit 6'); $data['countrelated']=count($data['related_products']); $data['countgallery']=count($data['gallery']); $data['back_category']=$this->site_model->getOneRow('category','id_category',$product->id_category); $this->template->add_js('js/script_details.js'); $this->template->write_view('header','includes/header',$data); $this->template->write_view('content','products_details',$data); $this->template->write_view('footer','includes/footer',$data); $this->template->render(); } }

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/eissaa/public_html/system/core/Exceptions.php:170)

Filename: core/Common.php

Line Number: 414

404 Page Not Found

404 Page Not Found

The page you requested was not found.