Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Data Model Questions /

not view result isDev


Reply


2 Posts   1586 Views

Avatar
freenet

Community Member, 22 Posts

19 January 2010 at 11:17pm

Hi

I'm use SS 2.3.4 + DOM + SWFU + IG

when am add in url ?isDev=1 a get answer clear windows and error:
Warning: No current controller available in /home/moto-bg/moto-bg.ru/docs/sapphire/core/control/Controller.php on line 343

Fatal error: Call to a member function getSession() on a non-object in /home/moto-bg/moto-bg.ru/docs/sapphire/core/Session.php on line 60

in apache log:
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP Warning: No current controller available in /home/www/www1/sapphire/core/control/Controller.php on line 343
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP Stack trace:
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 1. {main}() /home/www/www1/sapphire/main.php:0
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 2. Director::direct() /home/www/www1/sapphire/main.php:118
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 3. HTTPResponse->output() /home/www/www1/sapphire/core/control/Director.php:144
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 4. Director::isLive() /home/www/www1/sapphire/core/control/HTTPResponse.php:191
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 5. Director::isDev() /home/www/www1/sapphire/core/control/Director.php:755
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 6. BasicAuth::requireLogin() /home/www/www1/sapphire/core/control/Director.php:769
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 7. MemberAuthenticator::authenticate() /home/www/www1/sapphire/security/BasicAuth.php:36
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 8. Session::clear() /home/www/www1/sapphire/security/MemberAuthenticator.php:77
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 9. Controller::curr() /home/www/www1/sapphire/core/Session.php:60
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 10. user_error() /home/www/www1/sapphire/core/control/Controller.php:343
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 11. errorHandler() /home/www/www1/sapphire/dev/Debug.php:0
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 12. Debug::warningHandler() /home/www/www1/sapphire/dev/Debug.php:676
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 13. Director::isDev() /home/www/www1/sapphire/dev/Debug.php:205
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 14. BasicAuth::requireLogin() /home/www/www1/sapphire/core/control/Director.php:769
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 15. MemberAuthenticator::authenticate() /home/www/www1/sapphire/security/BasicAuth.php:36
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 16. Session::clear() /home/www/www1/sapphire/security/MemberAuthenticator.php:77
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 17. Controller::curr() /home/www/www1/sapphire/core/Session.php:60
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 18. user_error() /home/www/www1/sapphire/core/control/Controller.php:343
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP Fatal error: Call to a member function getSession() on a non-object in /home/www/www1/sapphire/core/Session.php on line 60
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP Stack trace:
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 1. {main}() /home/www/www1/sapphire/main.php:0
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 2. Director::direct() /home/www/www1/sapphire/main.php:118
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 3. HTTPResponse->output() /home/www/www1/sapphire/core/control/Director.php:144
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 4. Director::isLive() /home/www/www1/sapphire/core/control/HTTPResponse.php:191
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 5. Director::isDev() /home/www/www1/sapphire/core/control/Director.php:755
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 6. BasicAuth::requireLogin() /home/www/www1/sapphire/core/control/Director.php:769
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 7. MemberAuthenticator::authenticate() /home/www/www1/sapphire/security/BasicAuth.php:36
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 8. Session::clear() /home/www/www1/sapphire/security/MemberAuthenticator.php:77
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 9. Controller::curr() /home/www/www1/sapphire/core/Session.php:60
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 10. user_error() /home/www/www1/sapphire/core/control/Controller.php:343
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 11. errorHandler() /home/www/www1/sapphire/dev/Debug.php:0
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 12. Debug::warningHandler() /home/www/www1/sapphire/dev/Debug.php:676
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 13. Director::isDev() /home/www/www1/sapphire/dev/Debug.php:205
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 14. BasicAuth::requireLogin() /home/www/www1/sapphire/core/control/Director.php:769
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 15. MemberAuthenticator::authenticate() /home/www/www1/sapphire/security/BasicAuth.php:36
[Tue Jan 19 13:12:52 2010] [error] [client 95.25.236.207] PHP 16. Session::clear() /home/www/www1/sapphire/security/MemberAuthenticator.php:77

anyone can help me? What i do not right?

Avatar
bkausbk

Community Member, 11 Posts

12 February 2010 at 3:51am

Edited: 12/02/2010 3:51am

Hello,

I've excatly the same problem with SilverStripe. There must be a bug some where inside. I'm logged in as SilverStripe admin.