merhaba arkadaşlar, opencart 3x sürümünde yükleme gerçekleştirdim eklentilerim arasında bulunan blog eklentisine yönetim panelinden eriştiğimde Parse error: syntax error, unexpected 'ControllerBlogArticle' in /www/localhost/admin/controller/blog/article. php on line 1 şeklinde hata veriyor. Kodun içerisine baktım ama bir hata göremedim. Yardımcı olursanız sevinirim article. php db->query("INSERT INTO " . DB_PREFIX. "article SET author = '" . $this->db->escape . "', image = '" . $this->db->escape . "', sort_order = '" . $data . "', status = '" . $data . "', date_added = NOW "); $article_id = $this->db->getLastId ; foreach if (isset if (isset { foreach } $this->cache->delete ; return $article_id; } public function editArticle { $this->db->query("UPDATE " . DB_PREFIX. "article SET author = '" . $this->db->escape . "', image = '" . $this->db->escape . "', sort_order = '" . $data . "', status = '" . $data . "', date_modified = NOW WHERE article_id = '" . $article_id. "'"); $this->db->query("DELETE FROM " . DB_PREFIX. "article_description WHERE article_id = '" . $article_id. "'"); foreach $this->db->query("DELETE FROM " . DB_PREFIX. "seo_url WHERE query = 'article_id=" . $article_id. "'"); if $this->db->query("DELETE FROM " . DB_PREFIX. "article_to_store WHERE article_id = '" . $article_id. "'"); if (isset { foreach } $this->cache->delete ; } public function copyArticle { $query = $this->db->query("SELECT DISTINCT FROM " . DB_PREFIX. "article a LEFT JOIN " . DB_PREFIX. "article_description ad ON WHERE a. article_id = '" . $article_id. "' AND ad. language_id = '" . $this->config->get . "'"); if } public function deleteArticle public function getArticle public function getArticleStores { $article_store_data = array ; $query = $this->db->query("SELECT FROM " . DB_PREFIX. "article_to_store WHERE article_id = '" . $article_id. "'"); foreach return $article_store_data; } public function getArticles($data = array { $sql = "SELECT FROM " . DB_PREFIX. "article a LEFT JOIN " . DB_PREFIX. "article_description ad ON WHERE ad. language_id = '" . $this->config->get . "'"; if (! empty if (isset && ! is_null $sql.= " GROUP BY a. article_id"; $sort_data = array ; if (isset && in_array else if (isset && else if (isset || isset { if ($data < 0) if ($data < 1) $sql.= " LIMIT " . $data . "," . $data ; } $query = $this->db->query ; return $query->rows; } public function getArticleDescriptions { $article_description_data = array ; $query = $this->db->query("SELECT FROM " . DB_PREFIX. "article_description WHERE article_id = '" . $article_id. "'"); foreach return $article_description_data; } public function getTotalArticles($data = array { $sql = "SELECT COUNT AS total FROM " . DB_PREFIX. "article a LEFT JOIN " . DB_PREFIX. "article_description ad ON "; $sql.= " WHERE ad. language_id = '" . $this->config->get . "'"; if (! empty if (isset && ! is_null $query = $this->db->query ; return $query->row ; }}