Error messages after fresh install of mercury (ubuntu 10.04)

Events happening in the community are now at Drupal community events on www.drupal.org.
arnold_mad's picture

Hi !

I installed today my first installation of mercury on a ubuntu 10.04 64 bit system. Right after installation I wanted to check the varnish status (admin/reports/varnish) and get the following:

Notice: Undefined variable: output in varnish_admin_reports_page() (line 99 of /var/www/sites/all/modules/varnish/varnish.admin.inc).

any idea what could be wrong ?

yours

Arnold

Comments

Greg Coit's picture

This is very likely caused by an out-of-date varnish module.

The following commands should clear it up:

cd /var/www
sudo drush dl varnish

Hope his helps,

Greg

--
Greg Coit
Systems Administrator
http://www.chapterthree.com

Could also be settings.php

burningdog's picture

If you're using Pressflow (which you should be!) you may find that suddenly drupal is reporting a LOT of errors. That's because error reporting in Pressflow is stricter than normal drupal. If you'd like to return to your previous level of error reporting, add the following to your settings.php file:

ini_set('error_reporting', !E_NOTICE & !E_WARNING);

problem persists, easy fix

joehudson's picture

I installed the latest varnish drupal module, but the warning persists. fixed by opening up the offending file, and adding $output = ''; just before the for loop on line 98. :)

But actually, having played a bit more and imported a site with a bunch of solid contrib modules, I get 100's of these warnings. so probably best to relax the PHP reporting..

Mercury

Group organizers

Group categories

Post Type

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week