Installation - Database Name - ([a-z0-9_-])

Luisehahne

Quote from: M.Boxma on November 30, 2020, 11:16:27 PM
Hi,

I'm trying to install a new WebsiteBaker on my website, but the host providers a database name with capital letters and i can't get it changed.

Is there a workaround so i can use capital letters in the database name field?

Please test the new package  WebsiteBaker 2.13.0 RC1 r7

Dietmar


Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

dbs

Hello, we will fix this. But for the moment you can try this.
In installer/save.php line 280,

replace this
if (\preg_match('/[^a-z0-9_-]+/', $aInputs['database_name'])) {

with this (a additional i)
if (\preg_match('/[^a-z0-9_-]+/i', $aInputs['database_name'])) {
[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

hgs

LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

M.Boxma

Hi,

I'm trying to install a new WebsiteBaker on my website, but the host providers a database name with capital letters and i can't get it changed.

Is there a workaround so i can use capital letters in the database name field?