Hi I just thought I would share my experiences.
First off im a total n00b at installing Drupal, so it took me a few hours of reading to learn what I was doing wrong - hopefully this post will save someone in a similar position some significant time.
1. Assuming you have setup helm with your domain, enable PHP in the website settings and create a "mysql5" database. Add a username and password as normal.
2. Open the following file in the drupal directory
/site/default/default.settings.php
edit the following line.
$db_url = 'mysql://username:password@localhost/databasename';
A few tips at this stage:
Change the ' characters to "
use the local host name for the database e.g. MAGNESIUM.
The rest should be pretty straight forward.
4. Save the changes and rename the file
/site/default/settings.php
5. FTP the Drupal 6.x files to your wwwroot folder.
Attempt to access your website via a browser. You should get an error about globals.
6. This is fixed by accessing the following file and making some changes.
/modules/system/system.install
Remove the following code between lines 44 - 61 and save the system.install. Ftp the modified system.install to web server and it works.
// Test PHP register_globals setting.
$requirements['php_register_globals'] = array(
'title' => $t('PHP register globals'),
);
$register_globals = trim(ini_get('register_globals'));
// Unfortunately, ini_get() may return many different values, and we can't
// be certain which values mean 'on', so we instead check for 'not off'
// since we never want to tell the user that their site is secure
// (register_globals off), when it is in fact on. We can only guarantee
// register_globals is off if the value returned is 'off', '', or 0.
if (!empty($register_globals) && strtolower($register_globals) != 'off') {
$requirements['php_register_globals']['description'] = $t('<em>register_globals</em> is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when <em>register_globals</em> is enabled. The PHP manual has instructions for <a href="http://php.net/configuration.changes">how to change configuration settings</a>.');
$requirements['php_register_globals']['value'] = $t("Enabled ('@value')", array('@value' => $register_globals));
}
else {
$requirements['php_register_globals']['value'] = $t('Disabled');
}
I hope this helps.
Best regards
Mark


Reply With Quote

Bookmarks