So I have an odd seeming bug. I have some menu links that I was using nolink for a temporary placeholder on. The links in the menu were rendering as actual links that would send users to a 404 page. I started noticing in my logs that after someone went to a 404 because of the nolink, there were a bunch of session warnings.

If you were logged in you only saw this one:

  	Warning: Cannot modify header information - headers already sent by (output started at /public_html/includes/common.inc:2575) in drupal_send_headers() (line 1225 of /public_html/includes/bootstrap.inc).

But anonymous users who clicked on the nolink kicked out two additional warnings:

  Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /public_html/includes/common.inc:2575) in drupal_session_start() (line 278 of /public_html/includes/session.inc).
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /public_html/includes/common.inc:2575) in drupal_session_start() (line 278 of /public_html/includes/session.inc).

The only reason I think this has to do with this module is that it only happens on links created by this module. I've tried creating other 404s and no warnings.

Comments

bogdanru’s picture

Same issue here.

gagarine’s picture

Version: 7.x-1.0 » 7.x-2.x-dev
Status: Active » Fixed

fixed in 2.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

szt’s picture

The issue appeared, when I updated from 7.x-1.x-dev to 7.x-1.0.
The solution was to update to 7.x-2.0.

szt’s picture

Issue summary: View changes

removed <> around nolink