This forum is for questions about upgrading an existing Drupal site. Don't forget to read the UPGRADE.txt file that comes with every Drupal download.

Instaling a second site

I am in the process of upgrading from D5 to D6, but for various resons i have to split the site and upgrade only part of it.

i set up a new virgin database for the d6 section, and uploaded D6 and tha avaliable D6 modules but on trying to open the D6 part of the site i get a screen

Drupal already installed
To start over, you must empty your existing database.
To install to a different database, edit the appropriate settings.php file in the sites folder.
To upgrade an existing installation, proceed to the update script.
View your existing site.

Blank screen, Call to undefined function user_access()

During a reckless attempted upgrade from Drupal 5.1 to 6.2 I lost the original install and have been trying in vain to get the a reinstalled 5.1 distro to use the original database again: all I get is a blank screen, however.

Image upload fails -- Drupal trying to use MS Windows temp directory in Linux

The process for saving an Image node, which worked on my local computer (Windows) does not work my client's host (Linux).

I get the following messages when I try to save a node:

* warning: move_uploaded_file(C:\DOCUME~1\JONATH~1\LOCALS~1\Temp\php\upload/06-04-01 Swedish ivy.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /export/home/webs/babylove/drupal/includes/file.inc on line 572.
* warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/tmp/phpEwbO4P' to 'C:\DOCUME~1\JONATH~1\LOCALS~1\Temp\php\upload/06-04-01 Swedish ivy.jpg' in /export/home/webs/babylove/drupal/includes/file.inc on line 572.
* File upload error. Could not move uploaded file.
* The selected file could not be uploaded, because the destination images/ is not properly configured.

After this started happening, I discovered that the "temp file directory" setting in on the Files page was set to the Windows temporary directory. I did not know it was there because I never had to visit it before; the installer must have set it automatically for my original (Windows) installation, and the setting got uploaded to the host along with the rest of the project.

When I changed this setting, though, Image went right on trying to use the non-existent Windows temp directory.

SQL Error Msg

Hi Guys,

I am new to Drupal but loving it all the same. I am an experienced database programmer with some php knoledge

I was getting to grips with it and had just loaded the imagefield module etc to enalbe user to upload images to thier node and have now got this error msg when I list the recent additions.

Combining Drupal 5 and 6

I upgraded from Drupal 5 to 6, but there seems to be to many modules missing.

Is it possible to somehow combine two installations?
Perhaps pulling stuff from a Drupal 5.7 installation into Drupal 6.2?

Thanks

simpler upgrading here

A while ago I got fed up with the difficulty in upgrading drupal, so I created a new method of doing it.

The intention was to have one drupal codebase for multiple sites of different users so that the ISP could upgrade drupal.

I didn't have time to finish it, but it still makes upgrades very simple.

Within my public_html I un-tar drupal, so I have a folder called drupal-6.2 WITHIN my public_html.
My index.php file looks like this:

// $Id: index.php,v 1.94 2007/12/26 08:46:48 dries Exp $

# first include site config, then chain the real index.php
define(DRUPAL_DIR,'drupal');
#set_include_path(get_include_path() . PATH_SEPARATOR . DRUPAL_DIR);


$drupal_pages=array_flip(array('/update.php','/index.php'));
if (array_key_exists($drupal_pages[$_SERVER["REDIRECT_URL"]],$drupal_pages))
  include(DRUPAL_DIR.$_SERVER["REDIRECT_URL"]);
else
  include(DRUPAL_DIR.'/index.php');

and my public_html has these symlinks:

includes -> drupal/includes
misc -> drupal/misc
modules -> drupal/modules
profiles -> drupal/profiles
scripts -> drupal/scripts
sites -> drupal/sites
themes -> drupal/themes

and finally this symlink which I change on upgrade:
drupal->drupal-6.2

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal