Log message #1032420

# At Username Text
# Sep 11th 2009, 17:03 Scotto its sending the browser text/html
# Sep 11th 2009, 16:53 Scotto i checked the param settings and made sure the file exists
# Sep 11th 2009, 16:52 Scotto why would i be gettign a blank page for a media view?
# Sep 11th 2009, 16:41 ifunk il_padrino: look at the source code for App::import like i have suggested
# Sep 11th 2009, 16:41 ifunk il_padrino: for every folder
# Sep 11th 2009, 16:41 ifunk il_padrino: cake does not modify your include path
# Sep 11th 2009, 16:40 il_padrino /home/stefano/public_html/MT/cake:/home/stefano/public_html/MT/cake/app/:.:/usr/share/php:/usr/share/pear
# Sep 11th 2009, 16:40 il_padrino but in the output of include_path i don't see vendors in include
# Sep 11th 2009, 16:39 il_padrino this is my __construct
# Sep 11th 2009, 16:39 il_padrino }
# Sep 11th 2009, 16:39 il_padrino parent::__construct();
# Sep 11th 2009, 16:39 il_padrino debug(ini_get('include_path'));
# Sep 11th 2009, 16:39 il_padrino App::import('Vendor', 'oauth', array('file' => 'OAuth'.DS.'OAuth.php'));
# Sep 11th 2009, 16:39 il_padrino public function __construct() {
# Sep 11th 2009, 16:39 il_padrino ifunk,
# Sep 11th 2009, 16:38 ifunk il_padrino: look into App::import() it's cake way of handling include paths
# Sep 11th 2009, 16:37 il_padrino this is my out of debug(ini_get('include_path'));
# Sep 11th 2009, 16:36 il_padrino /home/stefano/public_html/MT/cake:/home/stefano/public_html/MT/cake/app/:.:/usr/share/php:/usr/share/pear
# Sep 11th 2009, 16:36 il_padrino ifunk,
# Sep 11th 2009, 16:36 ifunk il_padrino: look into App::import('Vendor', 'SomeLibrary', array('file' => 'some'.DS.'library.php'));
# Sep 11th 2009, 16:35 ifunk and do something like this in your model's beforeSave: if (isset($this->data[$this->alias]['password_change'])) $this->data[$this->alias]['password'] = Security::hash($this->data[$this->alias]['password_change'], null, true);
# Sep 11th 2009, 16:34 il_padrino any idea?
# Sep 11th 2009, 16:34 il_padrino S
# Sep 11th 2009, 16:34 il_padrino ;( my cake isn't include my vendors folder
# Sep 11th 2009, 16:34 il_padrino i have a problem with include_path
# Sep 11th 2009, 16:34 ifunk Nathan547: alternatively bypass cake's hashing altogether
# Sep 11th 2009, 16:33 il_padrino hello
# Sep 11th 2009, 16:33 Nathan547 ifunk: That's too easy though
# Sep 11th 2009, 16:33 jjwdesign Internet... I hope not. I don't know what else I'm good at. LOL
# Sep 11th 2009, 16:32 ifunk Nathan547: echo $form->input('password', array('value' => ''));
# Sep 11th 2009, 16:32 markstory internet is a fad
# Sep 11th 2009, 16:32 jrod yeah it is.... everyone knows silverlight is the future of rich web ui :)
# Sep 11th 2009, 16:32 ifunk Nathan547: i recommend not displaying the hashed value in the form
# Sep 11th 2009, 16:32 jjwdesign AJax is just a fad. :)
# Sep 11th 2009, 16:31 jjwdesign LOL
# Sep 11th 2009, 16:31 Nathan547 I guess I could check if submitted password = current hash
# Sep 11th 2009, 16:31 KarlHungus jjwdesign: albeit much slower =)
# Sep 11th 2009, 16:30 jjwdesign Nathan547... You might just be able to remove the password field from the 'edit' (users) view. That will prevent from being saved again...
# Sep 11th 2009, 16:30 jrod markstory: yeah it does a great job of bringing the complexity of normal development to the browser :)
# Sep 11th 2009, 16:30 KarlHungus jjwdesign: its write less, do more
# Sep 11th 2009, 16:30 ifunk jjwdesign: jquery is so popular because people love writing javascript code others can't easily read