Initial install of 6.6 - err msg on status report - how to fix??
joeq2k - November 15, 2008 - 03:01
Please - how do I fix this err msg?
Thanks,
Clueless
PHP register globals Enabled ('1')
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.

install on your pc? or on
install on your pc? or on isp server?
Thanks for asking....
Installed on ISP server.
Re upload your .htaccess file
Drupal ships with .htaccess, which is an Apache access configuration file that prevents by default the register_globals to be set by true. Your .htaccess file is either missing or have the wrong content. Usually the .htaccess file is at the root of your web site.
You may also have your files on a windows computer using a web server other than Apache.
I don't see....
I don't see an .htaccess file on my server. Where does Drupal have its .htaccess file?
Thanks.
.htaccess files are invisible
The dot at the beginning of the .htaccess file name means make this file invisible on Linux box and it may also be invisible on Windows also.
Most text editor lets you open invisible files and the .htaccess file for Drupal is in the Drupal root directory.
Make sure this file is available or copied to your web server at your Drupal document root.
Are you using Apache?
Directories on my server...
These are the directories on my server, Can you tell if it's Apache?
access-logs 4 KB 0750
dir etc 4 KB 0750
dir logs 4 KB 0700
dir mail 4 KB 0770
dir public_ftp 4 KB 0755
dir public_html 4 KB 0750
dir tmp 4 KB 0700
dir www
I don't see an .htaccess file in the Drupal root dir.
Sorry to be such a newbie :(
Thanks again for your help.
Joe
Yes Apache...
I found a file in the Drupal root dir with just an icon and no filename. It is the .htaccess file. Here it is
#
# Apache/PHP/Drupal settings:
#
# Protect files and directories from prying eyes.
Order allow,deny
# Don't show directory listings for URLs which map to a directory.
Options -Indexes
# Follow symbolic links in this directory.
Options +FollowSymLinks
# Make Drupal handle any 404 errors.
ErrorDocument 404 /index.php
# Force simple error message for requests for non-existent favicon.ico.
ErrorDocument 404 "The requested file favicon.ico was not found.
# Set the default handler.
DirectoryIndex index.php
# Override PHP settings. More in sites/default/settings.php
# but the following cannot be changed at runtime.
# PHP 4, Apache 1.
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
# PHP 4, Apache 2.
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
# PHP 5, Apache 1 and 2.
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
# Requires mod_expires to be enabled.
# Enable expirations.
ExpiresActive On
# Cache all files for 2 weeks after access (A).
ExpiresDefault A1209600
# Do not cache dynamically generated pages.
ExpiresByType text/html A1
# Various rewrite rules.
RewriteEngine on
# If your site can be accessed both with and without the 'www.' prefix, you
# can use one of the following settings to redirect users to your preferred
# URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:
#
# To redirect all users to access the site WITH the 'www.' prefix,
# (http://example.com/... will be redirected to http://www.example.com/...)
# adapt and uncomment the following:
# RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
# RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
#
# To redirect all users to access the site WITHOUT the 'www.' prefix,
# (http://www.example.com/... will be redirected to http://example.com/...)
# uncomment and adapt the following:
# RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
# RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]
# Modify the RewriteBase if you are using Drupal in a subdirectory or in a
# VirtualDocumentRoot and the rewrite rules are not working properly.
# For example if your site is at http://example.com/drupal uncomment and
# modify the following line:
# RewriteBase /drupal
#
# If your site is running in a VirtualDocumentRoot at http://example.com/,
# uncomment the following line:
# RewriteBase /
# Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
# $Id: .htaccess,v 1.90.2.1 2008/07/08 09:33:14 goba Exp $
I uploaded to my root dir on server but can't see it.
I still get the errmsg in Drupal status rpt.
btw:
Merci beaucoup Jacques!
Whre is the Drupal root files
Hi!
Where are the root Drupal files, in 'www'? In a www subfolder?
On a single site configuration, usually the 'www' serves as the root installation for the Drupal sites. But you did not mention where are your files. For example, where is the update.php file? The .htaccess file should be at the same level.
The content of the file you pasted is the .htaccess file. If the name of the file is not ".htaccess", Apache will not parse this file.
Drupal dir
/public_html/drupal
The update.php file is in that dir.
I uploaded the .htaccess to that dir and my root dir.
.htaccess location
Well, since Drupal is intalled in "/public_html/drupal", you must place the .htaccess file there. This is also your Drupal root.
"/public_html/drupal/.htaccess"
You may need to delete the other .htaccess file you place in the other root you mentionned.
For more information about this issue, please read: Register globals should be disabled handbook document.
AAAAHHHHH....
I was able to delete it from the system root dir.
Merci pour le reference.