Jump to content

Contact form linking back to home page


Recommended Posts

Here is my conversation with my hosting support dept:

***********************************

 

Hello,

 

The contact form is defined in the following file:

 

/www/www/catalog/controllers/ContactController.php

 

In the constructor, there are two properties:

 

$this->php_self = 'contact-form.php';

$this->ssl = true;

 

 

 

If you comment them out, the form page will be rendered; however, it does not work correctly this way. It throws an HTTP error message:

 

HTTP/1.1 500 Internal Server Error

 

 

 

This error message is not generated by the server and never appears in the error log. It is generated by Prestashop while trying to display one of the Smarty templates. It is called on line 261 of the ContactController.php file:

 

self::$smarty->display(_PS_THEME_DIR_.'contact-form.tpl');

 

 

 

Unfortunately, we are not familiar with Prestashop or Smarty and we cannot tell you what exactly causes this error message to be generated. We would recommend that you contact a developer with Prestashop experience about more assistance with this problem.

 

Best regards,

Support
Link to comment
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...