GKalloe Posted January 10, 2021 Share Posted January 10, 2021 My website is giving this error: Warning: require_once(/var/www/vhosts/153/342080/webspace/httpdocs/gardenofgifts.nl-prestashop/tools/htmlpurifier/HTMLPurifier.standalone.php): failed to open stream: No such file or directory in /var/www/vhosts/153/342080/webspace/httpdocs/gardenofgifts.nl-prestashop/config/config.inc.php on line 138 Fatal error: require_once(): Failed opening required '/var/www/vhosts/153/342080/webspace/httpdocs/gardenofgifts.nl-prestashop/tools/htmlpurifier/HTMLPurifier.standalone.php' (include_path='/var/www/vhosts/153/342080/webspace/httpdocs/gardenofgifts.nl-prestashop/vendor/pear/pear_exception:/var/www/vhosts/153/342080/webspace/httpdocs/gardenofgifts.nl-prestashop/vendor/pear/console_getopt:/var/www/vhosts/153/342080/webspace/httpdocs/gardenofgifts.nl-prestashop/vendor/pear/pear-core-minimal/src:/var/www/vhosts/153/342080/webspace/httpdocs/gardenofgifts.nl-prestashop/vendor/pear/archive_tar:.:/php/includes:/usr/share/pear:/usr/libexec/php4-cgi/share/pear') in /var/www/vhosts/153/342080/webspace/httpdocs/gardenofgifts.nl-prestashop/config/config.inc.php on line 138 what to do? Link to comment Share on other sites More sharing options...
Prestachamps Posted January 11, 2021 Share Posted January 11, 2021 Hi, from the error it seems that this file is missing from the server in folder: httpdocs/gardenofgifts.nl-prestashop/tools/htmlpurifier/HTMLPurifier.standalone.php you can extract that file default prestashop zip archive which corresponds with your version of Prestashop. From here you can download the prestashop version which is the same as yours: https://www.prestashop.com/en/previous-versions Kind regards, Leo 1 Link to comment Share on other sites More sharing options...
joseantgv Posted January 11, 2021 Share Posted January 11, 2021 Have you cleared cache? Link to comment Share on other sites More sharing options...
GKalloe Posted January 11, 2021 Author Share Posted January 11, 2021 5 hours ago, Leo @ Prestachamps said: Hi, from the error it seems that this file is missing from the server in folder: httpdocs/gardenofgifts.nl-prestashop/tools/htmlpurifier/HTMLPurifier.standalone.php you can extract that file default prestashop zip archive which corresponds with your version of Prestashop. From here you can download the prestashop version which is the same as yours: https://www.prestashop.com/en/previous-versions Kind regards, Leo Hi Leo, Thank you for your respond and for the link. But I don’t know which one I should download because they have different names like “beta” “stable” etc. Link to comment Share on other sites More sharing options...
GKalloe Posted January 11, 2021 Author Share Posted January 11, 2021 2 hours ago, joseantgv said: Have you cleared cache? I have deleted dev and prod from var/cache Link to comment Share on other sites More sharing options...
Prestachamps Posted January 11, 2021 Share Posted January 11, 2021 1 minute ago, GKalloe said: Hi Leo, Thank you for your respond and for the link. But I don’t know which one I should download because they have different names like “beta” “stable” etc. Him You should download the same version as it is your current shop version. You can check your version, from file: /config/settings.inc.php, it's the value of _PS_VERSION_ Kind regards, Leo 1 Link to comment Share on other sites More sharing options...
GKalloe Posted January 11, 2021 Author Share Posted January 11, 2021 9 minutes ago, Leo @ Prestachamps said: Him You should download the same version as it is your current shop version. You can check your version, from file: /config/settings.inc.php, it's the value of _PS_VERSION_ Kind regards, Leo The config/setting.inc.php file is pretty much emtpy: <?php //@deprecated 1.7 Link to comment Share on other sites More sharing options...
GKalloe Posted January 11, 2021 Author Share Posted January 11, 2021 13 minutes ago, Leo @ Prestachamps said: Him You should download the same version as it is your current shop version. You can check your version, from file: /config/settings.inc.php, it's the value of _PS_VERSION_ Kind regards, Leo I think I found my version its 1.7.4.2 If I downloaded the zip file what is the next step? (Sorry im really new to this) Link to comment Share on other sites More sharing options...
Prestachamps Posted January 11, 2021 Share Posted January 11, 2021 (edited) Hi, yes, in 1.7 Prestashop, the version is in the fuile :/app/AppKernel.php , VERSION constant. then extract the downloaded zip file, and then extract the pestashop.zip also. take from that extracted folder the file : /tools/htmlpurifier/HTMLPurifier.standalone.php and copy that one to the FTP in folder : httpdocs/gardenofgifts.nl-prestashop/tools/htmlpurifier/ Then check the page, and the error log if there are still some missing files. Kind regards, Leo Edited January 11, 2021 by Leo @ Prestachamps (see edit history) 1 Link to comment Share on other sites More sharing options...
GKalloe Posted January 11, 2021 Author Share Posted January 11, 2021 11 minutes ago, Leo @ Prestachamps said: Hi, yes, in 1. prestashop then extract the downloaded zip file, and then extract the pestashop.zip also. from that one fold the file : /tools/htmlpurifier/HTMLPurifier.standalone.php and copy that one to the FTp in flder : httpdocs/gardenofgifts.nl-prestashop/tools/htmlpurifier/ Then check the page, and the error log if there are still some missing files. Kind regards, Leo Hi, I found the file but I dont understand how to copy it? Link to comment Share on other sites More sharing options...
GKalloe Posted January 11, 2021 Author Share Posted January 11, 2021 3 hours ago, Leo @ Prestachamps said: Hi, yes, in 1.7 Prestashop, the version is in the fuile :/app/AppKernel.php , VERSION constant. then extract the downloaded zip file, and then extract the pestashop.zip also. take from that extracted folder the file : /tools/htmlpurifier/HTMLPurifier.standalone.php and copy that one to the FTP in folder : httpdocs/gardenofgifts.nl-prestashop/tools/htmlpurifier/ Then check the page, and the error log if there are still some missing files. Kind regards, Leo Hey Leo, Please help me. I tried a lot myself but I am stuck. I found out that the Tools folder is missing and the Install folder from filezilla. How can I upload them? Link to comment Share on other sites More sharing options...
GKalloe Posted January 11, 2021 Author Share Posted January 11, 2021 (edited) Hi Leo, Okay I uploaded the Tools folder bt now I have this. I also uploaded the Install folder which was missing but then when I wanted to go to my Backoffice it said to delete the Install folder. Now I can go into my Backoffice but my Frontoffice is still out. (sorry for the spam) 😞 Edited January 11, 2021 by GKalloe (see edit history) Link to comment Share on other sites More sharing options...
GKalloe Posted January 11, 2021 Author Share Posted January 11, 2021 I solved it! By disabling a module. Link to comment Share on other sites More sharing options...
Prestachamps Posted January 11, 2021 Share Posted January 11, 2021 Hi, Sorry, I had several meetings, next time drop me a PM, as I get an instant notice. there are dozens of Pulses where I answer Can you please post the solution for anybody, who know maybe somebody in the future will have the same issue. Happy selling:) 1 Link to comment Share on other sites More sharing options...
GKalloe Posted January 11, 2021 Author Share Posted January 11, 2021 11 minutes ago, Leo @ Prestachamps said: Hi, Sorry, I had several meetings, next time drop me a PM, as I get an instant notice. there are dozens of Pulses where I answer Can you please post the solution for anybody, who know maybe somebody in the future will have the same issue. Happy selling:) Hi Leo, Thats okay I’m already glad it’s solved! First I uploaded the backup Tools folder that was missing from my Prestashop root directory. After that I was able to get into my Backoffice. But my Frontoffice gave another error: Prestashop Database Exception table doesn’t exist. I also saw something about a Featured Products module in the error. So i disabled the Featured Products module in my Backoffice and my website was working again! Thank you Leo! 1 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