WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • General Help & Support »
  • Installation - Database Name - ([a-z0-9_-])
  • Print
Pages: [1]   Go Down

Author Topic: Installation - Database Name - ([a-z0-9_-])  (Read 7132 times)

Offline M.Boxma

  • Posts: 45
Installation - Database Name - ([a-z0-9_-])
« 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?
Logged

Offline hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1888
    • EFG MG
Re: Installation - Database Name - ([a-z0-9_-])
« Reply #1 on: December 01, 2020, 10:30:59 AM »
Development is looking for a solution.
Logged
LG Harald

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

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

Offline dbs

  • Betatester
  • **
  • Posts: 8918
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Installation - Database Name - ([a-z0-9_-])
« Reply #2 on: December 01, 2020, 11:46:12 AM »
Hello, we will fix this. But for the moment you can try this.
In installer/save.php line 280,

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

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: Installation - Database Name - ([a-z0-9_-])
« Reply #3 on: December 01, 2020, 04:36:33 PM »
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


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

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • General Help & Support »
  • Installation - Database Name - ([a-z0-9_-])
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2