Error resolution
Errors may occur, it is not necessarily from the CMS, but here are the most common mistakes with their solutions!
Common Problems
The home page works, but the other pages produce a 404 error
The url rewriting is not activated, you just have to activate it (see next question).
Apache2 URL rewrite
You need to modify the /etc/apache2/sites-available/000-default.conf
file and add these lines between the <VirtualHost>
tags:
<Directory "/var/www/html">
AllowOverride All
</Directory>
Then restart Apache2 with
service apache2 restart
Error 500 during registration
If the account is created correctly despite the error, this problem can occur if the sending of e-mails is not correctly configured, for this check the configuration of the sending of emails on the admin panel of your site.
When Azuriom is installed locally, updates and themes/plugins are not available
If when you go in the "Updates" tab and do "Check for updates", you get this error:
curl: (60) SSL certificate: unable to get local issuer certificate
, just follow
the following steps:
- Download the latest
cacert.pem
on https://curl.haxx.se/ca/cacert.pem - Add this line in the php.ini (replace
/path/to/cacert.pem
by the location of thecacert.pem
file):curl.cainfo="/path/to/cacert.pem""
- Restart PHP
The file has not been uploaded when uploading an image
This problem occurs when you upload an image with a weight greater than the maximum allowed by PHP (default 2mo).
You can change the maximum size allowed when uploading in the configuration
of PHP (in php.ini
) by changing the following values:
upload_max_filesize = 10M
post_max_size = 10M
Problem with AzLink or payment gateways with Cloudflare
Cloudflare can prevent AzLink or some payment gateways from working correctly.
To fix this issue, you can disable Cloudflare on the API, by going to Page Rules
-> Add a rule, then add /api/*
as the URL and these actions:
- Cache Level: Bypass
- Always Online: OFF
- Security Level: Not "I'm under attack"
- Browser Integrity Check: OFF
More details are available on the Cloudflare website.
Force HTTPS on Apache2
Add these lines juste after RewriteEngine On
in the .htaccess
at the root of your website:
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
Installing another website on Apache2
If you wish to install another site (ex: Pterodactyl panel, etc) on the same web server as the one on which Azuriom is installed, it's recommended to install it on a sub-domain (ex: panel.your-website.com).
In case it's not possible, you can configure Apache to
run them on the same domain, by adding an .htaccess
file to the directory
of the other website (ex: /panel) with the following content :
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^ - [L]
</IfModule>