Haven't looked into this yet as I've just upgraded, found the error and now I've got to go to work :o(

[04-Sep-2009 07:18:42] PHP Parse error: syntax error, unexpected '[', expecting T_PAAMAYIM_NEKUDOTAYIM in /Applications/MAMP/htdocs/sites/all/modules/cacherouter/CacheRouter.php on line 45

Pobster

Comments

pobster’s picture

Title: Latest dev causes parse error in CacheRouter.php » Latest dev (9/4/09) causes parse error in CacheRouter.php
pobster’s picture

Status: Active » Needs review

Okay as my curiosity got the better of me, I just checked line 45 and it's obvious what's wrong;

$default_options = array();
    if (isset(conf['cacherouter']['default'])) {
      $default_options = conf['cacherouter']['default'];
    }

The conf should be $conf for those two lines.

Pobster

slantview’s picture

yes, i have it fixed, i had checked in a couple mistakes. please don't use the dev version yet. i have more changes coming :) release will hopefully be ready tomorrow!

pobster’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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