Hi,

I installed multisite manager and I have a problem when I create a new site. I just fall on the page "Unable to select database" when I create the site. I checked the settings.php 1000 times. Actually, I even copied the $db_url from higher in the file. It tells me "The MySQL error was: Incorrect database name '/komunide'."

Could it be the "/" in the database name?

Thanks for looking :-)

Comments

schuyler1d’s picture

If you managed to put a '/' in the database name, that's almost certainly it. The best thing to do is rename the database. If you were able to add a 'short name' with a '/' in it, that's a bug for me.

If, on the otherhand, your intuition is correct, that something is wrong in the settings.php code, this is the important line that would get the '/' out of a site name:
$requri = explode('/', request_uri());

For further debugging, please provide what you do have in settings.php (replacing any passwords, of course). It will help me debug, and possibly help others once the bug is found.

schuyler1d’s picture

Status: Active » Postponed (maintainer needs more info)

...

schuyler1d’s picture

I didn't notice the bug that may have caused this, until now. If you download 0.9-2 release, it should work.

schuyler1d’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

this was fixed.