# |
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 |
# |
Feb 6th 2018, 08:40 |
h.mavisakalian |
I checked and the mod_rewrite is enabled too |
# |
Feb 6th 2018, 08:40 |
h.mavisakalian |
I checked everything is ok |
# |
Feb 6th 2018, 08:40 |
megan |
Morning everyone :slightly_smiling_face: |
# |
Feb 6th 2018, 08:39 |
akutaktau |
sometimes it is missing when you uploaded it |
# |
Feb 6th 2018, 08:39 |
neon1024 |
Morning all |
# |
Feb 6th 2018, 08:38 |
akutaktau |
check your htaccess |
# |
Feb 6th 2018, 08:36 |
h.mavisakalian |
Or could it be an htaccess issue |
# |
Feb 6th 2018, 08:35 |
h.mavisakalian |
Can you also tell me how to set the baseurl? the images and css are not read… it seems a directory problem.. |
# |
Feb 6th 2018, 08:34 |
h.mavisakalian |
@akutaktau Thanks. |
# |
Feb 6th 2018, 08:28 |
akutaktau |
chown to www-data or apache |
# |
Feb 6th 2018, 08:28 |
itamer |
Hi, I'm trying to set up Mandrill as my email transport. Have the MandrillTransport.php in plugins, bootstrap has: Plugin::load('MandrillEmail'); The controller has use MandrillEmail\Network\Email\MandrillTransport; use Cake\Mailer\Email; but getting this error: Class 'MandrillEmail\Network\Email\MandrillTransport' not found What am I missing? |
# |
Feb 6th 2018, 08:28 |
learningcake |
heello Guys. I don't know why my application is giving me error 500. My application is in a folder->subfolder (public_html/cake/app) and I point my document_root to webroot that is inside the app folder. Do you know why I am having such error? but if I move the application to public_html/cake it works. Kindly note that I am using a subdomain. |
# |
Feb 6th 2018, 08:25 |
h.mavisakalian |
As I specified all the permissions are set to 755, what else should I do ? |
# |
Feb 6th 2018, 08:22 |
birdy247 |
@h.mavisakalian prety self explanitory. permissions error |
# |
Feb 6th 2018, 08:21 |
birdy247 |
morning |