# |
Sep 11th 2009, 18:27 |
justskills |
hey guys |
# |
Sep 11th 2009, 18:27 |
jjwdesign |
It actually seems to work pretty well. |
# |
Sep 11th 2009, 18:27 |
wesley_unipac |
erro 500 |
# |
Sep 11th 2009, 18:27 |
Valiant64 |
Hiall: I'm not sure. I do know you can swap out $validates, unbind and rebind, but that's all via the controller. Maybe you can mod the validate inherited functions, but i'd have to think about that. |
# |
Sep 11th 2009, 18:27 |
wesley_unipac |
Internal Server Error |
# |
Sep 11th 2009, 18:27 |
unclezoot |
does anyone know of any plugin i can look at, which has a plugin.helper loading css + js within it? |
# |
Sep 11th 2009, 18:27 |
jjwdesign |
http://bin.cakephp.org/view/1112766558 |
# |
Sep 11th 2009, 18:27 |
wesley_unipac |
Now he is giving the message |
# |
Sep 11th 2009, 18:27 |
wesley_unipac |
mod_rewrite is enabled and. access are also ok. |
# |
Sep 11th 2009, 18:26 |
jjwdesign |
!bin |
# |
Sep 11th 2009, 18:26 |
jjwdesign |
ifunk: SqlConditionsComponent is done. |
# |
Sep 11th 2009, 18:23 |
Valiant64 |
wesley_unipac: i'd double check your paths, make sure mod_rewrite is on and that your .htaccess files are still there |
# |
Sep 11th 2009, 18:22 |
wesley_unipac |
the problem is I need to run it local |
# |
Sep 11th 2009, 18:22 |
Hiall |
Valiant64, back to the validation.. would it be possible to have the $validate in the mode but I group it by the a hidden field? so all login is X and register is Y? |
# |
Sep 11th 2009, 18:21 |
wesley_unipac |
the original application is in http://mididatica.com.br /unipac/sites/login |
# |
Sep 11th 2009, 18:21 |
unclezoot |
just php i believe |
# |
Sep 11th 2009, 18:21 |
NoReGreT |
I have an exe that takes a parameter and dumps output, how can I use it to dump the output in a var or something. is there something in cakephp for that ? or is it just php ? |
# |
Sep 11th 2009, 18:20 |
Valiant64 |
wesley_unipac: want to pm me a link? |
# |
Sep 11th 2009, 18:19 |
wesley_unipac |
Valiant64 Has msn so I can send you the screen? |
# |
Sep 11th 2009, 18:19 |
Valiant64 |
NetTalk: anytime, I've been there |
# |
Sep 11th 2009, 18:19 |
Valiant64 |
Hiall: np |
# |
Sep 11th 2009, 18:18 |
wesley_unipac |
As I said, I got the system ready to perform maintenance |
# |
Sep 11th 2009, 18:18 |
wesley_unipac |
The requested URL /sites/login was not found on this server. |
# |
Sep 11th 2009, 18:18 |
wesley_unipac |
Not Found |
# |
Sep 11th 2009, 18:17 |
NetTalk |
thanks valiant64, i was doing something on there but finally, it works without showing any error message, thanks buddy |
# |
Sep 11th 2009, 18:17 |
Valiant64 |
wesley_unipac: what message or error? |
# |
Sep 11th 2009, 18:17 |
wesley_unipac |
Hiall Maybe you can help me. when I run my application always appears the message. |
# |
Sep 11th 2009, 18:16 |
Valiant64 |
NetTalk: you need to be sure bootstrap exists in /app/config/ and that your /cake dir exists |
# |
Sep 11th 2009, 18:16 |
Hiall |
thanks Valiant64 and ifunk |
# |
Sep 11th 2009, 18:16 |
Hiall |
ok |
# |
Sep 11th 2009, 18:16 |
Hiall |
hmmn |
# |
Sep 11th 2009, 18:15 |
Valiant64 |
Hiall, ifunk: Think of the model validation as what's required to maintain a record in the table. |
# |
Sep 11th 2009, 18:15 |
Hiall |
I see |
# |
Sep 11th 2009, 18:14 |
ifunk |
you can modify the $validate array on the fly in beforeValidate() if you need to |
# |
Sep 11th 2009, 18:14 |
Hiall |
ifunk, How do I split validation for each form then? :| |
# |
Sep 11th 2009, 18:14 |
NetTalk |
I m having an error which says "Warning: require(cake\bootstrap.php) [function.require]: failed to open stream: No such file or directory in C:\tools\xampp\htdocs\digitalstuffsale\webroot\index.php on line 78" |
# |
Sep 11th 2009, 18:14 |
ifunk |
Hiall: you should keep all your validation in your model |
# |
Sep 11th 2009, 18:13 |
Valiant64 |
Hiall: login validation may be different, depending on password encryption, so manually doing it in the login() function is an easy solution |
# |
Sep 11th 2009, 18:13 |
Valiant64 |
Hiall: Strip the model validation to the most least required items to build the object |
# |
Sep 11th 2009, 18:11 |
Hiall |
? |
# |
Sep 11th 2009, 18:11 |
Hiall |
Valiant64, so I put validation within function register() {} and function login() {} |