Closed Dzanar closed 2 years ago
`Whoops something went wrong... SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'ip' at row 1
Backtrace:
Thanks for reporting this.
The solution is to resize the ip field in visitors table.
The query:
ALTER TABLE `myaac_visitors` MODIFY `ip` VARCHAR(45) NOT NULL;
Server configuration
Client configuration (Your Computer)
Description: When the "$config['env'] = 'dev';" in the config.local.php and you have a IPv6 the page not loading.
Steps To Reproduce:
`Whoops something went wrong... SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'ip' at row 1
Backtrace:
0 /home/otsmanager/www/nelena/system/libs/visitors.php(97): PDO->exec()
1 /home/otsmanager/www/nelena/system/libs/visitors.php(40): Visitors->addVisitor()
2 /home/otsmanager/www/nelena/index.php(240): Visitors->__construct()
3 {main}`