# |
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! |
# |
Feb 6th 2018, 08:59 |
itamer |
@neon1024 there are variables added in app.php |
# |
Feb 6th 2018, 08:58 |
itamer |
@neon1024 well at least I got new errors. There's no bootstrap file so the plugin load fell over |
# |
Feb 6th 2018, 08:57 |
hmic |
btw. whats the namespace of the alss you want to debug there? :P |
# |
Feb 6th 2018, 08:57 |
neon1024 |
Or make the user add config to their `app.php` |
# |
Feb 6th 2018, 08:57 |
neon1024 |
As if I was making a plugin for Mandril I’d initialize transport classes in the bootstrap |
# |
Feb 6th 2018, 08:56 |
neon1024 |
Perhaps the plugins need a bootstrap? `Plugin::load('MandrilEmail', ['bootstrap' => true]);` |
# |
Feb 6th 2018, 08:56 |
itamer |
so the plugin load is failing |
# |
Feb 6th 2018, 08:56 |
itamer |
and it's debugging: false |
# |
Feb 6th 2018, 08:55 |
itamer |
So, in bootstrap I've got this Plugin::load('MandrillEmail'); debug(class_exists('MandrillTransport')); |
# |
Feb 6th 2018, 08:52 |
h.mavisakalian |
Ok, fixed it. It was a virtual host config issue. I had to allow override the webroot directory. @akutaktau Thanks for the help. |
# |
Feb 6th 2018, 08:42 |
h.mavisakalian |
<IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^$ webroot/ [L] RewriteRule (.*) webroot/$1 [L] </IfModule> |
# |
Feb 6th 2018, 08:42 |
h.mavisakalian |
This is what I have in the root directory htaccess file |
# |
Feb 6th 2018, 08:42 |
h.mavisakalian |
but all the settings are correct |
# |
Feb 6th 2018, 08:42 |
h.mavisakalian |
It seems like the htaccess doesn’t set the webroot directory as root. |
# |
Feb 6th 2018, 08:41 |
h.mavisakalian |
still the files won’t load. |
# |
Feb 6th 2018, 08:41 |
h.mavisakalian |
on the server |