Jump to content
adamcarter

http 500 error in contact page

Recommended Posts

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)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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...)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

I just see a blank page.

 

Try turning on dev mode in /config/defines.inc.php

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Not sure, at first glace it looks correct, since it has nothing to do with error 500, you should start a new thread.

Share this post


Link to post
Share on other sites

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 by pel024 (see edit history)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More