FAQ
Bug Reporting and Feature Requests
Report bugs directly on GitHub Issues – request and vote for new features on FeatHub. For all security related issues, please chat with us directly through getdirectus.com
Server Error: Automatically populating $http_raw_post_data is deprecated
Within PHP 5.6.x $HTTP_RAW_POST_DATA
is deprecated, but sometimes isn't on individual installs (php bug #66763)
To solve this add/use/update this on your php.ini
always_populate_raw_post_data = -1
Server error occured!
If you get "Server error occured!" the first time you try to login, it likely means that you missconfigured Apache2. Try adding overrideAllow All into your virtualHost.
MySQL Strict Mode
Directus does not fully support Strict Mode due to limitations with the PDO and MySQL Drivers. Please disable MySQL Strict Mode before installation.
You can check to see if your database is in strict mode with the following queries:
SELECT @@GLOBAL.sql_mode;
SELECT @@SESSION.sql_mode;
SHOW VARIABLES LIKE 'sql_mode';
How to Enable mod_rewrite
Unix
- In the terminal run
a2enmod rewrite
- Restart apache2 with
/etc/init.d/apache2 restart
orservice apache2 restart
Windows (WAMP)
wamp tray icon > apache > apache module > rewrite_module
Mac (MAMP PRO)
- Click on
modules
tab. - Look for and check
rewrite_module
.
mod_rewrite
is enabled and still not working
- Go to your apache configuration (httpd.conf or apache.conf)
Look for the
<Directory>
directive that matches the Directus path.Ex:
<Directory "/var/www/html"> AllowOverride All Order allow,deny Allow from all </Directory>
- Add
OverrideAllow All
, IfOverrideAllow None
exists changeNone
toAll
to allow.htaccess
files.
mod_rewrite
is enabled and still getting 404 error.
If you are using VirtualDocumentRoot RewriteBase
needs to be set.
- Go to
/directus/path/.htaccess
and addRewriteBase /
just belowRewriteEngine On
. - Go to
/directus/path/api/.htaccess
and addRewriteBase /api
just belowRewriteEngine On
.
How do I reset a password manually?
This section of the Docs explains how to update a password with a SQL command.