Post by VotreEspace » Mon Aug 22, 2011 10:28 pm

Fresh install on a new server (ISPConfig on Centos 5.6)
version 1.5.1.1

My server meet the requirements.
CentOs 5.6
PHP 5.2.10
MySQL 5.0.77
Globalls Off
Magic Quotes Off
FileUp On
GB Installed and full enabled

but after install... the admin works #1, but the front end display PHP codes from model\catalog\category.php after
"class ModelCatalogCategory extends Model"
finishing with the error :
Fatal error: Class 'Modelcatalogcategory' not found in /var/www/clients/client2/web12/web/system/engine/loader.php on line 34
i've recheck twices, all files are uploaded, and permitions are sets.

Is there something missing? again, the admin works fine
and i've got some CMS installed perferctly on this server.

i'm at a lost...

VotreEspace Services Internet (Français)
VotreEspace Services Internet (english)


Newbie

Posts

Joined
Tue May 25, 2010 3:30 am
Location - Quebec city, Quebec, Canada

Post by VotreEspace » Wed Aug 24, 2011 7:40 pm

nobody even got the slightest idea? something to look up? even a "maybe" solution?

here what's displayed:

Code: Select all

{ public function getCategory($category_id) { $query = $this->db->query("SELECT DISTINCT * FROM " . DB_PREFIX . "category c LEFT JOIN " . DB_PREFIX . "category_description cd ON (c.category_id = cd.category_id) LEFT JOIN " . DB_PREFIX . "category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.category_id = '" . (int)$category_id . "' AND cd.language_id = '" . (int)$this->config->get('config_language_id') . "' AND c2s.store_id = '" . (int)$this->config->get('config_store_id') . "' AND c.status = '1'"); return $query->row; } public function getCategories($parent_id = 0) { $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "category c LEFT JOIN " . DB_PREFIX . "category_description cd ON (c.category_id = cd.category_id) LEFT JOIN " . DB_PREFIX . "category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.parent_id = '" . (int)$parent_id . "' AND cd.language_id = '" . (int)$this->config->get('config_language_id') . "' AND c2s.store_id = '" . (int)$this->config->get('config_store_id') . "' AND c.status = '1' ORDER BY c.sort_order, LCASE(cd.name)"); return $query->rows; } public function getCategoriesByParentId($category_id) { $category_data = array(); $category_data[] = $category_id; $category_query = $this->db->query("SELECT category_id FROM " . DB_PREFIX . "category WHERE parent_id = '" . (int)$category_id . "'"); foreach ($category_query->rows as $category) { $children = $this->getCategoriesByParentId($category['category_id']); if ($children) { $category_data = array_merge($children, $category_data); }	 } return $category_data; } public function getCategoryLayoutId($category_id) { $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "category_to_layout WHERE category_id = '" . (int)$category_id . "' AND store_id = '" . (int)$this->config->get('config_store_id') . "'"); if ($query->num_rows) { return $query->row['layout_id']; } else { return $this->config->get('config_layout_category'); } } public function getTotalCategoriesByCategoryId($parent_id = 0) { $query = $this->db->query("SELECT COUNT(*) AS total FROM " . DB_PREFIX . "category c LEFT JOIN " . DB_PREFIX . "category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.parent_id = '" . (int)$parent_id . "' AND c2s.store_id = '" . (int)$this->config->get('config_store_id') . "' AND c.status = '1'"); return $query->row['total']; } } ?>1'"); return $query->row['total']; } } ?>
Fatal error: Class 'Modelcatalogcategory' not found in /var/www/clients/client2/web12/web/system/engine/loader.php on line 34
the line 34 of loader.php is :

Code: Select all

$this->registry->set('model_' . str_replace('/', '_', $model), new $class($this->registry));

VotreEspace Services Internet (Français)
VotreEspace Services Internet (english)


Newbie

Posts

Joined
Tue May 25, 2010 3:30 am
Location - Quebec city, Quebec, Canada

Post by VotreEspace » Wed Aug 24, 2011 8:07 pm

I FOUND THE PROBLEM

So if anybody got the same result:

open_basedir restriction in effect.

VotreEspace Services Internet (Français)
VotreEspace Services Internet (english)


Newbie

Posts

Joined
Tue May 25, 2010 3:30 am
Location - Quebec city, Quebec, Canada

Post by reginamor » Thu Jan 24, 2013 1:36 am

i have this problem, but i don't undersant the solution ???

User avatar
Active Member

Posts

Joined
Wed Sep 21, 2011 4:44 am
Location - GB
Who is online

Users browsing this forum: No registered users and 5 guests