Log message #1032510

# At Username Text
# 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() {}
# Sep 11th 2009, 18:11 Valiant64 Hiall: You can manually do validation in the controller
# Sep 11th 2009, 18:10 wesley_unipac I'm having trouble running on my server an application made with cakephp
# Sep 11th 2009, 18:10 wesley_unipac please, someone help me
# Sep 11th 2009, 18:09 Hiall Question, when validating forms. If I have two seperate forms within a control login/register. For validation how do i split this within the model so only 1 validation is used for login and other for registration
# Sep 11th 2009, 18:09 wesley_unipac someone in Brazil?
# Sep 11th 2009, 18:07 eu Alguém do Brasil?
# Sep 11th 2009, 18:07 eu Boa noite
# Sep 11th 2009, 17:59 keogh thanks Valiant64, I was forgetting the app/.htaccess
# Sep 11th 2009, 17:55 keogh ok
# Sep 11th 2009, 17:55 Valiant64 keogh: and build an empty index.html file
# Sep 11th 2009, 17:55 Valiant64 keogh: third, create a folder in /app/webroot/desireddirectory/
# Sep 11th 2009, 17:55 Valiant64 keogh: second, copy it into public_html/.htaccess and public_html/app/.htaccess
# Sep 11th 2009, 17:54 Valiant64 keogh: so first, you want to be sure you're using apache...
# Sep 11th 2009, 17:53 keogh Valiant64: that piece of code, doesn't do anything :S
# Sep 11th 2009, 17:52 Valiant64 keogh: np, gl
# Sep 11th 2009, 17:51 keogh Valiant64: thanks
# Sep 11th 2009, 17:51 Valiant64 keogh: it's apache mod_rewrite: http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
# Sep 11th 2009, 17:50 keogh Valiant64: what language is that sintax, how do I look for more information about it, to understand it and use it?
# Sep 11th 2009, 17:49 NoReGreT i see
# Sep 11th 2009, 17:49 Valiant64 NoReGreT: /controller/action/params/moreparams
# Sep 11th 2009, 17:48 NoReGreT in redirect(), is sayd that it takes a $url. So how e.g. array('action' => 'index') is considered a url ?
# Sep 11th 2009, 17:47 Valiant64 then you have open access to that dir
# Sep 11th 2009, 17:47 Valiant64 keogh: open .htaccess and use something like this: ~~~~~~~ RewriteRule ^files/$ app/webroot/files/ [L]