Always Get Better

Posts Tagged ‘drupal’

Removed Login Link from Drupal Site

Wednesday, November 26th, 2008

In Drupal it is possible to remove the login option from the site template by using the Blocks tool in the administration.  If you do this, you won’t be able to log in from the regular page template.

Logging in is still possible and easy.  Just add the querystring: ?q=user to call up a login prompt.

Slogan Not Appearing on Drupal Site

Tuesday, November 25th, 2008

A common issue faced by theme developers is that of the site slogan not appearing even when the variable $site_slogan is present.

The site slogan is disabled by default.  To turn it on in Drupal 6.6 go to the Theme selection list and choose Configuration.  The site slogan is one of the checkboxes available on the left-hand side.

The same thing might have to be done in the theme-specific settings to take effect.

Drupal Stuck at Database Configuration

Monday, November 24th, 2008

When configuring Drupal 6.6 on a Windows XP/Apache/MySQL box, I ran into an issue whereby I would enter the database information on the Database Configuration screen, press the advance button, but be constantly redirected back to the Database Configuration screen.

The Drupal community indicates this is a problem with permissions – Drupal needs to be able to write to your site’s settings.php file.  All permissions appeared to be correct in my setup but I was still unable to continue.

The solution was to edit the settings.php file, putting in my database information manually.  Just look for this line:

$db_url = ‘mysql://username:password@localhost/databasename’;

And change the username, password and databasename parts.

Then return to the Database Configuration screen, enter the information again and continue.  The correct database information will be read from the settings file and the configuration will continue to the next step.

Happy hunting!

“Connection to Server Reset” when Installing Drupal

Friday, May 2nd, 2008

Has anyone else had this issue?

When I try to install Drupal on a Windows 2003 Apache server, I get a pause and then “Connection Reset” error under Firefox.  If I then try to install it using Internet Explorer, the installation process comes up immediately and works without a hitch.

I still can’t seem to get the admin ‘Modules’ page to load at all – PHP is crashing.  That is an entirely separate issue as far as I can tell.