can not create new database with php 7.3
Issue #376
closed
I can not create a new database because I get following error with PHP 7.3.2:
Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /usr/share/phpliteadmin/phpliteadmin.php on line 726:
line 726: $str = preg_replace('@[^\w-.]@','', $_POST['new_dbname']);
My workaround: line 726: $str = preg_replace('@\W@','', $_POST['new_dbname']);
Comments (4)
-
repo owner -
Account Deleted reporter The development version works well. Thanks
-
Account Deleted reporter - changed status to resolved
-
Account Deleted reporter - changed status to closed
- Log in to comment
I guess this should be fixed in the development version, please try: http://www.phpliteadmin.org/phpliteadmin-dev.zip