Posted by arnold_mad on September 20, 2010 at 7:36pm
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
re: Error messages after fresh install of mercury (ubuntu 10.04)
This is very likely caused by an out-of-date varnish module.
The following commands should clear it up:
cd /var/wwwsudo drush dl varnish
Hope his helps,
Greg
--
Greg Coit
Systems Administrator
http://www.chapterthree.com
Could also be settings.php
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
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..