Eqa Almutairi Posted April 19, 2018 Share Posted April 19, 2018 Hello, Have error in contact us form, was trying to fix it, so i replace the code inside modules/contactform/contactform.php sendmessage section : An error occurred while sending the message, please try again. to $errorMessage = error_get_last()['message'] which give me this. include_once(): Failed opening '/home/domain.com/www/html/themes/PRS01/lang/en.php' for inclusion (include_path='/home/domain.com/www/html/tools/htmlpurifier/standalone:/home/domain.com/www/html/vendor/pear/pear_exception:/home/domain.com/www/html/vendor/pear/console_getopt:/home/domain.com/www/html/vendor/pear/pear-core-minimal/src:/home/domain.com/www/html/vendor/pear/archive_tar:.:/usr/share/pear:/usr/share/php') Anybody have idea what this mean ? prestashop not have lang/directory only have translation and also without en.php file Thanks in Advance Link to comment Share on other sites More sharing options...
Eqa Almutairi Posted April 22, 2018 Author Share Posted April 22, 2018 hi, prestashop admins? this so hard? Link to comment Share on other sites More sharing options...
selectshop.at Posted April 22, 2018 Share Posted April 22, 2018 For the first you should disable the purifier option from your back-office. Seems that your server does not support this option. Tab "preferences -> general -> Use HTMLPurifier Library = NO. If this does not solve your problem, than contact the developer of your theme in use. Link to comment Share on other sites More sharing options...
Eqa Almutairi Posted April 22, 2018 Author Share Posted April 22, 2018 (edited) we can make the server support that! if that will fix the problem. mod_filter? this all we need fix? Edited April 22, 2018 by Eqa Almutairi (see edit history) Link to comment Share on other sites More sharing options...
selectshop.at Posted April 22, 2018 Share Posted April 22, 2018 As I told you. Disable on your back-office the purifier option. There is no need to make changes on your server. If you still cannot send messages from contact form than you should ask for support of the theme developer. Link to comment Share on other sites More sharing options...
Eqa Almutairi Posted April 22, 2018 Author Share Posted April 22, 2018 reason i said that is because developer is stupid and think he stolen this theme. we since 2017-12 contacting him on many error he was unable to help what make us think he stolen this theme or something. we also call prestashop many times about that they always ask us to contact him. without checking on the problem. what make me save headache and start do things myself/ Link to comment Share on other sites More sharing options...
Eqa Almutairi Posted April 22, 2018 Author Share Posted April 22, 2018 i understand from you is that mod_filter have something to do with this. so i start check on this. and see Link to comment Share on other sites More sharing options...
selectshop.at Posted April 22, 2018 Share Posted April 22, 2018 Sorry, but you're talking in riddles. Which mod_filter ? I'm talking about html purifier library on your server. If it is not installed, you cannot use it. So Disable the function on back-office on the tab I told you before. This is mod_filter: http://www.who.int/manual/mod/mod_filter.html This is purifier: http://htmlpurifier.org/ Both have nothing to do with each other . One is an apache module, the other a library. Link to comment Share on other sites More sharing options...
Eqa Almutairi Posted April 22, 2018 Author Share Posted April 22, 2018 yes sorry about that. install htmlpurifier now , nothing change, seems theme problem i try call prestashop people maybe have an answer Link to comment Share on other sites More sharing options...
selectshop.at Posted April 22, 2018 Share Posted April 22, 2018 Disbale the function as I said. I didn't asked you to install the library, cause you probably need also to reconfigure your server. Simply disable the option on back-office of your site. Link to comment Share on other sites More sharing options...
Eqa Almutairi Posted April 22, 2018 Author Share Posted April 22, 2018 i know and i did. but then i decide to install it and see if can fix the problem. this way can see with/without htmlpurifier anything can happen. thats all. 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