vahidasadi1 Posted July 29, 2015 Share Posted July 29, 2015 (edited) hi i have finished whole my website locally and now i have moved it to live server.everything was going good and i saw my website front office online but then i noticed an error when i wanted too go to back office here is the error: Parse error: syntax error, unexpected $end in /home/ajhsmark/public_html/classes/controller/AdminController.php on line 2253 that refers to if ($this->getModulesList($this->filter_modules_list)) { $tmp = array(); foreach ($this->modules_list as $key => $module) if ($module->active) { $tmp[] = $module; unset($this->modules_list[$key]); } $this->modules_list = array_merge($tmp, $this->modules_list); foreach ($this->modules_list as $key => $module) { if (in_array($module->name, $this->list_partners_modules)) $this->modules_list[$key]->type = 'addonsPartner'; if (isset($module->description_full) && trim($module->description_full) != '') $module->show_quick_view = true; } $helper = new Helper(); return $helper->renderModulesList($this->modules_list); } oh plzzzz somebody help me just wana mention that i had updated PS to 1.6.1.0 Edit: i deleted the code and i have access to both front and back office now, but i must check what was this code's duty? Edited July 29, 2015 by vahidasadi1 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts