# |
May 26th 2016, 14:39 |
dereuromark |
@admad: Would be worth noting the migration issues with mysql, and that one would better copy and paste the file then to app namespace |
# |
May 26th 2016, 14:37 |
alanderouen_ |
oops.. Sorry <nemmons> :) |
# |
May 26th 2016, 14:36 |
nemmons |
I'm sorry, i had never looked at testing in 2.x. I didn't realize they just exposed a test.php page. I agree with you that what you're trying to do should work, assuming you followed all the other steps here |
# |
May 26th 2016, 14:36 |
nemmons |
fyi my username is nemmons. Slackebot is a bot that passes messages between the IRC channel you're in and the Slack channel i'm in |
# |
May 26th 2016, 14:34 |
alanderouen_ |
slackebot: obviously, i'm doint something wrong. Yet i confirm i'm doing what's recommended in the book : http://book.cakephp.org/2.0/en/development/testing.html#checking-the-test-setup |
# |
May 26th 2016, 14:30 |
bravo-kernel |
:thumbsup: |
# |
May 26th 2016, 14:29 |
admad |
doc updates are always welcome |
# |
May 26th 2016, 14:29 |
admad |
surely not |
# |
May 26th 2016, 14:27 |
bravo-kernel |
Would you mind a small addition to the readme clarifying that ? |
# |
May 26th 2016, 14:26 |
admad |
@bravo-kernel: that's even better :slightly_smiling_face: |
# |
May 26th 2016, 14:25 |
alanderouen_ |
slackebot: arg... I guess i misunderstood the documnetation. |
# |
May 26th 2016, 14:24 |
VzlaCaker |
Hello. I am trying to disable or turn off a specific div tag, inside a form element. In the past I use 'div' = > false, but it doesnt work for cakephp 3.x.x. I only want to disable it for one input element. |
# |
May 26th 2016, 14:21 |
nemmons |
@Tarun hi |
# |
May 26th 2016, 14:20 |
nemmons |
alanderouen_ it's not that the routes are 'wrong', it's that cakephp is not really supposed to do what you want it to do. so if you want to do that, there's probably a way to make it happen by setting some routes |
# |
May 26th 2016, 14:20 |
Tarun |
Hi |
# |
May 26th 2016, 14:19 |
alanderouen_ |
slackebot: could it be something wrong about routes ? |
# |
May 26th 2016, 14:19 |
bravo-kernel |
@admad skipped directly to reading the source, makes a lot of sense now. Thanks! |
# |
May 26th 2016, 14:18 |
alanderouen_ |
slackebot: yet, you are right, it's showing the application layout, and i guess it should'nt |
# |
May 26th 2016, 14:17 |
alanderouen_ |
slackebot: that would make sense, but i'm connecting throught http://localhost/my_app_name/test.php |
# |
May 26th 2016, 14:15 |
nemmons |
cake isn't designed to serve static php files like that so i think you'll have to set up a special routing rule for it or something like that |
# |
May 26th 2016, 14:15 |
nemmons |
based on whatever routing config you have setup |
# |
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 ;) |