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

default primary links not showing up!!!

hi,

i'm still testing drupal. few days back when i started to use drupal, i downloaded 4.5 release. and setup was successful after few attempts, it automatically adds primary links if i save empty primary links field in settings (by default).

yesterday, i downloaded the new 4.6 release. setup was successful in 1st attempt. but there were no primary links. i checked the settings. there was html text links to settings page. thats ok.

but what are the default urls of forums, blogs, search??? is there anyway to enable auto primary links?

I think I messed up something on my install...?

Cannot modify header information - headers already sent by (output started at /home/richeswi/public_html/drupal/includes/common.inc:384) in /home/richeswi/public_html/drupal/includes/common.inc on line 192.

This was when I went to create a blog post.

mkdir(files): Permission denied in /home/richeswi/public_html/drupal/includes/file.inc on line 78.

Anyone know what I've done wrong?

Thanks!

trouble shooting assistance request

I get a little confused in which place to look, still.

yesterday I thought I was having a phptemplate problem, when actually the problem was a redeclare issue with a template. Figured which corse of actioin to take once I knew where it was coming from. -

Today I getting the below error in a different area.

Configure theme results in warning: mkdir(): File exists in .. file.inc on line 77. , Browser freezes. Windows server.

For any theme runing configure results in:

warning: mkdir(): File exists in C:\Accounts\myaccount\wwwRoot\includes\file.inc on line 77.

--------------------------------------------------------------------------
In Explorer 6.0 Windows XP or 2003 Server, this results in a frozen screen.
Must be some new devious Microsoft security measure.

In Opera and Mozilla at least you can continue.
--------------------------------------------
Here's the offending code from file.inc:

Two issues - 4.6

I have a fresh install of 4.6 and have issues that I can't seem to find anything about.

1. The banner module is displaying the image tag rather than the banner, Only local images are allowed.

2. Logs are showing a "watch-info not found" error every five minutes

Anyone have any ideas?

mails not sent through drupal (4.5 and 4.6)

its not a common problem, but i think it deserves a posting

Problem

Mails - password, feedback, whatever - are not sent by the drupal installation 4.5/4.6, but no error occurs

Reason

Some providers have set up a special requirement to use the sendmail function (mostly used by the php mail(); function)

There needs to be a parameter -f + emailadress to successfully send an email through php

Solution

Look into the modules/user.module for function user_mail and this code

    return mail(
      $mail,
      mime_header_encode($subject),
      str_replace("\r", '', $message),
      "MIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8; format=flowed\nContent-transfer-encoding: 8Bit\n" . $header
    );

you need to add "-f from@example.com" so it looks like

    return mail(
      $mail,
      mime_header_encode($subject),
      str_replace("\r", '', $message),
      "MIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8; format=flowed\nContent-transfer-encoding: 8Bit\n" . $header,
      "-f from@example.com"
    );

do not miss the single , behind $header

for the emailaddress you can use whatever valid email you like

There is a small problem with this solution too, ALL emails sent by drupal will get this "from" adress.

If there are enough users with this problem id like to see a feature request for adding additional email parameters.

-micha
work in progress langmi.de

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal