# |
May 26th 2016, 14:15 |
nemmons |
you're trying to go to http://yoursite.com/test.php|yoursite.com/test.php, cakephp is reading 'test.php' and assumes you're giving it the name of a controller |
# |
May 26th 2016, 14:14 |
alanderouen_ |
Google doesn't help me on this one. Can anyone guide me toward any kind of doc about that ? |
# |
May 26th 2016, 14:13 |
alanderouen_ |
Error: Test.phpController could not be found. |
# |
May 26th 2016, 14:13 |
alanderouen_ |
i was saying : i'm facing this error : |
# |
May 26th 2016, 14:12 |
alanderouen_ |
arf... Sorry, new IRC client too |
# |
May 26th 2016, 14:12 |
alanderouen_ |
Error: Test.phpController could not be found. |
# |
May 26th 2016, 14:11 |
alanderouen_ |
At long last, i start writing unit tests for my Cake2 app :) |
# |
May 26th 2016, 14:10 |
bravo-kernel |
but nvm, I will rtfm first ;) |
# |
May 26th 2016, 14:09 |
bravo-kernel |
but that seemed to be a bit of a pain because the email-addresses etc. could not be guaranteed |
# |
May 26th 2016, 14:09 |
bravo-kernel |
the reason I am asking because I heard of user creation using third parties as well |
# |
May 26th 2016, 14:09 |
alanderouen_ |
Hi all |
# |
May 26th 2016, 14:08 |
bravo-kernel |
probably read it too fast |
# |
May 26th 2016, 14:08 |
admad |
that will answer your question |
# |
May 26th 2016, 14:08 |
bravo-kernel |
sorry |
# |
May 26th 2016, 14:08 |
bravo-kernel |
I will |
# |
May 26th 2016, 14:08 |
admad |
read the readme of my plugin :slightly_smiling_face: |
# |
May 26th 2016, 14:08 |
bravo-kernel |
@admad: created first I assume? |
# |
May 26th 2016, 14:08 |
admad |
@bravo-kernel: A "normal" user record is always created. The associated social profile is only used for authentication |
# |
May 26th 2016, 14:05 |
Eax |
bravo-kernel: RIght :) Wilco |
# |
May 26th 2016, 14:05 |
bravo-kernel |
feel free to PR ;) |
# |
May 26th 2016, 14:05 |
bravo-kernel |
EAX the readme only surely |
# |
May 26th 2016, 14:04 |
bravo-kernel |
maybe rephrased: is it used only for auth and not user registration? |
# |
May 26th 2016, 14:03 |
bravo-kernel |
e.g. for when Facebook account gets deleted |
# |
May 26th 2016, 14:03 |
bravo-kernel |
do you guys create separate user records or not |
# |
May 26th 2016, 14:02 |
bravo-kernel |
What logic is behind hybrid as far as user ids go? |
# |
May 26th 2016, 14:02 |
Eax |
admad : There's an error in the config of your hybridauth :) You switched facebook-application-id and google-client-id |
# |
May 26th 2016, 14:02 |
hmic |
Eax, have you checked your cookie config? |
# |
May 26th 2016, 13:59 |
Eax |
And even more interesting: https://gist.github.com/eaxexe/2229467d771aa046ab553775643de9b7 - Going between setCookie and readCookie (from set to read), no cookie :S |
# |
May 26th 2016, 13:57 |
nemmons |
:-) |
# |
May 26th 2016, 13:57 |
admad |
@nemmons: That's the intention |
# |
May 26th 2016, 13:57 |
Eax |
(So they don't have to click "login" time and fucking again) |
# |
May 26th 2016, 13:57 |
Eax |
Does it handle fucking cookies? |
# |
May 26th 2016, 13:57 |
Eax |
BUT! |
# |
May 26th 2016, 13:56 |
nemmons |
your avatar makes me nervous sometimes haha |
# |
May 26th 2016, 13:56 |
Eax |
Uuhu! That seems interesting thanks :) |
# |
May 26th 2016, 13:56 |
admad |
:P |
# |
May 26th 2016, 13:56 |
nemmons |
rats. too slow. |
# |
May 26th 2016, 13:56 |
nemmons |
ah, i see Eax. Have you looked at https://github.com/ADmad/CakePHP-HybridAuth? |
# |
May 26th 2016, 13:56 |
slackebot |
~tell eax about hybridauth |
# |
May 26th 2016, 13:56 |
slackebot |
Command sent from Slack by admad: |
# |
May 26th 2016, 13:55 |
saliak |
Iâ??m getting the error â??Call to undefined function App\Test\TestCase\Shell\assertTextContains()â? in a test case in a Shell. im using the Cake\TestSuite\TestCase namespace in my test. any ideas what could be going on? |