Didn't know exactly where to post this (couldn't find thread about the gantry framework itself
).
I recently moved a website from development to live and encountered a small error in gantry.php (or what I would consider an error
, the error being to assume something works instead of checking
). I moved the entire joomla install via FTP to it's new location, manually created and setup the database. Everything fine, till i tried to view the website. Problem was that the gantry framework wouldn't load.
The issue is in this part (gantry.php, line #58-66):if (!$mainframe->isAdmin() && !empty($template_params) && ($template_params->get("cache-enabled", 0) == 1)) {
...
$gantry = $cache->get(array('GantrySingleton','getInstance'), array('Gantry'), 'Gantry'.$user->get('aid', 0));
Probably has something to do with the manual moving and the caching. In any case, $gantry came back as NULL 
Fix:if (!$mainframe->isAdmin() && !empty($template_params) && ($template_params->get("cache-enabled", 0) == 1)) {
...
$gantry = $cache->get(array('GantrySingleton','getInstance'), array('Gantry'), Gantry'.$user->get('aid', 0));
if($gantry === NULL)
$gantry = GantrySingleton :: getInstance('Gantry');
If i remove the if statement, i get the error message back...anybody a clue to the source of the problem?