I have an application that is working fine on my local machine using
the behavior of Multivalidatable (see
http://bakery.cakephp.org/articles/view/multivalidatablebehavior-using-many-validation-rulesets-per-model)

When I run it from my local machine (where I have control of the
httpd.conf), it works just fine.

When I run it on my hosting provider (1and1), I get an error:

Warning (512): SQL Error: 1064: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the
right syntax to use near 'setvalidation' at line 1 [CORE/cake/libs/
model/datasources/dbo_source.php, line 521

The method in question is in the Multivalidatable.php class under ~/
VolunteerCake/models/behaviors, which seems to be the right place
locally.

My cake directory is at ~/cake, and everything else seems to be
working OK (including the 'Acl' declaration).

BTW, in order to get the app to work on 1and1, I had to modify
the .htaccess files to make the paths absolute as described here:
http://bakery.cakephp.org/articles/view/mod-rewrite-on-godaddy-shared-hosting

Any ideas on what to do to correct this ?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to