Having problems installing Drupal? See the Installation Guide for more information.

Connection refused; access denied

Hello,

I'm having quite a time trying to get Drupal up and running, and I'm not even getting consistent error messages, depending on what machine I try to connect from. I'm using Red Hat Linux Enterprise with up to date versions of PHP and MySQL, and Apache 1.3. I am new to all of these technologies, as I come from a Windows background, so I could very well be missing something obvious. Please bear with me as I explain in further (and probably too much) detail.

When I try to connect from the server itself, I consistently get a pop-up alert which says "The connection was refused when attempting to contact scoop.domainname.com" (which is the hostname of the machine). I've tried different variants of the address in both the browser and the conf.php file with no result.

Now, I get a different response when I try connecting from a different machine logged into the same domain. I'm taken to a directory listing when I browse to http://ipaddress/drupal, and I get the following error when browsing to http://ipaddress/drupal/index.php:

Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in /usr/local/apache/htdocs/drupal/includes/database.mysql.inc on line 31
Access denied for user 'root'@'localhost' (using password: YES)

And when browsing from outside our company network, I'm back to the first response ("The connection was refused when attempting to contact scoop.domainname.com").

Blank screen on initial launch - More

Hi -

Like many people trying to install Drupal 4.5.1 (locally in my case, using Apache2Triad with Apache version 2.0.49 MySQL 4.0.18 PHP 4.3.8 and Pear 1.3.1 included) I have hit a blank screen on the initial launch.

I refer to CoCoCo's post on 24 Dec 2004 and other posts in this forum; several people have had the same problem with various versions of Drupal, and different software configurations (operating systems, versions of PHP etc).

Perhaps Clydefrog was on the right track asking for the content of the Apache error log. Mine was :

Configuring Drupal for mysql connection

Hi,

I recently downloaded and tryed to install Drupal, but i couldn't find where to enter my information of my db.

I've read that i need to create a php file with the name of my domain with the .php at the end and put in the correct variables and url.

But it gives me the same error :

Warning: mysql_connect(): Access denied for user: 'drupal@localhost' (Using password: YES) in /home/cyberflo/public_html/site2/includes/database.mysql.inc on line 33
Access denied for user: 'drupal@localhost' (Using password: YES)

Anyone has a clue ?

Thanx

Blank screen on initial launch

I've done a number of Drupal installs, but this is my first with 4.5.1.

Linux/Fedora C3
Apache
mySQL: 3.23.58

I've created the tables and edited conf.php. When I open site/index.php, I get a blank screen with no error messages. If I view the source, I see just the HTML and BODY tags, with nothing between them. If I comment all the drupal code in index.php and add ECHO "Help!", the text is interpreted. If I call the includes directly, they appear as text in the browser (not overly secure, btw).

Any ideas?

og installation problem

Hi

I've installed OG using the postgres version that ken-ichi did (http://drupal.org/node/13652), but further altered by me to correctly account for the node_access primary key. Installation and initialisation, done according to the read-me, produced no error messages but I have two problems - The Group Details block is not being displayed and 2) the Groups item in the navigation menu has no sub-items.

I'm having difficulty seeing where the problem is and would appreciate any pointers.

Here is the content of my node_access table...

nid | gid | realm | grant_view | grant_update | grant_delete
-----+-----+----------+------------+--------------+--------------
15 | 0 | taxonomy | 1 | 1 | 1
15 | 100 | taxonomy | 1 | 1 | 1
15 | 102 | taxonomy | 1 | 1 | 1
5 | 40 | taxonomy | 1 | 1 | 1
5 | 4 | taxonomy | 1 | 1 | 1
5 | 100 | taxonomy | 1 | 1 | 1
5 | 102 | taxonomy | 1 | 1 | 1
5 | 0 | taxonomy | 1 | 1 | 1
5 | 0 | all | 1 | 0 | 0
24 | 2 | role | 1 | 1 | 1
24 | 4 | role | 1 | 1 | 1

Undefined index: PHP_SELF in ./includes/bootstrap.inc on line 20

Hi all,

I followed the instructions for Drupal installation. When I load up the Drupal index.php page, I get the following on the web page:

warning: array_key_exists(): The second argument should be either an array or an object in ./includes/module.inc on line 89.
warning: array_key_exists(): The second argument should be either an array or an object in ./includes/module.inc on line 89.
warning: array_key_exists(): The second argument should be either an array or an object in ./includes/module.inc on line 89.
warning: array_key_exists(): The second argument should be either an array or an object in ./includes/module.inc on line 89.
warning: array_key_exists(): The second argument should be either an array or an object in ./includes/module.inc on line 89.
warning: Cannot modify header information - headers already sent by (output started at ./includes/common.inc:344) in ./includes/common.inc on line 167.

And in the error logs of Apache, I see this for each request of index.php:

[Wed Dec 22 22:53:59 2004] [error] PHP Notice: Undefined index: PHP_SELF in ./includes/bootstrap.inc on line 20
[Wed Dec 22 22:53:59 2004] [error] PHP Notice: Undefined index: HTTP_HOST in ./includes/bootstrap.inc on line 22
[Wed Dec 22 22:53:59 2004] [error] PHP Notice: Undefined index: pass in ./includes/database.mysql.inc on line 31
[Wed Dec 22 22:53:59 2004] [error] PHP Notice: Undefined index: REMOTE_ADDR in ./includes/session.inc on line 29

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal