blackmountainsupply Posted October 13, 2013 Share Posted October 13, 2013 (edited) My shop has been running fine and now all of a sudden i get this error when i click on the login button or when i try to check out. My website is www.blackmtnsupply.com Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /home/blackm22/public_html/override/controllers/front/AuthController.php on line 29 The PHP file reads this; class AuthControllerCore extends FrontController { public $ssl = true; public $php_self = 'authentication'; /** * @var bool create_account */ protected $create_account; I dont see a problem with this as I dont use SSl due to issues with a shared cert. Any help with fixing this problem ASAP so I can get my shop back online. Thanks I did upgrade to 1.5.6 this morning with no fix. Edited October 13, 2013 by blackmountainsupply (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 13, 2013 Share Posted October 13, 2013 this problem appears even if you remove the override mentioned in error code? for what purposes you use this override? is a part of some module? can you shed some light on it please? Link to comment Share on other sites More sharing options...
blackmountainsupply Posted October 13, 2013 Author Share Posted October 13, 2013 I dont know what the override is. I just looked into my Cpanel files in the override files and this is the file it is pointing to; <?php class AuthController extends AuthControllerCore { /** * Process submit on a creation */ protected function processSubmitCreate() { if (!Validate::isEmail($email = Tools::getValue('email_create')) || empty($email)) $this->errors[] = Tools::displayError('Invalid email address.'); elseif (Customer::customerExists($email)) { $this->errors[] = Tools::displayError('An account using this email address has already been registered. Please enter a valid password or request a new one. ', false); $_POST['email'] = $_POST['email_create']; unset($_POST['email_create']); } elseif ($email && $key = Configuration::get('MED_CTRLE_API')) { if (!$this->_checkMail($email,$key)) $this->errors[] = Tools::displayError('Invalid email address domain name.'); else { $this->create_account = true; $this->context->smarty->assign('email_create', Tools::safeOutput($email)); $_POST['email'] = $email; I dont know if this is associated with a module or not. How do i remove this override? Link to comment Share on other sites More sharing options...
blackmountainsupply Posted October 13, 2013 Author Share Posted October 13, 2013 (edited) got it fixed. Thanks!!!!! Just found the bad module. Had to manually delete the module and the override file. Med_controle_mail_free Module is BAD!!!! This was a email checker to validate the email address for anyone registering on your site. DONT NOT INSTALL!!!!!!!! Edited October 13, 2013 by blackmountainsupply (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 13, 2013 Share Posted October 13, 2013 do you know who create this override for you? may i know how you fixed it? Link to comment Share on other sites More sharing options...
Recommended Posts