You are not logged in.
I have just posted this also on the wiki (https://wiki.archlinux.org/index.php/Talk:Drupal), not sure if that was a good idea but here is my problem:
I wish to install multiple Drupal sites on my server so I start by doing this:
pacman -S drupal
I create a database and "cp -rv /usr/share/webapps/drupal/* /srv/http/mysite"
Everything works at 127.0.0.1/mysite ! Nice. Now comes site number 2.
I create a second database and "cp -rv /usr/share/webapps/drupal/* /srv/http/mysite2"
And this site is my first site but just at the different (127.0.0.1/mysite2) location? I thought I had copied clean files into the directory?
When I download the base packages from the Drupal site, I do go into the installation but it complains: "The directory sites/default/files does not exist."
What am I missing? I feel it has something to do with this directory /var/lib/drupal/sites/default/
Last edited by teekert (2013-04-28 17:30:54)
Offline
Ok, I have solved this issue myself.
I specifically added each site location separately to "basedir" in "/etc/php/php.ini" (So not just /srv/http/ but both /srv/http/mysite and /srv/http/mysite2) and now it works. Before I just had the root of both directories added.
Hopefully someone finds this useful.
Offline
This was not the answer I just found out... I see now that drupal always uses the settings.php from /var/lib/drupal/sites/ instead of making its own. I will try later to put a fresh settings.php in each new Drupal install... I'll post the result
Offline
Why not use Drupal's multisite feature?
http://drupal.org/documentation/install/multi-site
Offline