Having problems installing Drupal? See the Installation Guide for more information.

Drupal 7 multi-site with subdirectories does not work

Hello,

I'm trying to set up a multi-site installation, where individual sites have URLs like http://host/drupal/site1
So far, I've been unable to create more than 1 site.

The first thing I tried was installing the default site and then creating the other sites.

  • 2 MySQL databases, one for the default site and other for site1
  • Unpacked drupal to /opt/drupal-7.0
  • Edit settings.php for default and site1
  • Added the Directory entry in apache's .conf file. See below.
  • Changed rights for both sites
    • sudo chmod a+w sites/default/settings.php
    • sudo chmod a+w sites/default
  • Restarted Apache2
  • Called the install script http://host/drupal/install.php
  • Created a symlink for site1 (/opt/drupal-7.0/site1 points to /opt/drupal-7.0)
  • Called the install script on site1 http://host/drupal/site1/install.php... Fail, Drupal says it has been already installed. If I try to access http://host/drupal/site1/, I get the default site

Then I tried to call the install script of site1 before the default site, and then I got equivalent results (site1 becomes the only site I can access to).

I've also created a sites.php file when site1 was acting as the default one, but that did not help. Here is the content :

$sites['localhost/drupal/site1'] = 'site1';

How to update a module with new version

I have already installed PathAuto module, now when i go to update reports page it shows me latest release of Pathauto, so can somebody tell me how do i upgrade my previous pathauto module, is that going to impact my existing settings?

same question i have for other modules also, so please let me know the steps to upgrade a module with new version.

Thanks in advance

Regards
Nizam
www.insqlserver.com

Altering the File Path

I have a Drupal site that I need to install locally. Previously it was installed on another server so the file path was different.

I have the homepage displaying with all the images and content locally. However, when I click on a link or try to go to the login page I get a URL error.

Do I have to change the File Path in the database. If so how is this done, what am I looking for?

Thanks

Installation by Ubuntu package?

A few months ago, when the server was first set up, I installed Drupal along with other packages on an Ubuntu system. Now we are going to start using it and building a site. So I came to drupal.org to get up to speed on how to set this up. Even though it was already "installed" I went ahead and read the installation instructions here. It looks like there are some substantial differences between what I get from Ubuntu, and what I would get following only the instructions here. Can someone summarize what the differences are, conceptually?

SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

hiya,

i will install drupal 7 on a web-hoster ...
MySql is V 5.0.90
PHP is 5.2.13

Drupal 6.20 works fine (its not my first installation) but if i will install a complete new setup for drupal 7,
with a new database and after the database setting i got the error (database data are correct !):

SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

drupal 7 installed at least 27 tables and the stopped ... last table: variable

does anybody have a hint or a workaround ?

tyvm !

rgds
heizer75

Fivestar widget is not appearing in panels (APK)

I'm looking for a way to add a fivestar rating widget (clickable) in user/%/profile pages through APK.
The problem is, "rate this node" block provided by fivestar module isn't appearing in the Panel.

Yes, I enabled rating in content-type edit form. But still no-rating at all.

I used fivestar_extra module, but learnt that it's useless when overiding user profiles with a APK node type.

Any help is greatly appreciated

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal