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

edited February 2011 in Vanilla 2.0 - 2.8
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 '
['.$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?

Comments

  • TimTim Operations Vanilla Staff
    That's a strange error. Does your local environment meeting the requirements?

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • Tim. I went over the requirements list and I'm fairly certain my Ubuntu box has everything mentioned (i.e. PDO) but I will re-check all of my permissions as well. It was doing something very strange though. Before I got the error, the database info page on install was doubled up, in effect asking me for the same fields twice. I just ended up putting it on a fresh wamp install on my xp system and it's working. I just have to say, I'm really blown away by Vanilla! I'm having too much fun right now in the dashboard to go back over to Ubuntu right now. When my site is ready to go live, It's going on a lamp server so I will figure this out and post back.
  • TimTim Operations Vanilla Staff
    edited February 2011
    There was a problem with 2.0.17.7 which caused that. A git merge issue that may or may not be directly attributable to my personal stupidity. 2.0.17.8 has been fixed so it should work on your LAMP stack just fine now.

    Sorry for the confusion.

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • Sweet, thanks.
Sign In or Register to comment.