hi there,

works fine! thx a lot!

i was to fast this time i installed a new instance on a new domainname. i forgot to change the database-name, so it's test_ / same as on another domain. i wished another prefix, but it doesnt work on the domainname-folder again...

i killed the folder, i switched the module on an off an on again, i even centred myself while performing, cleansed my energy field an slept restfully... no chance... :(

any hints? thx!!!

the down the ward the spiral

Comments

schuyler1d’s picture

I think you'll have to slow down :-)

There are some things which aren't clear to me. Was it ever working on your system? That is, were you ever able to create a sub-site, and open it?

It sounds like it's not working now, but it's not clear what. You created a new site? If so was there an error (please report it)? Is it when you visit the new site, that you can't see it? If so, what error do you get? Is it a drupal page or an apache error?

Downward Spiral’s picture

yap, kinda coding-overdose excuse me ;)

1. multisite created site abcdefg.com with database prefix "test_"
2. i copied the folder and renamed it to hijklmn.com
3. i started update.php (the big mistake, because i forgot to rename "test_" in the copy to somewhat like "test2_")
4. i got the hijklmn.com site pointing to database "test_" (no i dont want that - should be "test2_")
5. i dont find any way to get it functional... to create the multisite with the right "test2_" prefix... it doesnt do anything, even after i changed to settings.php on hijklmn.com, or even erased the hole hijklmn.com folder and making a new copy with the right "test2_" settings...

no way... :(

schuyler1d’s picture

So for my own issue. Is this something that's a possible bug in the system (from running update?), or are you trying to recover from your mistake of bringing up a system for test_ instead of test2_?

If the latter, then one possibility is that multisite_manager won't try to create a database if a record already exists in the main site. probably the best thing to do is fix this in the database level. rename all your tables manually or remove the record without the database from the main site.

I'm still confused exactly how you're setup and what the issue is. is abcdefg.com the main site, or another subsite? Can you be more precise about what "it doesn't do anything" means?

Downward Spiral’s picture

So for my own issue. Is this something that's a possible bug in the system (from running update?), or are you trying to recover from your mistake of bringing up a system for test_ instead of test2_?

--> trying to recover my mistake ;) (therefor i chose support request) ;)

If the latter, then one possibility is that multisite_manager won't try to create a database if a record already exists in the main site. probably the best thing to do is fix this in the database level. rename all your tables manually or remove the record without the database from the main site.

--> where's that record? could i simply kill it an try again?

I'm still confused exactly how you're setup and what the issue is. is abcdefg.com the main site, or another subsite? Can you be more precise about what "it doesn't do anything" means?

--> im confused too ;) but you are totally on track, abcdefg.com and hijklmn.com are both subsites ;) but in the second run i forgot to rename the database prefix. so now, it does nothing anymore. but maybe killing the record may help, i hope.. where is it? :)

thx a lot for your very fast helping response!

schuyler1d’s picture

--> trying to recover my mistake ;) (therefor i chose support request) ;)
Ah, I knew those categories were for something ;)

--> where's that record? could i simply kill it an try again?
if killing it is an option, then yes, just kill it and try again. The danger is that it could (probably will!) delete your 'good' test_ site. if you can build both, then go ahead. The other way would be to edit the record for hijklmn.com, to set the prefix as test2_ (even though it wasn't when created). After you do that, and then save, then you MIGHT (no guarantees) not delete your other test_ site.

The record exists in the table {drupal_site} (with whatever prefix is in the main site).

Downward Spiral’s picture

thx ;)

oh, i see, there r not much entries in that table, .oO...

only one standard entry. with {} values and the prepopulated field samples.

perhaps i should go to admin -> multisite and change them?

but why the hell 2 sites (main and sub) are doing fine by now?

i thought it would be enough to change the settings.php-files for each setup. seems to be an error. i will try again an change the admin-values in the main-install an then see, what happens.

is there any possibility to make a real installation-doc? or guide? or st to read an understand? :) woud be a great help. in the readme theres not much info on what to do to make it work...

thx again, i will try and post the results ;)

Downward Spiral’s picture

perhaps i will give up..

i dont understand the whole workaround. which values have to be filled, changed, which file, which mask, which job to start, and so on... very frustrating...

its a real good module, and it worked one time (1 month ago), i cant get it work again and dont know why..

i need a manual...

bam - head on desk... :(

schuyler1d’s picture

well, it's difficult to document something well, when you don't know what kinds of issues people have. I will own up to the state of currently poor documentation, though.

your suggestion about doing something in settings.php is more than possible as well. In that case, make an exception for the db_prefix when the $my_site_base is 'test2'.

In general, you shouldn't be changing the prefix, etc for each site. This is how you may have gotten in this mess. Instead it should be standardized, and the account you create a sub-site should not have advanced access to sub-site creation.

schuyler1d’s picture

maybe you could email me your settings.php file and the dump of the {drupal_site} table, if you want more help?

sukioki’s picture

i tried to follow the install instruction steps:
0. i went and uploaded & unzipped into modules
1. i was unable to find any apache config file on my web hosting so that's up in the air - maybe you're just used to calling some file an apache config, but i need the exact literal name and it's possible location.
2. copied code and added to the bottom of ./sites/default/settings.php
3. I don't know what a symlink is

maybe you can help?
thanks!

sukioki’s picture

update -

i chose the alternate for .htaccess option since i don't know if and can't find the apache config
looked up what a symlink is, downloaded a program to give me a ssh connection,
found the terminal on my computer, successfully connected to my website, but NOW what?

i type your symcode in my terminal and it bashes me since it's still my computer and doesn't know why i'm giving it strange directories

finally figured out how to make my terminal ssh to the website's terminal, but when i type in the commands and directories i get the same bashing.
what do i do now? haven't done any unix for twelve years, and it was frightening back then...

hope the next release of the multisite manager can make this process less painful!

thank you in advance for help with any of this backend programming hand holding. seriously.

schuyler1d’s picture

please don't hijack other people's Issues. your issue is independent and should be a different Issue.

Basic information about unix commands, apache file locations, and directory management is way beyond the scope of multisite manager's documentation. These questions should be directed to your host provider and/or your apache/linux distribution documentation/communities and/or google.

From what it sounds like, the .htaccess option is probably best for you. Ask your host provider whether you have shell access, and how to connect to your host (and CD to the drupal directory). Alternatively, they should be able to explain to you how to create a symlink through any web admin interface if they do not provide shell access.

Most of your questions are impossible to answer outside of knowing which linux distribution you have and how your host provider has setup apache, so if I sound dismissive please realize it's because I cannot answer your questions, not because I don't want to.

sukioki’s picture

i thought this was the forum - i didn't realize i was "hijacking" someone else's issues.