dancryer / PHPCI

PHPCI is a free and open source continuous integration tool specifically designed for PHP.
BSD 2-Clause "Simplified" License
2.42k stars 439 forks source link

Can not render page #68

Closed trideout closed 11 years ago

trideout commented 11 years ago

When I attempt to view the session/login page, I get the following error.

Warning: Creating default object from empty value in /home/PHPCI/PHPCI/Controller/SessionController.php on line 64 Fatal error: Call to undefined method stdClass::render() in /home/PHPCI/PHPCI/Controller/SessionController.php on line 66

It appears that the view.path configuration item is not being set correctly, and the view class does not create the view object when it can not find the file. Once a path is correctly defined, it appears that the view object is looking for View/Session.phtml and not View/Session/login.phtml

gabriel403 commented 11 years ago

It works fine for me on the latest dev-master, is yours in a suburl? Did you configure the url properly when installing?

dancryer commented 11 years ago

Closing as it appears to work fine for me too, and no feedback since @gabriel403's response. Feel free to reply if this is not the case.