#FAQ
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
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
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.
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';
- In the terminal run
a2enmod rewrite
- Restart apache2 with
/etc/init.d/apache2 restart
orservice apache2 restart
wamp tray icon > apache > apache module > rewrite_module
- Click on
modules
tab. - Look for and check
rewrite_module
.
-
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.
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
.
This section of the Docs explains how to update a password with a SQL command.