adamcarter Posted February 7, 2013 Share Posted February 7, 2013 Hi everyone, I used the advice from this topic: http://www.prestashop.com/forums/topic/168864-contact-us-page-modifications/ But after saving it I received the HTTP 500 ERROR. So, I deleted everything I did. But the contact us page still brings up the 500 ERROR. What can I do? I'm so stuck and stressed Link to comment Share on other sites More sharing options...
tomerg3 Posted February 7, 2013 Share Posted February 7, 2013 1) a link to the page may help us... 2) Did you try checking the server's main error log, it may show the actual error (as error 500 is a generic error) Link to comment Share on other sites More sharing options...
adamcarter Posted February 7, 2013 Author Share Posted February 7, 2013 Hi, I had the shop in maintenance mode, hence why there was no link. I have enabled the shop but will only leave it enabled until my problem is resolved as I am keeping my website under wraps until it is completed. http://bondposters.co.uk/contact-us Thank you for the reply b y the way. I appreciate it. Best, Ad Link to comment Share on other sites More sharing options...
tomerg3 Posted February 7, 2013 Share Posted February 7, 2013 Why do you think it is error 500? Try turning on error reporting in /config/config.inc.php or defines.inc.php (depending on your PS version, which you DID NOT specify...) Link to comment Share on other sites More sharing options...
adamcarter Posted February 7, 2013 Author Share Posted February 7, 2013 Why do I think it is error 500?... It says so when you try to access the page. My PS version the latest, so 1.5.3.1. Cheers, Ad Link to comment Share on other sites More sharing options...
tomerg3 Posted February 7, 2013 Share Posted February 7, 2013 I just see a blank page. Try turning on dev mode in /config/defines.inc.php Link to comment Share on other sites More sharing options...
adamcarter Posted February 7, 2013 Author Share Posted February 7, 2013 Hmm, interesting. Turned it on now ... or at least I am sure I have. Link to comment Share on other sites More sharing options...
tomerg3 Posted February 7, 2013 Share Posted February 7, 2013 Looks like you edited the tpl file, and left some invalid syntax Syntax Error in template "/home/bondpost/public_html/themes/default/contact-form.tpl" on line 44 Link to comment Share on other sites More sharing options...
adamcarter Posted February 7, 2013 Author Share Posted February 7, 2013 Hi, Thank you for finding this! This is what is on line 44: <form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post" class="std" enctype="multipart/form-data"> What is wrong with it? Thank you!!! Ad Link to comment Share on other sites More sharing options...
tomerg3 Posted February 7, 2013 Share Posted February 7, 2013 Not sure, at first glace it looks correct, since it has nothing to do with error 500, you should start a new thread. Link to comment Share on other sites More sharing options...
adamcarter Posted February 8, 2013 Author Share Posted February 8, 2013 I have. So confused with all this. Link to comment Share on other sites More sharing options...
pel024 Posted February 8, 2013 Share Posted February 8, 2013 (edited) Sorry if this is stating the obvious, but have you tried restoring the contact-form.tpl from a backup and turned force compile on under preferences > performance? Oh, I see you've got it sorted. Edited February 8, 2013 by pel024 (see edit history) Link to comment Share on other sites More sharing options...
adamcarter Posted February 8, 2013 Author Share Posted February 8, 2013 Thanks for the help anyway ... stupid me forgot to back it up (I know - SCHOOLBOY ERROR!!!! But it was the first time I've done that for God knows how long). Not sure how the problem occurred though because as far as I can see there was nothing wrong. Odd. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now