Permissions
webridge - November 5, 2009 - 23:36
I am stuck when the tutorial video sais to go in and change the read/write/x permissions. I do to 777 and I get the following screen: http://drupaltest.webridge.org/drupal-6.14/install.php?profile=default&l....
I created a separated .php file in the sites/default page, so now i have the following 2 files:
default.settings.php
settings.php
Should I have both of these files or just the settings.php file ?
I tried numerous permission combos.
I have Moodle on my site and my host only allows for a certain number of db's but it allowed me to get to this page.http://drupaltest.webridge.org/
Any suggestions?
Warm Regards,
Doug

Both files are needed and
Both files are needed and should remain there even after installation.
To let Drupal's installer create the additional settings.php file for you,
- the containing directory sites/default should be 777 so that Drupal can create new files in it.
- the existing file default.settings.php should be at least 644 so that Drupal can read it.
Alternatively, you can create the settings.php file yourself (a copy of the default.settings.php file). In that case,
- the containing directory sites/default can be just 755 (Drupal doesn't need to write new files in it).
- your new settings.php file must be 666 so that Drupal can edit it and write in it.
One advantage of the second method (creating the settings file yourself) is that the new file will be owned by you (and not by the web server) and it will be easier to edit or move it if you need to.
error changed
Thanks for the help. It looks like now the error has changed.
Another thing is I moved the drupal files to the public html folder, eventhough it seems my Moodle stuff is on the main server (where many folders including public html folder is sitting).
Now I am getting the following error:
register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings. (Currently using PHP register globals Enabled ('1'))
I have changed the following:
- the containing directory sites/default is 755
- default.settings.php is 644
- the new settings.php file is 666 so that Drupal.
I have advised my host to disable register_globals. Hopefully, they have done it. I am concerned that if it is already disabled, than some programming will be required and that will be a challenge.
Thanks again.
Make sure that Drupal's
Make sure that Drupal's
.htaccessfile exists in Drupal's directory. If not, upload it again from a Drupal package.That should contain a
php_value register_globals 0line which does the trick.Note that filenames beginning with a dot are usually invisible and you may need to change some option in your FTP program to show them.
did the trick
my host disabled access and that did the trick. Regarding the .htaccess file, it said it is there eventhough I don't see it.
Thanks for the tips.
Warm Regards,
Doug