Dark-Graphics Posted May 12, 2011 Share Posted May 12, 2011 Hello,I am getting Error 500 when trying to log in. The error has something to do with customer classes which I have never messed with.Here is the error as it shows in admin panel under customers tabWarning: call_user_func_array() [function.call-user-func-array]: Unable to call Customer::getValidationRules() in /home/newvinyl/public_html/Fusion/classes/AdminTab.php on line 317Fatal error: Uncaught exception 'ReflectionException' with message 'Class CustomerCore does not exist' in /home/newvinyl/public_html/Fusion/config/autoload.php:38 Stack trace: #0 /home/newvinyl/public_html/Fusion/config/autoload.php(38): ReflectionClass->__construct('CustomerCore') #1 /home/newvinyl/public_html/Fusion/classes/AdminTab.php(274): __autoload('Customer') #2 /home/newvinyl/public_html/Fusion/classes/AdminTab.php(264): AdminTabCore->displayRequiredFields(Array, Array) #3 /home/newvinyl/public_html/Fusion/FAadmin/index.php(111): AdminTabCore->display() #4 {main} thrown in /home/newvinyl/public_html/Fusion/config/autoload.php on line 38 Link to comment Share on other sites More sharing options...
Dark-Graphics Posted May 12, 2011 Author Share Posted May 12, 2011 Here is the code on line 38 of autoload.php $coreClass = new ReflectionClass($className.( (interface_exists($className, false)) ? '' : 'Core')); Link to comment Share on other sites More sharing options...
Dark-Graphics Posted May 13, 2011 Author Share Posted May 13, 2011 Any body? My site is un usable without some guidance on this problem. Link to comment Share on other sites More sharing options...
xbfish Posted May 13, 2011 Share Posted May 13, 2011 Your autoload.php seems fine. Have you tried replacing AdminTab.php with from a fresh installation? Link to comment Share on other sites More sharing options...
Dark-Graphics Posted May 14, 2011 Author Share Posted May 14, 2011 just replaced it with a fresh copy. One error from the modules tab no longer exists however the error I refered to above in this particular post still exists. I can not delet or create customers and customers not create nor login still.Server Error Log shows no errors-Debug mode for config.php set to on*Current error shown in the admin:Warning: call_user_func_array() [function.call-user-func-array]: Unable to call Customer::getValidationRules() in /home/newvinyl/public_html/Fusion/classes/AdminTab.php on line 314Fatal error: Uncaught exception 'ReflectionException' with message 'Class CustomerCore does not exist' in /home/newvinyl/public_html/Fusion/config/autoload.php:38 Stack trace: #0 /home/newvinyl/public_html/Fusion/config/autoload.php(38): ReflectionClass->__construct('CustomerCore') #1 /home/newvinyl/public_html/Fusion/classes/AdminTab.php(274): __autoload('Customer') #2 /home/newvinyl/public_html/Fusion/classes/AdminTab.php(264): AdminTabCore->displayRequiredFields(Array, Array) #3 /home/newvinyl/public_html/Fusion/FAadmin/index.php(111): AdminTabCore->display() #4 {main} thrown in /home/newvinyl/public_html/Fusion/config/autoload.php on line 38 Link to comment Share on other sites More sharing options...
xbfish Posted May 14, 2011 Share Posted May 14, 2011 Hmm... can you check if you have Customer.php under root/Classes folder? Link to comment Share on other sites More sharing options...
shokinro Posted May 14, 2011 Share Posted May 14, 2011 you should check the file permission on file /classes/Customer.php.also try to replace the file with original copy. it us possiible the file is damaged durning ftp transfer or other cause. Link to comment Share on other sites More sharing options...
Dark-Graphics Posted May 14, 2011 Author Share Posted May 14, 2011 Ok I replaced the customer.php and made sure permissions was set at 644.Now when you go to the login page this error shows up for customers: (https://newvinylconcepts.com/Fusion/en/my-account)Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/newvinyl/public_html/Fusion/themes/prestashop/authentication.tpl" on line 2 "{include file=$tpl_dir./breadcrumb.tpl}" - Unexpected "/", expected one of: "{" , "$" , "identifier" , INTEGER' in /home/newvinyl/public_html/Fusion/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /home/newvinyl/public_html/Fusion/tools/smarty/sysplugins/smarty_internal_templateparser.php(2855): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/newvinyl/public_html/Fusion/tools/smarty/sysplugins/smarty_internal_templateparser.php(2920): Smarty_Internal_Templateparser->yy_syntax_error(37, '/') #2 /home/newvinyl/public_html/Fusion/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(37, '/') #3 /home/newvinyl/public_html/Fusion/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(82): Smarty_Internal_SmartyTemplateCo in /home/newvinyl/public_html/Fusion/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431 Link to comment Share on other sites More sharing options...
Dark-Graphics Posted May 14, 2011 Author Share Posted May 14, 2011 Turned off Smarty and the error above is gone.OMG U CAN LOG IN NO MORE ERROR ON THE BACK END CUSTOMERS TAB EITHER !--------------------------------------------------How ever the module tab still has the error shown above from a few posts back.Here it is again:Please contact support aboutWarning: Failure in /home/newvinyl/public_html/Fusion/classes/Module.php on line 492Please contact support aboutWarning: Failure in /home/newvinyl/public_html/Fusion/classes/Module.php on line 492Please contact support aboutWarning: Failure in /home/newvinyl/public_html/Fusion/classes/Module.php on line 492Parse error(s) in module(s)fianetfraudhipaystatscheckup-----------------The three modules its lists at the bottom i dont even know what they are and I dont use them. Link to comment Share on other sites More sharing options...
xbfish Posted May 14, 2011 Share Posted May 14, 2011 You turned off Smarty 3 and use Smarty 2 ? Link to comment Share on other sites More sharing options...
Dark-Graphics Posted May 14, 2011 Author Share Posted May 14, 2011 OPPSI meant I turned off Force compile*This forces Smarty to (re)compile templates on every invocation. Link to comment Share on other sites More sharing options...
xbfish Posted May 14, 2011 Share Posted May 14, 2011 So do you still have errors now? Link to comment Share on other sites More sharing options...
Dark-Graphics Posted May 14, 2011 Author Share Posted May 14, 2011 Yes, on the Modules tab as I said above. However all the customer errors are gone and people can log in.How ever the module tab still has the error shown above from a few posts back.Here it is again:Please contact support aboutWarning: Failure in /home/newvinyl/public_html/Fusion/classes/Module.php on line 492Please contact support aboutWarning: Failure in /home/newvinyl/public_html/Fusion/classes/Module.php on line 492Please contact support aboutWarning: Failure in /home/newvinyl/public_html/Fusion/classes/Module.php on line 492Parse error(s) in module(s)fianetfraudhipaystatscheckup Link to comment Share on other sites More sharing options...
xbfish Posted May 14, 2011 Share Posted May 14, 2011 All right, the errors seem to get lesser this time round.Have you tried replacing Module.php with a fresh one? Link to comment Share on other sites More sharing options...
Dark-Graphics Posted May 14, 2011 Author Share Posted May 14, 2011 Yes I have replaced module.php with a fresh copy . However I do not notice any errors even though theres a error report as stated.So I see this error, however I do not noticed any functionality issues with my shop.Warning: Failure in /home/newvinyl/public_html/Fusion/classes/Module.php on line 492Please contact support aboutWarning: Failure in /home/newvinyl/public_html/Fusion/classes/Module.php on line 492Please contact support aboutWarning: Failure in /home/newvinyl/public_html/Fusion/classes/Module.php on line 492Parse error(s) in module(s)fianetfraudhipaystatscheckup Link to comment Share on other sites More sharing options...
Recommended Posts