nuchie1 Posted February 19, 2013 Share Posted February 19, 2013 Home page contact link goes to below error. Contact link on sitemap page goes to blank page. Can someone please help. Server error The website encountered an error while retrieving http://localhost/lwc/index.php?controller=contact. It may be down for maintenance or configured incorrectly. Here are some suggestions: Reload this webpage later.HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request. Link to comment Share on other sites More sharing options...
El Patron Posted February 19, 2013 Share Posted February 19, 2013 to get more information...try this http://www.prestashop.com/forums/index.php?/topic/224525-how-to-get-debug-information-for-500-error-or-blank-page/page__view__findpost__p__1104709 Link to comment Share on other sites More sharing options...
nuchie1 Posted February 19, 2013 Author Share Posted February 19, 2013 to get more information...try this http://www.prestasho...ost__p__1104709 Now I get this Error ( ! ) Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "C:\wamp\www\lwc\themes\lwc\contact-form.tpl" on line 47 "<h3>{color=#oooooo}{ l s='Send a message'}</h3>" - Unexpected "=", expected one of: "}" , " "' in C:\wamp\www\lwc\tools\smarty\sysplugins\smarty_internal_templatecompilerbase.php on line 627 ( ! ) SmartyCompilerException: Syntax Error in template "C:\wamp\www\lwc\themes\lwc\contact-form.tpl" on line 47 "<h3>{color=#oooooo}{ l s='Send a message'}</h3>" - Unexpected "=", expected one of: "}" , " " in C:\wamp\www\lwc\tools\smarty\sysplugins\smarty_internal_templatecompilerbase.php on line 627 Call Stack # Time Memory Function Location 1 0.0004 253504 {main}( ) ..\index.php:0 2 0.1406 6563712 DispatcherCore->dispatch( ) ..\index.php:28 3 0.1530 7280632 ControllerCore->run( ) ..\Dispatcher.php:348 4 0.5153 18948856 FrontControllerCore->display( ) ..\Controller.php:185 5 0.5210 19166224 Smarty_Internal_TemplateBase->fetch( ) ..\FrontController.php:554 6 0.5219 19201752 Smarty_Internal_Template->compileTemplateSource( ) ..\smarty_internal_templatebase.php:155 Link to comment Share on other sites More sharing options...
El Patron Posted February 19, 2013 Share Posted February 19, 2013 what version of PS? did you modify the contact.tpl file? Link to comment Share on other sites More sharing options...
nuchie1 Posted February 19, 2013 Author Share Posted February 19, 2013 what version of PS? did you modify the contact.tpl file? No, I'm using 1.5.3.1 Link to comment Share on other sites More sharing options...
nuchie1 Posted February 19, 2013 Author Share Posted February 19, 2013 Just to be safe I copied and pasted a new contact-form.tpl into my site and guess what. It works now. Sometimes simple answers are what works. Thanks for all your help and the hint. Link to comment Share on other sites More sharing options...
El Patron Posted February 19, 2013 Share Posted February 19, 2013 are you using the default theme? or did you install a theme? has the contact.tpl ever worked? you can turn off template cache to see if the contact.tpl cached item is somehow corrupted... http://screencast.com/t/bQUu7SDy2 sweeeeeeeeeeeeeeet! Link to comment Share on other sites More sharing options...
nuchie1 Posted February 19, 2013 Author Share Posted February 19, 2013 (edited) are you using the default theme? or did you install a theme? has the contact.tpl ever worked? you can turn off template cache to see if the contact.tpl cached item is somehow corrupted... http://screencast.com/t/bQUu7SDy2 sweeeeeeeeeeeeeeet! I created my own theme. It's loading now. If you like you can check it out later. Here's the Link Edited February 19, 2013 by nuchie1 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts