Jump to content

[SOLVED] Edit Contact page


Recommended Posts

And one more thing, when I send a message through the contact page I get this error message:

Warning: mail() [function.mail]: Policy restriction in effect. The fifth parameter is disabled on this system in /customers/if-fashion.com/if-fashion.com/httpd.www/tools/swift/Swift/Plugin/MailSend.php on line 160


How do I solve this problem?
I have attached a picture.

30401_IKT7ulKR51V2KhTIFfCb_t

Link to comment
Share on other sites

To edit that go to ur presta admin >Tools>Translation>Modify Translation (Front Office) and then search for that text and edit him


I found it, but I can only write in one line. I would like it to look like this:

Adress
Phone
Fax

I can only write these info directly after each other (which I dont want): Adress Phone Fax

I hope you understand what I mean
Link to comment
Share on other sites

See this topic to add the contact details from the Preferences > Contact tab to the contact page.


Thnx Rocky, I will read it. I have one more problem, everytime I send a message through the contact page I get this error message:

Warning: mail() [function.mail]: Policy restriction in effect. The fifth parameter is disabled on this system in /customers/if-fashion.com/if-fashion.com/httpd.www/tools/swift/Swift/Plugin/MailSend.php on line 160

How do I solve this?
Regards

30428_6qHrB1hx8sIQuaSJmkd8_t

Link to comment
Share on other sites

Here's the code causing the problem:

if (!ini_get("safe_mode")) $success = mail($to, $subject, $message, $headers, $params);
else $success = mail($to, $subject, $message, $headers);



It seems that your server is in "safe mode", but it is telling PrestaShop that it isn't in "safe mode", which causes PrestaShop to pass an extra parameter when it shouldn't. It's something you should ask your host about. In the meantime, you can change these lines to the following to always assume the server is in "safe mode":

/*if (!ini_get("safe_mode")) $success = mail($to, $subject, $message, $headers, $params);
else*/ $success = mail($to, $subject, $message, $headers);

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