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.

changing from domain to sub-domain

Hello,

I want to work on client sites on different subdomains so that they can check in on progress. However, I initially installed Drupal on the domain, loadedbarrels.com. Now, I want to move those files to client.loadedbarrels.com. I changed the settings.php file to reflect "client.loadedbarrels.com" and I even deleted the files off of the main domain. Yet still, I get the same content (except the themes) on both sites. What am I doing wrong?

Sincerely,

Sax2groove2

mysql error when upgrading from4.7.10 to 5.5 and use postgres

I am trying to upgrade my site from 4.7.10 to 5.5

My site uses postgres not mysql

I have been following the instructions in the upgrade.txt file but when i come to run upgrade.php i get this error

--------------------------------
PHP MySQL support not enabled

We were unable to use the MySQL database because the MySQL extension for PHP is not installed. Check your PHP.ini to see how you can enable it.

Why are quotation marks & apostrophes now displaying as ’ and “ ??

Quotation marks & apostrophes on my site are suddenly displaying as oddball chars [’ etc]. The raw data is fine but drupal is converting them. Does anyone have any idea why?

[I recently upgraded PHP & MysSQL but can't imagine that's the problem. I'm not using any translation or character processing modules. Very strange..]

How to upgrade remotely - without FTP or shell!

Here's a bootstrap script I ran to get a raw site upgraded all the way from 4.7 to 5.5 - run from a drupal php-node! No FTP, No Shell, no control panel.

There are many many warnings that should be applied to this very dangerous script - I'll leave it up to you. there were two places where I really crossed my fingers and hoped...

It required that the permissions on the server were NOT locked down to read-only (as they really should be) but in this case they were not ... and it just worked.

Here's the process in full - I uncommented and commented the steps as I went. They all need to run one after another.

No way is this good code or good practice, but it's an interesting proof-of-concept.
Just posted FYI. Probably not a good idea to try this at home, but I used it when a client just gave me a site login and I didn't want to wake them up for the FTP password ;-)

<?php
# echo("Running as: ");
# passthru("whoami");
# passthru("ls -la ");
# Check if the top level dir is writable by you. 
# If so, we are OK

# ## Fetch distro ##
# passthru("wget  --output-document=download/drupal-5.5.tar.gz http://ftp.drupal.org/files/projects/drupal-5.5.tar.gz ");

# unpack distro
# passthru(" tar -xzf download/drupal-5.5.tar.gz");
# passthru("ls -la drupal-5.5");

# ## Modify connection string ##

# passthru("cat sites/default/settings.php");

update from 4.6.3 -> 4.7.10, abort while running update #147 in system.module

Can anyone help? I've been trying to update from 4.6.3 => 4.7.10, then eventually to 5.

When I run the update script, I see, "The update process was aborted prematurely while running update #147 in system.module. All other errors have been logged. You may need to check the watchdog database table manually."

When I look in the update script for references to #147, I see:
<...>

 // The following three updates were made on the 4.6 branch
      '2005-04-14' => 128, '2005-05-06' => 128, '2005-05-07' => 128,
      '2005-04-08: first update since Drupal 4.6.0 release' => 129,
      '2005-04-10' => 130, '2005-04-11' => 131, '2005-04-14' => 132,
      '2005-04-24' => 133, '2005-04-30' => 134, '2005-05-06' => 135,
      '2005-05-08' => 136, '2005-05-09' => 137, '2005-05-10' => 138,
      '2005-05-11' => 139, '2005-05-12' => 140, '2005-05-22' => 141,
      '2005-07-29' => 142, '2005-07-30' => 143, '2005-08-08' => 144,
      '2005-08-15' => 145, '2005-08-25' => 146, '2005-09-07' => 147,
      '2005-09-18' => 148, '2005-09-27' => 149, '2005-10-15' => 150,
      '2005-10-23' => 151, '2005-10-28' => 152, '2005-11-03' => 153,
      '2005-11-14' => 154, '2005-11-27' => 155, '2005-12-03' => 156,
    );
<...>

When I click on the "log" link I get a blank screen. Ditto when I click on the main page URL or any URL for the site for that matter.

Upgrading shortcuts 5.3, 5.4, 5.5

The complete, thorough upgrading procedure takes too much time and requires too much fiddling, particularly since a major upgrade to 6.0 is just around the corner, and I wouldn't worry about a few leftover file corpses, etc. I need a shortcut.

I've done the full procedure several times now, from 5.0 step by step to 5.3, but it may not be worth the trouble. My first idea would be to

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal