Mautic Community Forums

cron error

Hi,



I just looked at your path. getastra.com/go/app/bundles/CoreBundle/Templating/Helper/ThemeHelper.php



nothing shows up when something should at least i should have a 404 or 500 error pop up for the web address and nothing. Then i back tracked on your path to primary domain of getastra.com you have a website already on the domain. using mautic you don’t want to have it in a sub folder section of a website that is already setup. Mautic either is on a dedicated domain all by itself and or subdomain to your domain. for example: management.getastra.com and you install mautic directly to that path. I would if you are new to this and don’t have a lot inside of mautic to create a sub domain and install it from their. create a new database first and so when you do an install you pick that database that is new and install it.

Hi,

I just looked at your path. getastra.com/go/app/bundles/CoreBundle/Templating/Helper/ThemeHelper.php

nothing shows up when something should at least i should have a 404 or 500 error pop up for the web address and nothing. Then i back tracked on your path to primary domain of getastra.com you have a website already on the domain. using mautic you don’t want to have it in a sub folder section of a website that is already setup. Mautic either is on a dedicated domain all by itself and or subdomain to your domain. for example: management.getastra.com and you install mautic directly to that path. I would if you are new to this and don’t have a lot inside of mautic to create a sub domain and install it from their. create a new database first and so when you do an install you pick that database that is new and install it.

Thanks for your message. I have Mautic installed at http://Go.getastra.com.

Could you please check this URL?

this link shows up fine it gives the login to mautic. http://go.getastra.com/s/login

this link you have listed on your cron job isn’t attached to that location.

crons should be using this part.

/usr/local/cpanel/3rdparty/bin/php /home/go.getastra.com/app/console mautic:segments:update
/usr/local/cpanel/3rdparty/bin/php /home/go.getastra.com/app/console mautic:campaigns:rebuild
/usr/local/cpanel/3rdparty/bin/php /home/go.getastra.com/app/console mautic:campaigns:trigger

The server paths are a little different in my configuration. I have double checked that all crons are running fine. Meanwhile I have been able to resolve the issue. The necessary PHP extensions weren’t being loaded from the custom php.ini file.
Due to the server configuration I was earlier unable to pass the command line parameters to the script. Mautic forum suggested that I pass the ‘php -n’ flag so that the default php.ini is ignored and the command line parameters are passed to the script.

Turns out that critical extensions like dom, libxml, json weren’t being loaded by php by default. So when I added these to the custom php.ini file, it started working seamlessly!

Thanks a lot for your help!