Objective – creating local development version of Scibella.
Followed procedure in http://drupal.org/node/75545
SQL Database samdog_drpl1 setup on local PC went Ok once I realised that you had to create it first on local PC as empty – no tables and then import the SQL export file from web site backupinto the blank database! Used phpmyadmin for this and also setting up new username and password to link to database- privileges set to all rights.
copied the scibella.com ”public_html” folder in which drupal was installed from Dec 2008 backup* ) into C:\scibella\drupal_old
*(used this one in end as June2009 backup may be corrupted and no site changes in between)
as per procedure aliased this as /drupal_old . Changed config files etc. Had to change
$db_url connection setting in sites/defaults/ settings.php to new user name and password
Went to localhost/drupal_old
Site came up but without themes or login box and warnings below
- warning: array_map() [function.array-map]: Argument #2 should be an array in C:\Scibella\drupal_old\modules\system\system.module on line 975.
- warning: array_keys() [function.array-keys]: The first argument should be an array in C:\Scibella\drupal_old\includes\theme.inc on line 1720.
- warning: Invalid argument supplied for foreach() in C:\Scibella\drupal_old\includes\theme.inc on line 1720.
Went to localhost/drupal_old/admin and without login got administration screen themed etc as on old site. Then when logged out and back in as localhost/drupal_old everything Ok. Wierd. Most links tested so far have been re-written for localhost except for project blog which still points to scibella.com