Jump to content

local xampp to live server with working front office and error-y back office


Recommended Posts

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 by vahidasadi1 (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...