# |
Feb 6th 2018, 09:26 |
neon1024 |
I thought it might be |
# |
Feb 6th 2018, 09:26 |
hmic |
shell is different than app |
# |
Feb 6th 2018, 09:26 |
neon1024 |
Argh |
# |
Feb 6th 2018, 09:26 |
hmic |
neon1024: the events are only available in the same php instance |
# |
Feb 6th 2018, 09:25 |
neon1024 |
Can I dispatch events from a shell and listen to them in my application? Or is the bootstrapping process for Shells different? |
# |
Feb 6th 2018, 09:23 |
h.mavisakalian |
ok, thanks to all. |
# |
Feb 6th 2018, 09:22 |
neon1024 |
I’d also echo what hmic said about trying out some virtualised environments |
# |
Feb 6th 2018, 09:22 |
h.mavisakalian |
:+1: @neon1024, thanks a lot. |
# |
Feb 6th 2018, 09:17 |
neon1024 |
To match what’s in the book |
# |
Feb 6th 2018, 09:17 |
neon1024 |
https://book.cakephp.org/3.0/en/controllers/components/authentication.html#configuring-authentication-handlers |
# |
Feb 6th 2018, 09:16 |
neon1024 |
That would mean changing “form” to “Form” |
# |
Feb 6th 2018, 09:16 |
neon1024 |
If it’s case sensitivity, and you previously said “Authentication adapter “form” was not found.” |
# |
Feb 6th 2018, 09:15 |
hmic |
and start using a virtual machine for your local development to not run into issues like that again |
# |
Feb 6th 2018, 09:14 |
hmic |
check the case |
# |
Feb 6th 2018, 09:14 |
h.mavisakalian |
Ok, let me check |
# |
Feb 6th 2018, 09:14 |
h.mavisakalian |
I am not asking you too |
# |
Feb 6th 2018, 09:14 |
neon1024 |
I can help, but I can’t do you work for you |
# |
Feb 6th 2018, 09:14 |
neon1024 |
I think you can work that out for yourself |
# |
Feb 6th 2018, 09:14 |
h.mavisakalian |
and where ? |
# |
Feb 6th 2018, 09:14 |
h.mavisakalian |
So what should I change ? |
# |
Feb 6th 2018, 09:13 |
neon1024 |
Right, well there you are |
# |
Feb 6th 2018, 09:13 |
neon1024 |
Bearing in mind that both Windows and Mac OS are not case sensitive |
# |
Feb 6th 2018, 09:13 |
h.mavisakalian |
mac on local |
# |
Feb 6th 2018, 09:13 |
h.mavisakalian |
Ubuntu 16.04 on live |
# |
Feb 6th 2018, 09:13 |
neon1024 |
Well what operating system are you running locally, and which on the live? |
# |
Feb 6th 2018, 09:13 |
h.mavisakalian |
but it works fine on the local machine. |
# |
Feb 6th 2018, 09:12 |
h.mavisakalian |
In that case it shouldn’t have worked on the localhost, right ? |
# |
Feb 6th 2018, 09:10 |
neon1024 |
I would guess that it’s a case sensitivity issue, in that Form != form |
# |
Feb 6th 2018, 09:09 |
h.mavisakalian |
it works on the local. |
# |
Feb 6th 2018, 09:09 |
h.mavisakalian |
Can anyone tell me what can cause this error? Authentication adapter “form” was not found. |
# |
Feb 6th 2018, 09:02 |
neon1024 |
Time for a coffee hmic! ;) |
# |
Feb 6th 2018, 09:02 |
hmic |
neon1024: feel free to explain, i'm to lazy finally. i said that like 10000 times now |
# |
Feb 6th 2018, 09:02 |
neon1024 |
So probably `class_exists(MandrillEmail\Network\Email::class)` |
# |
Feb 6th 2018, 09:02 |
itamer |
@henrik.michaelsen I could see that neon wasn't using IRC and thought it might be useful |
# |
Feb 6th 2018, 09:02 |
itamer |
@hmic |
# |
Feb 6th 2018, 09:01 |
neon1024 |
Aww c’mon hmic |
# |
Feb 6th 2018, 09:01 |
hmic |
fail! |
# |
Feb 6th 2018, 09:01 |
itamer |
File uploaded https://cakesf.slack.com/files/U1VDQ4D44/F93QMLHA4/image.png / https://slack-files.com/T053DPNCM-F93QMLHA4-71937e15f0 |
# |
Feb 6th 2018, 09:01 |
itamer |
@neon1024 namespace MandrillEmail\Network\Email; |
# |
Feb 6th 2018, 09:00 |
itamer |
@neon1024 aaah, ok |
# |
Feb 6th 2018, 09:00 |
hmic |
itamer: you did not set a namespace for that class you want to check for! |