Dear Drupal users,
Firstly, thank you for the wonderful product and services. [1]
(The following has a possible relation to "Really struggling with updating an old D5 website" of 25 Jan 2012 by Bunzer at http://drupal.org/node/1416552 )
I have reached a total roadblock in my attempts to set up a live-testbed [2] on my own Ubuntu/Xfce desk-top computer.
What I have attempted to do, is:
1. Mysqldump the live web-site [3]; and
2. Try to upgrade the web-site on my desktop PC to a more up-to-date version of Drupal, Drupal6. To simply use the same outdated version of Drupal that the live web-site uses would be too difficult and, I think, of dubious benefit. I am not sure what version the live version is. (It is possibly version 4.* or version 5.*).
I was able to view the mysqldumped web-site with phpmydamin, but I was UNABLE to import it into Drupal6.
Here is the output on my Firefox browser (Konqueror displays the same):
1. http://localhost , http://localhost/index.html :
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
2. http://localhost/drupal6 http://localhost/drupal6/index.php :
Drupal
Site off-line
The site is currently not available due to technical problems. Please try again later. Thank you for your understanding.
If you are the maintainer of this site, please check your database settings in the settings.php file and ensure that your hosting provider's database server is running. For more help, see the handbook, or contact your hosting provider.
3. http://localhost/drupal6/update.php:
(This was re-written by the browser to http://localhost/drupal6/update.php?op=info)
4. http://localhost/drupal6/install.php
(Re-written to: http://localhost/drupal6/install.php?profile=default)
Drupal
(Output in left column omitted.)
Output in right column:
The following error must be resolved before you can continue the installation process:
In your ./sites/default/settings.php file you have configured Drupal to use a server, however your PHP installation currently does not support this database type.
Install Drupal in English
Learn how to install Drupal in other languages
Please check the error messages and try again.
5. Clicking on the link labelled "Install Drupal in English", referred to above in 4, gave me the following:
http://localhost/drupal6/install.php?profile=default&locale=en
Drupal already installed
The following error must be resolved before you can continue the installation process:
In your ./sites/default/settings.php file you have configured Drupal to use a server, however your PHP installation currently does not support this database type.
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.
Please check the error messages and try again.
(end of browser output.)
/usr/share/drupal6/sites/default/settings.php has the following for mysql databasae access:
$db_url = "$mysql://:@localhost/";
Even changing to either of the following:
$db_url = "$mysqli://:@localhost/";
$db_url = "$pgsql://:@localhost/";
... made no difference.
All of the uncommented content of settings.php is in Appendix 1, below.
Can anyone suggest how I can get Drupal6 to work with the content of my web-site?
Thank you,
daggett
APPENDIX 1. UNCOMMENTED CONTENT OF settings.php
require_once('dbconfig.php');if (!isset($dbserver) || empty($dbserver)) $dbserver='localhost';//$db_url = "$mysqli://$dbuser:$dbpass@$dbserver/$dbname";$db_url = "$mysql://<account>:<password>@localhost/<account>";$db_prefix = '';
...
if (file_exists('baseurl.php')) include_once('baseurl.php');
...
ini_set('arg_separator.output', '&');ini_set('magic_quotes_runtime', 0);ini_set('magic_quotes_sybase', 0);ini_set('session.cache_expire', 200000);ini_set('session.cache_limiter', 'none');ini_set('session.cookie_lifetime', 2000000);ini_set('session.gc_maxlifetime', 200000);ini_set('session.save_handler', 'user');ini_set('session.use_only_cookies', 1);ini_set('session.use_trans_sid', 0);ini_set('url_rewriter.tags', '');
FOOTNOTES
[1] I may not have given back anything personally to those who have written or contibuted to Drupal. Just possibly some may have gained indirectly from my own open source "intellectual property" contributions to the web as an administrator and author of a Drupal content-managed web-site.)
[2] Since September 2006, when I first installed it, I had intended to:
1. Set up a live test-bed off the web; and
2. Improve the structure of my Drupal web-site;
Of course, not having done the former was a particularly serious omission on my part. I had always intended to do so, but other complications and commitments prevented me from doing so until May 2010, when I was hospitalised by a near-fatal accident when a car ran into me on my bicycle.
The impact on my head gave me diffuse axonal brain damage. Whilst it has affected my balance, coordination, mental and physical stamina and ability to quickly assimiliate verbal input, but I have still retained much of my computer knowledge and skills prior to the accident. Just possibly, I may have lost some of what may considered basic knowledge, so please be understanding if this becomes evident.
[3] The web-site, for those who are curious or who may need to look, is candobetter.net (It was previously http://candobetter.org , but that domain had to be abandoned in 2010.)