I have just copied an entire site to a new host server. I did not set up the original site nor do I have any cheat notes about what the previous developer did.
I imported the SQL database and had the site working 100% as EE v1.66.
I then proceeded to upgrade to v2.4 following the notes carefully. I received the dialogue box suggesting the upgrade was a success and to delete the installer directory to access the control panel. Please note that I changed the system directory name and that was reflected in the path.php and config.php files before the upgrade.
It all goes a bit pear shaped from here….and I get either a database connection error with a blank database.php file (0kb) or a white screen with the PHP script I believe are necessary to have in place.
The database php file contains the following:
<?php if ( ! defined(‘BASEPATH’)) exit(‘No direct script access allowed’);
removed for security
?>
My config file contains the following script:
<?php
if ( ! defined(‘EXT’)){
exit('Invalid file request');
}
$conf[‘app_version’] = “240”;
$conf[‘license_number’] = “license number with dashes”;
removed for security
$conf[‘cookie_prefix’] = “”;
$conf[‘is_system_on’] = “y”;
$conf[‘allow_extensions’] = “y”;
$conf[‘multiple_sites_enabled’] = “n”;
$config[‘uri_protocol’] = “QUERY_STRING”;
$conf[‘site_url’] = “http://test.domain.com.au/”;
$conf[‘tmpl_file_basepath’] = “/path/to/seaband-admin/expressionengine/templates”;
$conf[‘theme_folder_url’] = “http://test.domain.com.au/themes/”;
$conf[‘theme_folder_path’] = “/path/to/themes/”;
?>
The EE v1.66 site I have been given had no database.php only a separate directory under the system folder called db and in that was a db.mysql.php file that was (21Kb). Somehow this database.php I am trying to manually create is missing the mark somehow….have you got any ideas?
I can run dbtest.php from the site root directory and get the following:
A connection was established to your database server
Your database was selected.
The server that hosts this passed the qualifying criteria before the install but when I checked the PHP version it says 5.1.56