subtato
Active member
Hey guys.. I feel stupid for having to ask why this is happening, but this is a learning experience. A change from easy development to slightly more advanced.
I receive the following error (along with it's stacktrace):
Here's my code for ezirc/Route/Prefix/Index.php
Obviously, there's not much.. there's just something that isn't working right here...
If someone could help, I would greatly appreciate it
If you need more information, just let me know, I just want to be able to start making stuff work haha.
I receive the following error (along with it's stacktrace):
An exception occurred: Argument 1 passed to XenForo_Controller::__construct() must be an instance of Zend_Controller_Request_Http, instance of XenForo_ViewRenderer_HtmlPublic given, called in /path/to/my/home/community/library/XenForo/ViewRenderer/Abstract.php on line 200 and defined in /path/to/my/home/community/library/XenForo/Controller.php on line 81
XenForo_Application::handlePhpError() in XenForo/Controller.php at line 81
XenForo_Controller->__construct() in XenForo/ViewRenderer/Abstract.php at line 200
XenForo_ViewRenderer_Abstract->renderViewObject() in XenForo/ViewRenderer/HtmlPublic.php at line 69
XenForo_ViewRenderer_HtmlPublic->renderView() in XenForo/FrontController.php at line 520
XenForo_FrontController->renderView() in XenForo/FrontController.php at line 156
XenForo_FrontController->run() in /path/to/my/home/community/index.php at line 15
PHP:
<?php
class ezirc_Route_Prefix_Index implements XenForo_Route_Interface
{
public function match($routePath, Zend_Controller_Request_Http $request, XenForo_Router $router)
{
return $router->getRouteMatch('ezirc_Public_Index', $routePath, 'ezirc_main');
}
}
?>
Obviously, there's not much.. there's just something that isn't working right here...
If someone could help, I would greatly appreciate it
If you need more information, just let me know, I just want to be able to start making stuff work haha.