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

Problem accessing modules admin page

I have a drupal based site almost completely up and running. I was looking through the admin screens and noticed that I could no longer see the "modules" screen (?q=admin/modules). When I try I get the header and the help but no content or menus on the side of the page. If I look in the logs there are no errors listed. If I view the source of the loaded page it just seems to stop after the following section "after having enabled the throttle module.</p></p>"

[error] - database.pgsql.inc on line 27 - database.pgsql.inc on line 28

**************************__install:__**************************************************

Freebsd 5.3
drupal-4.5.2
mod_php4-4.3.11,1
php4-pgsql-4.3.11
postgresql-server-8.0.2
apache+mod_ssl-1.3.33+2.8.22

**************************__i get in my http_error.log:__*********************************

[Sat Apr 23 08:37:09 2005] [error] PHP Notice: Undefined index: port in /mnt/work/dataweb/drupal/includes/database.pgsql.inc on line 27
[Sat Apr 23 08:37:09 2005] [error] PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused\n\tIs the server running on host "bakasable.net" and accepting\n\tTCP/IP connections on port 5432? in /mnt/work/dataweb/drupal/includes/database.pgsql.inc on line 28
[Sat Apr 23 08:37:09 2005] [error] PHP Warning: pg_last_error(): No PostgreSQL link opened yet in /mnt/work/dataweb/drupal/includes/database.pgsql.inc on line 28

***************************__conf.php:__**********************************************

<?php
// $Id: conf.php,v 1.32.2.1 2004/10/19 18:00:26 dries Exp $

/**
* @file
* Drupal site-specific configuration file.
*/

#
# Database settings:
#
# Note that the $db_url variable gets parsed using PHP's built-in
# URL parser (i.e. using the "parse_url()" function) so make sure
# not to confuse the parser. In practice, you should avoid using
# special characters that are not used in "normal" URLs either.
# That is, the use of ':', '/', '@', '?', '=' and '#', ''', '"',
# and so on is likely to confuse the parser; use alpha-numerical
# characters instead.
#
# To specify multiple connections to be used in your site (i.e. for
# complex custom modules) you can also specify an associative array
# of $db_url variables with the 'default' element used until otherwise
# requested.

# $db_url = "mysql://user:password@hostname/database";
# $db_url = "pgsql://user:password@hostname/database";
$db_url = "pgsql://drupal:badrupal@localhost/drupal";

# If $db_prefix is specified all database table names will be
# prepended with this string. Be sure to use valid database
# characters only, usually alphanumeric and underscore. If no
# prefixes are desired, set to empty string "".
$db_prefix = "";

#
# Base URL:
#
# The URL of your website's main page. It is not allowed to have
# a trailing slash; Drupal will add it for you.
#
$base_url = "http://localhost";

#
# PHP settings:
#
# To see what PHP settings are known to work well, take a look at
# the .htaccesss file in Drupal's root directory. If you get
# unexpected warnings or errors, double-check your PHP settings.

# If required, update PHP's include path to include your PEAR directory:
// ini_set("include_path", ".:/path/to/pear");

Trouble installing 4.6 with FTP and phpmyadmin *help*

I need help installing drupal 4.6 with an FTP client and phpmyadmin! The method for installing 4.5 like this doesnt work because theres no conf file. Please help!

module menu is not added because $may_cache is missing

I hit this problem in two cases:
1. when installed feedback_module
2. when created my own module

$may_cache is not passed to the module's _menu function. As the result, neither my module's block nor feedback module's menu item appears on the right.

Problem goes away if I remove if($may_cache) expression, but this is not right.

What's the right fix?
Thanks.

Sergiy

A Peace Corps volunteer needs a Drupal expert to help with a project!!!

I am a Peace Corps volunteer serving in South America working on an extranet project for our post. We are using Drupal for the project but are having a ton of issues installing the modules. Is there anyone out there that would be interested in helping with the project?

You can contact me at jstadum (at) gmail dot com

Thanks!

enabling SSL for PHP so Mailhandler can access SSL mailboxes

Hi all,

I have no problems using the Mailhandler module with a POP3 mail account that doesn't support ssl. However, I need to use a ssl email account (either gmail or my university's account on port 995 for POP3 or port 993 for imap) and I cannot get imap_open() in Mailhandler.module to work. Here is what I'm attempting:

$mbox = imap_open("{pop.gmail.com:995/pop3/ssl/novalidate-cert}", "mobilelog@gmail.com", $password) or die("Failed with error: ".imap_last_error());

I get the error

Warning: imap_open(): Couldn't open stream {pop.gmail.com:995/pop3/ssl/novalidate-cert} in C:\Program Files\Apache Group\Apache2\htdocs\test\index.php on line 19
Failed with error: Can't open mailbox {pop.gmail.com:995/pop3/ssl/novalidate-cert}: invalid remote specification

I'm running PHP4.3.11 with Apache2.0.53, and I've enabled php's imap and openssl modules. However, ssl doesn't seem to be working. Can anyone either provide an easy way to test whether or not ssl is working or share some experience as to how to successfully enable SSL for PHP? I am on a Win32 system (winxp SP2).

The steps I take to enable SSL for PHP are the following:
Move two .dll's included with the PHP full .zip package
- ssleay32.dll
- libeay32.dll
into my /system32 directory and uncomment the line in php.ini that enables the extension php_openssl.dll.

Is there something else I need to do other than this?

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal