Jump to content

[SOLVED] Fatal error: Class 'Validate'


complusit

Recommended Posts

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 by complusit (see edit history)
Link to comment
Share on other sites

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

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

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