thomshouse-escher / escher

Escher was a PHP MVC framework developed by Thom Stricklin from 2011-2013. Escher implemented a hybrid of Model2 MVC and PAC architectures and CMS concepts as well as plugins and configuration wizards. Development halted in 2013 in favor of Kohana and later Symfony, which closely aligned to the same design principles as Escher.
http://git.io/escher
4 stars 1 forks source link

Undefined variable type, helper.output.php #93

Closed adetwiler closed 11 years ago

adetwiler commented 11 years ago
Notice: Undefined variable: type in /var/www/escher/helpers/output/helper.output.php on line 100 
Warning: include_once(/var/www/escher/helpers/output//helper.output..php): failed to open stream: No such file or directory in /var/www/escher/core/loader.php on line 631 
Warning: include_once(): Failed opening '/var/www/escher/helpers/output//helper.output..php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/escher/core/loader.php on line 631 
Fatal error: Call to a member function assignVars() on a non-object in /var/www/escher/helpers/output/helper.output.php on line 106

helper.output.php line 100 function displayTheme()

The line below, "$type" is never set.

$out = Load::Output($type);
thomshouse commented 11 years ago

You're getting this error either because your theme doesn't have a theme.php file, or because it does not contain something like $type = 'php';. I should do some better error checking, but this is another thing that will change with the overhaul to themes.

adetwiler commented 11 years ago

I just got a chance to check and it does have theme.php with $type = 'php';

I will try some other things and report back with what I find.