# |
Aug 7th 2008, 12:17 |
TommyO |
Sanitize is a static class |
# |
Aug 7th 2008, 12:17 |
c0m- |
i don't see an error though |
# |
Aug 7th 2008, 12:17 |
tbranyen |
kk |
# |
Aug 7th 2008, 12:17 |
c0m- |
Warning (2): mssql_query() [function.mssql-query]: General SQL Server error: Check messages from the SQL Server. (severity 5) [CORE/cake/libs/model/datasources/dbo/dbo_mssql.php, line 162] |
# |
Aug 7th 2008, 12:17 |
TommyO |
ok. never use constructors in cake. there's no need |
# |
Aug 7th 2008, 12:16 |
teknoid |
tbranyen: App::import is in the wrong place |
# |
Aug 7th 2008, 12:16 |
tbranyen |
Just trying to expand on it |
# |
Aug 7th 2008, 12:16 |
tbranyen |
Went through the whole thing and it worked |
# |
Aug 7th 2008, 12:16 |
tbranyen |
I did |
# |
Aug 7th 2008, 12:16 |
TommyO |
tbranyen: you really might want to start with the blog tutorial |
# |
Aug 7th 2008, 12:16 |
tbranyen |
Okay |
# |
Aug 7th 2008, 12:16 |
tbranyen |
That must mean you know how to fix it :D |
# |
Aug 7th 2008, 12:16 |
TommyO |
tbranyen: firstly, you don't need a constructor |
# |
Aug 7th 2008, 12:16 |
tbranyen |
Oh phew. |
# |
Aug 7th 2008, 12:15 |
TommyO |
tbranyen: lots of stuff wrong :) |
# |
Aug 7th 2008, 12:14 |
tbranyen |
i hope i'm doing something stupid |
# |
Aug 7th 2008, 12:14 |
tbranyen |
http://pastebin.ca/1094902 |
# |
Aug 7th 2008, 12:13 |
tbranyen |
I think I'm just an idiot who thought index was a default constructor |
# |
Aug 7th 2008, 12:12 |
jaredhoyt |
your entire controller class is one-line? |
# |
Aug 7th 2008, 12:12 |
tbranyen |
heh you guys pastebin one liners O_O? |
# |
Aug 7th 2008, 12:12 |
jaredhoyt |
tbranyen: lol, bin your controller |
# |
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: ^^ |