Cannot create user after setup

Hello,

I successfully install invoiceplane, but directly after the database setup there no form for create the admin user. I directly redirect me to the login page ??!!!
I use nginx and PHP7 and invoiceplane is in a subdirectory ([root]/invoice), there is the .htaccess of /invoice :

<IfModule mod_rewrite.c>

RewriteEngine on
RewriteBase /invoice
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]
  
  ## Remove the hash in front of the following two lines if you want to force HTTPS
  #RewriteCond %{HTTPS} off
  #RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
  
</IfModule>

The database is not empty, I tried to add manually a user in ip_users but no success !
I don’t know what’s happened. Thanks for your help !

EDIT :

I’ve found error in the nginx logs.
Look :
2016/08/18 04:15:07 [error] 18767#18767: *2 open() "/var/www/XXXXX.fr/assets/default/img/logo_200x100.png" failed (2: No such file or directory), client: 88.219.184.23, server: XXXX.fr, request: "GET /assets/default/img/logo_200x100.png HTTP/2.0", host: "XXXX.fr", referrer: "https://XXXXX.fr/invoice/assets/default/css/welcome.css"

You see, /var/www/XXXX.fr/assets but it’s wrong, it need to be /var/www/XXXX.fr/invoice/assets…
How to correct that ?
In application/logs ->
ERROR - 2016-08-18 08:29:58 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /var/www/XXXX.fr/invoice/system/database/drivers/mysqli/mysqli_result.php 38

I can’t even create a user. :confused:

You don't have permission to access accounts/index.php/setup/create_user on this server.

-update-
Turned mod_security off and it worked.

When I try index.php/setup/create_user it directly redirect me to /setup whit the language selection !!??
Where is mod_security ?

It’s a setting on your hosting panel.
Mine was under the “Security” settings of my cPanel.

I’ve found error in the nginx logs.
Look :
2016/08/18 04:15:07 [error] 18767#18767: *2 open() "/var/www/XXXXX.fr/assets/default/img/logo_200x100.png" failed (2: No such file or directory), client: 88.219.184.23, server: XXXX.fr, request: "GET /assets/default/img/logo_200x100.png HTTP/2.0", host: "XXXX.fr", referrer: "https://XXXXX.fr/invoice/assets/default/css/welcome.css"

You see, /var/www/XXXX.fr/assets but it’s wrong, it need to be /var/www/XXXX.fr/invoice/assets…
How to correct that ?
In application/logs ->
ERROR - 2016-08-18 08:29:58 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given /var/www/XXXX.fr/invoice/system/database/drivers/mysqli/mysqli_result.php 38