I developed a drupal site on my macbook and named the database name (not real name) I made with acqua drupal with core drupal imported was named "website-4"
When I set up a database with godaddy, I called the database website4.
I uploaded all the files from my laptop, and I can view the index.php page fine, and I can access the phpadmin database from my godaddy account I imported to the website4 and sees my admin user is listed under the users.
But when I enter my password or try to access the site by clicking on any other links on the index.php, it says it is not configured right.
"Internal server error"
I am thinking it is the difference that the laptop version used website-4 and the godaddy used website4 for the database name that is screwing it up. Where do I go in to make this change in godaddy or my laptop to upload to the godaddy site?
Comments
=-=
shouldn't have any impact if you changed settings.php to properly point to the database on godaddy servers.
did you clear the cache tables before you exported the DB or after you imported it?
Is .htaccess in the root of your install on the godaddy servers?
I am really new to drupal, so
I am really new to drupal, so here is the information from godaddy:
Database name and username: Test4
Password:' '
Friendly Name: Test
Admin URL (phpMyAdmin): https://p3smysqladmin01.secureserver.net/p50/437
MySQL version: 5.0
Status:Setup
Hostname: Test4.db.3860853.hostedresource.com
In the settings.php, it has:
$base_url = 'http://Test4.db.3860853.hostedresource.com';
//D6 DB config
$db_url = 'Test4.db.3860853.hostedresource.com';
//D7 DB config
$databases = array('default' => array('default' => array(
'driver' => 'mysql',
'database' => 'Test4',
'username' => 'Test4',
'password' => '',
'host' => 'Test4.db.3860853.hostedresource.com',
'port' => 33066 )));
So, what data from the godaddy info goes where in the settings?
=-=
database name
database username
database password
database location
'driver' => 'mysql','database' => 'Test4',
'username' => 'Test4',
'password' => '',
'host' => 'Test4.db.3860853.hostedresource.com',
If you must; reinstall drupal directly on the host. Then you can drop the new empty database and import the backed up database.
Lastly, no need to set the $base_url and you certainly wouldn't use the DB location as the $base_url
I started over from scratch,
I started over from scratch, and had the empty drupal site working.
I copied the backup migrate module to the modules folder to have access to that feature after enabling it
I then restored the online version from the mysql file that was the back-up made from my laptop working version
After restoration however, the layout of the index.php came back, but none of the links lead anywhere except "internal server error"
=-=
did you take notice to the links on the new site? were clean urls working?
also, did you put in place the modules that are in use on the site being moved?
Thanks
It is working now
Thanks