Notice: Undefined index: q in /home/igolfcommy/public_html/sites/all/modules/bio/bio.module on line 23

Once I run update.php, the frontpage and the site is fine ...until I click on frontpage again.

In any cases, people can go other pages, except the frontpage.

As a side note, I there's also an error caused by other module
Notice: Undefined index: path in /home/igolfcommy/public_html/sites/all/modules/domain/domain.module on line 504
Notice: Undefined index: path in /home/igolfcommy/public_html/sites/all/modules/domain/domain.module on line 505

I put these in my index.php

error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);

weird, only Opera show the errors. Firefox and IE just plain white

Files: 
CommentFileSizeAuthor
#7 bioperformance.patch2.79 KBRobLoach

Comments

Probably, these errors indicate that bio module written a 0 sized cache file....?

Temporary solution :
I disabled Page cache which stated :
Enabling the cache will offer a significant performance boost. Drupal can store and send compressed cached pages requested by anonymous users. By caching a web page, Drupal does not have to construct the page each time someone wants to view it.

True enough, only anonymous users see this errors. Once they logon (if they know how) ..no more error.

The notice is no big deal. That's only because you have E_ALL error reporting on.

Bio does use hook_init(), which will interfere with advanced caching, as it says in the administration panel. But it looks like the only reason it does this is to redirect users to node/X/edit if they try and add a second bio node. I can look and see if there's a nicer workaround for that.

Title:frontpage screen of deathFind workaround for hook_init() redirect

OK, comment out and Normal cache works as normal. I found it sometime ago to find out reason for white screen problem, not applicable in this case, i guess? My site runs on semi dedicated server, php_memory limit set at 70MB

/*error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
*/

Status:Active» Closed (fixed)

Status:Closed (fixed)» Active

I have a similar problem. Anonymous users cannot access the frontpage second time while the cache is enabled. The following notice and warning messages are displayed instead:

[codefilter_code]
Notice: Undefined index: q in /home/focacnet/public_html/modules/bio/bio.module on line 28

Warning: Cannot modify header information - headers already sent by (output started at /home/focacnet/public_html/modules/bio/bio.module:28) in /home/focacnet/public_html/includes/bootstrap.inc on line 565

Warning: Cannot modify header information - headers already sent by (output started at /home/focacnet/public_html/modules/bio/bio.module:28) in /home/focacnet/public_html/includes/bootstrap.inc on line 566

Warning: Cannot modify header information - headers already sent by (output started at /home/focacnet/public_html/modules/bio/bio.module:28) in /home/focacnet/public_html/includes/bootstrap.inc on line 569

Warning: Cannot modify header information - headers already sent by (output started at /home/focacnet/public_html/modules/bio/bio.module:28) in /home/focacnet/public_html/includes/bootstrap.inc on line 570

Warning: Cannot modify header information - headers already sent by (output started at /home/focacnet/public_html/modules/bio/bio.module:28) in /home/focacnet/public_html/includes/bootstrap.inc on line 578

Warning: Cannot modify header information - headers already sent by (output started at /home/focacnet/public_html/modules/bio/bio.module:28) in /home/focacnet/public_html/includes/bootstrap.inc on line 586

Status:Active» Needs review
StatusFileSize
new2.79 KB

What if we moved it to the form alter?