Jump to content

Help to classes/validate (SOLVED)


Recommended Posts

Hello everyone 

 

I have this problem when i try to go through checkout (look screenshot)

I put in a totally normal sir name, last name and adress

 

What did I do wrong in my validate.php code ? (http://codepad.org/HzCWTaQd)

 

PrestaShop version: 1.5.4.1

PrestaShop theme: default

 

Hope some of you can help me (or send me the default validate.php file)

 

Best regards

 

Jacob

Edited by badmintongrej (see edit history)
Link to comment
Share on other sites

Hello everyone 

 

I have this problem when i try to go through checkout (look screenshot)

I put in a totally normal sir name, last name and adress

 

What did I do wrong in my validate.php code ? (http://codepad.org/HzCWTaQd)

 

PrestaShop version: 1.5.4.1

PrestaShop theme: default

 

Hope some of you can help me (or send me the default validate.php file)

 

Best regards

 

Jacob

 

any one know how to solve this ? 

Link to comment
Share on other sites

im confused.

im asking about overrides ;) have you checked if you haven't got override of this class? sometimes modules creating overrides, maybe you 've got override of this class. just check it to be 100% sure.

 

To be honest im not 100 % of what that is. But my updated file look like this http://codepad.org/yemwaQoY

Can you see if it has been written over ? :)

Link to comment
Share on other sites

even if oyu use valid file in original directory - it will not work if you use overrides. this is why im still asking about that :P

http://doc.prestashop.com/display/PS15/Overriding+default+behaviors#Overridingdefaultbehaviors-Overridingaclass

I have not enabled override, and i checked in the folder called overwrite/classes, and i found no validate.php file :(

Do you know what to do ? If you can personal message me, you can mabye call me over skype ? 

Link to comment
Share on other sites

hello

 

may i know where the problem was? :) im so curious

Yes sure :) 

After my friend screw the original file up, i just took the information from the file you gave, and copied it into the validate.php file. That made the other problem occurre. But then i downloaded the file you gave me, and took it directly into my classes folder, and it helped :) Thanks a lot ! :)

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