# |
Aug 7th 2008, 12:12 |
tbranyen |
gimmie a break |
# |
Aug 7th 2008, 12:12 |
tbranyen |
Fatal error: Call to a member function stripScripts() on a non-object in |
# |
Aug 7th 2008, 12:10 |
TiD |
not sure, just uploaded it to webhost |
# |
Aug 7th 2008, 12:09 |
TommyO |
TiD: where is your cake core? |
# |
Aug 7th 2008, 12:08 |
TiD |
what's the easiest way of finding out the correct value for 'CAKE_CORE_INCLUDE_PATH'? |
# |
Aug 7th 2008, 12:07 |
jaredhoyt |
D |
# |
Aug 7th 2008, 12:07 |
TommyO |
ACTION thinks he might have used it in his Facebook class but is fuzzy in the head today |
# |
Aug 7th 2008, 12:07 |
tbranyen |
i've never seen that before when instantiating an object |
# |
Aug 7th 2008, 12:07 |
tbranyen |
weird |
# |
Aug 7th 2008, 12:07 |
tbranyen |
Parse error: syntax error, unexpected T_NEW |
# |
Aug 7th 2008, 12:07 |
TommyO |
hmmm... |
# |
Aug 7th 2008, 12:07 |
jaredhoyt |
lol, i thought you were the one that told me about that =P |
# |
Aug 7th 2008, 12:06 |
TommyO |
wow. cool :) |
# |
Aug 7th 2008, 12:06 |
jaredhoyt |
i use config('paypal') above my paypalcomponent class |
# |
Aug 7th 2008, 12:06 |
jaredhoyt |
TommyO: config() loads a config file from /config |
# |
Aug 7th 2008, 12:05 |
TommyO |
jaredhoyt: config()? never heard of it. do you mean the Config class? |
# |
Aug 7th 2008, 12:04 |
charun |
;) |
# |
Aug 7th 2008, 12:04 |
TommyO |
not a 'fault' so much as a mistake. you're allowed to make those ;) |
# |
Aug 7th 2008, 12:04 |
charun |
of course, my fault. Just a typo: $this->Session->write('User', $userData); |
# |
Aug 7th 2008, 12:03 |
TommyO |
charun: ^^ |
# |
Aug 7th 2008, 12:03 |
jaredhoyt |
TommyO: you know if config() has been replaced or if can be moved inside the class? |
# |
Aug 7th 2008, 12:03 |
TommyO |
like: $this->Session->write('User', $userData); |
# |
Aug 7th 2008, 12:03 |
TommyO |
you need to give it a key to write to |
# |
Aug 7th 2008, 12:03 |
TommyO |
charun: your usage of Session->write() is wrong |
# |
Aug 7th 2008, 12:02 |
charun |
jaredhoyt: Thanks anyways. I could try to read the cookie from the controller function. Does it store the current sessionID? |
# |
Aug 7th 2008, 12:02 |
jaredhoyt |
ACTION fixes some stuff |
# |
Aug 7th 2008, 12:01 |
jaredhoyt |
TommyO: good to know :D |
# |
Aug 7th 2008, 12:01 |
tbranyen |
ah good point |
# |
Aug 7th 2008, 12:01 |
TommyO |
tbranyen: with App::import() you can use it inside, to save the overhead of the load if it isn't ever used |
# |
Aug 7th 2008, 12:01 |
jaredhoyt |
did you instantiate the sanitize class? |
# |
Aug 7th 2008, 12:01 |
tbranyen |
yeah i'll change the level |
# |
Aug 7th 2008, 12:01 |
tbranyen |
not atm |
# |
Aug 7th 2008, 12:01 |
jaredhoyt |
you may be generating an error |
# |
Aug 7th 2008, 12:01 |
jaredhoyt |
tbranyen: is your debug > 0 ? |
# |
Aug 7th 2008, 12:01 |
tbranyen |
like nothing on the page period weird |
# |
Aug 7th 2008, 12:01 |
jaredhoyt |
charun: hm, sorry... i'm not experienced w/ RPC to know why the session ids would be different |
# |
Aug 7th 2008, 12:01 |
tbranyen |
weird if i try and call any method using my sanitize object nothing is generated |
# |
Aug 7th 2008, 12:00 |
jaredhoyt |
uses() still works but i think someone said it was being deprecated... that may be wrong though ;) |
# |
Aug 7th 2008, 12:00 |
tbranyen |
ah okay |
# |
Aug 7th 2008, 12:00 |
jaredhoyt |
tbranyen: outside it... but use App::import('Core', 'Sanitize') now |
# |
Aug 7th 2008, 12:00 |
tbranyen |
and creating the actual object within the class |