Hey Guys,
I'm working on my Multi Module CMS right now, and everything has been working like a charm on my Windows machine. I just moved the site up to my ubuntu server to make a live link, but now I have a huge issue.
I have my controllers set up so I can choose to call page-specific assets as a collection, which volt checks then checks to see if it exists and outputs it if it does.
{% if assets.exists('page_head_css') %}
{{ assets.outputCss('page_head_css') }}
{% endif %}
That check works perfectly on my windows machine, but on Ubuntu it breaks the page and stops all rendering at that point.
Here is my Volt setup in the module:
$di->set('view', function(){
$view = new \Phalcon\Mvc\View();
$view->setViewsDir('../core/backend/views/');
$view->registerEngines(array(
'.volt' => function($view, $di) {
$volt = new \Phalcon\Mvc\View\Engine\Volt($view, $di);
$volt->setOptions(array(
'compiledPath' => '../core/backend/compiled/',
'stat' => true,
'compileAlways' => true
));
return $volt;
}
));
return $view;
});
I have no prefix url set (as I'm making this install not domain-specific). I'm not getting anything in the error logs.
Windows Setup - PHP 5.6.19 x86 (phalcon 2.1.0r [Mar 23 2016 00:33:33]) Ubuntu Setup - PHP 5.5.9 x64 (phalcon 2.0.13 [Jun 27 2016 14:59:39])
I'd really appreciate some insight. I've spent the past two hours googling and pulling my hair out with nothing to show for it.