Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
[Fixed] Fatal Error in ActivityController.FetchViewLocation(); during install
Just installed Vanilla 2 on my local host after comparing many other solutions and can't wait to get it working! During install I got bonked. After searching a while I figured out how to get a more informative error screen and it read as follows (line 705 was highlighted):
Fatal Error in ActivityController.FetchViewLocation();
Could not find a 'all' view for the 'activity' controller in the '' application.
The error occurred on or near: /var/www/vanilla/library/core/class.controller.php
701: $this->_ViewLocations[$LocationName] = $ViewPath;
702: }
703: // echo '
704: if ($ViewPath === FALSE && $ThrowError)
705: trigger_error(ErrorMessage("Could not find a '$View' view for the '$ControllerName' controller in the '$ApplicationFolder' application.", $this->ClassName, 'FetchViewLocation'), E_USER_ERROR);
706:
707: return $ViewPath;
708: }
709:
Backtrace:
/var/www/vanilla/library/core/class.controller.phpPHP::Gdn_ErrorHandler();
[/var/www/vanilla/library/core/class.controller.php:705] PHP::trigger_error();
[/var/www/vanilla/library/core/class.controller.php:579] Gdn_Controller->FetchViewLocation();
[/var/www/vanilla/library/core/class.controller.php:953] Gdn_Controller->FetchView();
[/var/www/vanilla/library/core/class.pluggable.php:188] Gdn_Controller->xRender();
[/var/www/vanilla/library/core/class.pluggable.php:188] Gdn_Pluggable->__call();
[/var/www/vanilla/applications/dashboard/controllers/class.activitycontroller.php:176] ActivityController->Render();
[/var/www/vanilla/applications/dashboard/controllers/class.activitycontroller.php:176] ActivityController->Index();
[/var/www/vanilla/library/core/class.dispatcher.php:299] PHP::call_user_func_array();
[/var/www/vanilla/index.php:74] Gdn_Dispatcher->Dispatch();
Variables in local scope:
[View] 'all'
[ControllerName] 'activity'
[ApplicationFolder] ''
[ThrowError] true
[LocationName] 'activity/all'
[ViewPath] false
[BasePath] '/var/www/vanilla/applications'
[SubPaths] array (
0 => 'views/activity/all',
)
[ViewPaths] array (
0 => '/var/www/vanilla/themes/EmbedFriendly//views/activity/all.*',
1 => '/var/www/vanilla/themes/EmbedFriendly/views/activity/all.*',
2 => '/var/www/vanilla/applications//views/activity/all.*',
)
[SubPath] 'views/activity/all'
[Glob] '/var/www/vanilla/applications//views/activity/all.*'
[Paths] array (
)
I can't seem to find an answer. Can we still download Vanilla 1?
Fatal Error in ActivityController.FetchViewLocation();
Could not find a 'all' view for the 'activity' controller in the '' application.
The error occurred on or near: /var/www/vanilla/library/core/class.controller.php
701: $this->_ViewLocations[$LocationName] = $ViewPath;
702: }
703: // echo '
['.$LocationName.'] RETURNS ['.$ViewPath.']
';704: if ($ViewPath === FALSE && $ThrowError)
705: trigger_error(ErrorMessage("Could not find a '$View' view for the '$ControllerName' controller in the '$ApplicationFolder' application.", $this->ClassName, 'FetchViewLocation'), E_USER_ERROR);
706:
707: return $ViewPath;
708: }
709:
Backtrace:
/var/www/vanilla/library/core/class.controller.phpPHP::Gdn_ErrorHandler();
[/var/www/vanilla/library/core/class.controller.php:705] PHP::trigger_error();
[/var/www/vanilla/library/core/class.controller.php:579] Gdn_Controller->FetchViewLocation();
[/var/www/vanilla/library/core/class.controller.php:953] Gdn_Controller->FetchView();
[/var/www/vanilla/library/core/class.pluggable.php:188] Gdn_Controller->xRender();
[/var/www/vanilla/library/core/class.pluggable.php:188] Gdn_Pluggable->__call();
[/var/www/vanilla/applications/dashboard/controllers/class.activitycontroller.php:176] ActivityController->Render();
[/var/www/vanilla/applications/dashboard/controllers/class.activitycontroller.php:176] ActivityController->Index();
[/var/www/vanilla/library/core/class.dispatcher.php:299] PHP::call_user_func_array();
[/var/www/vanilla/index.php:74] Gdn_Dispatcher->Dispatch();
Variables in local scope:
[View] 'all'
[ControllerName] 'activity'
[ApplicationFolder] ''
[ThrowError] true
[LocationName] 'activity/all'
[ViewPath] false
[BasePath] '/var/www/vanilla/applications'
[SubPaths] array (
0 => 'views/activity/all',
)
[ViewPaths] array (
0 => '/var/www/vanilla/themes/EmbedFriendly//views/activity/all.*',
1 => '/var/www/vanilla/themes/EmbedFriendly/views/activity/all.*',
2 => '/var/www/vanilla/applications//views/activity/all.*',
)
[SubPath] 'views/activity/all'
[Glob] '/var/www/vanilla/applications//views/activity/all.*'
[Paths] array (
)
I can't seem to find an answer. Can we still download Vanilla 1?
0
Comments
Vanilla Forums COO [GitHub, Twitter, About.me]
Sorry for the confusion.
Vanilla Forums COO [GitHub, Twitter, About.me]