I am using Apache and PHP on Windows.
I have just installed drupal but I am getting php errors when I turn on the cache.

Here is the error:

Notice: Undefined index: messages in C:\Inetpub\wwwroot\drupal\includes\bootstrap.inc on line 624

If get a blank page if I refresh

Thanks in advance

Comments

bump

bump

R: Cache problem

Just wish to comment that I too am getting this problem, although it only affects anonymous users.

  • Windows XP
  • Drupal 4.6.1
  • PHP 5.0.4
  • Apache 2.0.54

Regards,

Calvin

Notices

Your PHP configuration is set to output notices as error messages on screen. This is useful during development, as it can point to possible errors, but is undesirable on a production platform. Ask your administrator to disable them, or do it yourself if you can (in php.ini, see error reporting).

--
If you have a problem, please search before posting a question.

--
If you have a problem, please search before posting a question.

So the errors are irrelevant

So the errors are irrelevant and everything is actually working?

The notice is not the problem

The notice is not the problem here. It's the blank pages that should be solved.

I'm getting the same problem in Windows

Anyone has a solution for this ? The problem is not the notice but rather that the cache returns a blank page. This makes the cache totaly unusable.
Further investigation shows that the problem is probably in
bootstrap.inc -> drupal_page_header where there is different behaviour between windows and linux (where the same code works well).
In my Windows/Apache both $_SERVER ['HTTP_IF_MODIFIED_SINCE'] and $_SERVER ['HTTP_IF_NONE_MATCH'] are not set.

Any advice on this ?

Thanks
Nbd

Same problem, Apache 2.1

I'm getting the same problem after our host upgraded to Apache 2.

Now I need to figure out how to turn off the cache when I can't get to the site....

nobody click here