complusit Posted April 24, 2019 Share Posted April 24, 2019 (edited) Hi there, I made 2 Backups one my PC & the server of Validate.php and Customer.php then made the changes as per here: https://www.prestashop.com/forums/topic/981159-securite-spam-customer-account-solution-13-17 uploaded them and get a white page so ran Debug and got this : Fatal error: Class 'Validate' not found in /home/compluse/public_html/classes/shop/Shop.php on line 646 Tried both copies of the backup and still the error, it is 100% the original file now, Any ideas what to do? Thanks! Edited April 25, 2019 by complusit (see edit history) Link to comment Share on other sites More sharing options...
doekia Posted April 24, 2019 Share Posted April 24, 2019 1/ What is your version ? 2/ Post here or pastbin classes/Validate.php and override/classes/Validate.php 3/ What kind of editor are you using Link to comment Share on other sites More sharing options...
complusit Posted April 25, 2019 Author Share Posted April 25, 2019 Hi, Thank you for the reply, Version: 1.6.1.3 This file on the server right now with the error is below as Validate.php and the modified one I uploaded and then removed is 2Validate.php There are no files in overide/classes/ apart from index.php I used Filezilla and Notepad++ to modify the file, the original was left on the server but renamed. Thanks Again Validate.php 2Validate.php Link to comment Share on other sites More sharing options...
doekia Posted April 25, 2019 Share Posted April 25, 2019 If the files are exactly as posted here there should be no problem. PM me with your FTP access, I'll have a look indepth 1 Link to comment Share on other sites More sharing options...
complusit Posted April 25, 2019 Author Share Posted April 25, 2019 The only thing I can think might have done this, there was a browser logged in to the Backend I found after changing the files. Link to comment Share on other sites More sharing options...
complusit Posted April 25, 2019 Author Share Posted April 25, 2019 1 hour ago, doekia said: If the files are exactly as posted here there should be no problem. PM me with your FTP access, I'll have a look indepth Thank you very much for your help, looks like a PHP problem again on the Server!! Link to comment Share on other sites More sharing options...
webmasterXeral Posted April 30, 2019 Share Posted April 30, 2019 I am having the exact same problem as described by complusit. Tried different PHP versions and still the same. Any ideas? Prestashop version: 1.6.1.7 No overide classes Validate.php Link to comment Share on other sites More sharing options...
doekia Posted April 30, 2019 Share Posted April 30, 2019 This file is the vanilla one. Cannot be the cause of your problem. Link to comment Share on other sites More sharing options...
webmasterXeral Posted April 30, 2019 Share Posted April 30, 2019 That is the file that is right now on the server. I tried to rename the original file, it did not work, so I tried to upload the file of one of my backups, same problem. I also tried uploading the file from the original repository, nothing works. Link to comment Share on other sites More sharing options...
complusit Posted April 30, 2019 Author Share Posted April 30, 2019 yes, exactly the same as me Link to comment Share on other sites More sharing options...
doekia Posted April 30, 2019 Share Posted April 30, 2019 @webmasterXeral PM me your ftp credentials Link to comment Share on other sites More sharing options...
doekia Posted April 30, 2019 Share Posted April 30, 2019 Was an garbage into cache/class_index.php Fixed it, then used the patch122.php. You are now fully patched, and operational 1 Link to comment Share on other sites More sharing options...
webmasterXeral Posted April 30, 2019 Share Posted April 30, 2019 Good to know what caused the problem and how to solve it. Thank you very much! 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