Some of you might have seen this error message while trying to upgrade Mautic in your system:
"[Symfony\Component\Debug\Exception\ClassNotFoundException]
Attempted to load class "ZipArchive" from the global namespace.
Did you forget a "use" statement?" while upgrading Mautic version.
To upgrade Mautic to the latest Mautic 4.0.0 version, We will need to first update the present Mautic version 3.3.3 to Mautic 3.3.4 version, which is the stable version before the Mautic 4.0.0 version. It is always recommended to upgrade the Mautic version through the command line. Let us see the commands to upgrade the Mautic version.
From the document root of mautic, we will need to run the below command to check whether any version upgrade is pending.
The crontab requires php-cli or php-cgi installed. You will also need SSH access to your server in order to set it up. Let’s create a new crontab with the below commands.
vi /etc/cron.d/matomo-archive
and then add the lines:
Wget is a command-line utility that helps download files from the web. It’s a non-interactive program that works in the background. We can use the wget commands as part of the cronjobs as well to do routine tasks.
For example, if we want to download a sample.php file from a website ‘mywebsite.com”, we could use the command below to download the file
The MySQL 1030 error occurs due to the local disk space issue. The error typically occurs when the server MySQL runs from, utilises the total disk space and tries to execute any of the below mentioned tasks.
Sender Policy Framework (SPF) hardens DNS servers. It restricts who can send emails on behalf of your domain or the IP addresses of the servers from which the emails can originate. SPF can prevent domain spoofing. It enables your mail server to determine when a message came from the domain that it uses.
The DomainKeys Identified Mail (DKIM) ensures that the contents of your emails remain trusted and are not compromised.
We have come across security issues where the 'install.php' or 'update.php' files present in the Drupal website are accessible even after setting up the website. We will need to make sure that access to these files is restricted.