after migration to a new server I can not create a htacces folder protection, the DIR chooser shows an error message:
Code
- An exception with the following message has been thrown in file
- /var/www/imscp/gui/library/shared-functions.php (Line: 2311):
- =================================================================
- SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'uid'
- cannot be null
- Query was:
- INSERT INTO `ftp_users` ( `userid`, `passwd`, `uid`, `gid`, `shell`,
- `homedir` ) VALUES ( ?, ?, ?, ?, ?, ? )
- =================================================================
- Debug backtrace:
- ---------------
- File: /var/www/imscp/gui/library/iMSCP/VirtualFileSystem.php (Line:
- 379)
- Function: exec_query()
- File: /var/www/imscp/gui/library/iMSCP/VirtualFileSystem.php (Line:
- 129)
- Method: iMSCP_VirtualFileSystem::_createTmpUser()
- File: /var/www/imscp/gui/library/iMSCP/VirtualFileSystem.php (Line:
- 184)
- Method: iMSCP_VirtualFileSystem::open()
- File: /var/www/imscp/gui/public/client/ftp_choose_dir.php (Line: 111)
- Method: iMSCP_VirtualFileSystem::ls()
- File: /var/www/imscp/gui/public/client/ftp_choose_dir.php (Line: 202)
- Function: client_generateDirectoriesList()