"notices/next" error...

Questions about how to maintain your Zuluru installation
Post Reply
sulfur
Posts: 38
Joined: Fri Nov 08, 2013 3:08 pm
Location: Kingston, ON

"notices/next" error...

Post by sulfur »

So, I've got a test implementation of Zuluru installed on a PHP 5.3(something or other) on my local machine (OSX box) and have been playing around with the configuration while I wait for my webhost to upgrade PHP to something non-stone-age.

I was logged into my account (set as admin and captain of my team) and was playing around with the attendance feature and realized that I hadn't submitted scores or stats for a game. So, I went to my schedule, chose "submit scores" and Zuluru told me that I did not have access to that page and needed to log in (showing me the login screen).

I logged in and got an error screen that I'd not come across before telling me that a view was missing:
Notice (8): Undefined variable: is_logged_in [APP/views/elements/notice.ctp, line 2]
Code | Context


if (Configure::read() > 0) {
include ($___viewFn);

$___viewFn = "/Library/WebServer/Documents/zuluru/views/elements/notice.ctp"
$___dataForView = array(
"menu_items" => array(),
"menu_element" => "flyout",
"is_mobile" => false,
"controller" => "Notices",
"action" => "next",
"file" => "/Library/WebServer/Documents/zuluru/views/notices/next.ctp",
"title" => "Missing View",
"number" => NumberHelper
NumberHelper::$_currencies = array
NumberHelper::$_currencyDefaults = array
NumberHelper::$helpers = NULL
NumberHelper::$base = "/zuluru/index.php"
NumberHelper::$webroot = "/zuluru/webroot/"
NumberHelper::$theme = NULL
NumberHelper::$here = "/zuluru/index.php/notices/next"
NumberHelper::$params = array
NumberHelper::$action = NULL
NumberHelper::$plugin = NULL
NumberHelper::$data = array
NumberHelper::$namedArgs = NULL
NumberHelper::$argSeparator = NULL
NumberHelper::$validationErrors = NULL
NumberHelper::$tags = array
NumberHelper::$__tainted = NULL
NumberHelper::$__cleaned = NULL,
"zuluruTime" => ZuluruTimeHelper
ZuluruTimeHelper::$helpers = NULL
ZuluruTimeHelper::$base = "/zuluru/index.php"
ZuluruTimeHelper::$webroot = "/zuluru/webroot/"
ZuluruTimeHelper::$theme = NULL
ZuluruTimeHelper::$here = "/zuluru/index.php/notices/next"
ZuluruTimeHelper::$params = array
ZuluruTimeHelper::$action = NULL
ZuluruTimeHelper::$plugin = NULL
ZuluruTimeHelper::$data = array
ZuluruTimeHelper::$namedArgs = NULL
ZuluruTimeHelper::$argSeparator = NULL
ZuluruTimeHelper::$validationErrors = NULL
ZuluruTimeHelper::$tags = array
ZuluruTimeHelper::$__tainted = NULL
ZuluruTimeHelper::$__cleaned = NULL,
"time" => TimeHelper
TimeHelper::$helpers = NULL
TimeHelper::$base = "/zuluru/index.php"
TimeHelper::$webroot = "/zuluru/webroot/"
TimeHelper::$theme = NULL
TimeHelper::$here = "/zuluru/index.php/notices/next"
TimeHelper::$params = array
TimeHelper::$action = NULL
TimeHelper::$plugin = NULL
TimeHelper::$data = array
TimeHelper::$namedArgs = NULL
TimeHelper::$argSeparator = NULL
TimeHelper::$validationErrors = NULL
TimeHelper::$tags = array
TimeHelper::$__tainted = NULL
TimeHelper::$__cleaned = NULL,
"zuluruJqueryEngine" => ZuluruJqueryEngineHelper
ZuluruJqueryEngineHelper::$jQueryObject = "jQuery"
ZuluruJqueryEngineHelper::$_optionMap = array
ZuluruJqueryEngineHelper::$_callbackArguments = array
ZuluruJqueryEngineHelper::$useNative = true
ZuluruJqueryEngineHelper::$selection = NULL
ZuluruJqueryEngineHelper::$bufferedMethods = array
ZuluruJqueryEngineHelper::$helpers = NULL
ZuluruJqueryEngineHelper::$base = "/zuluru/index.php"
ZuluruJqueryEngineHelper::$webroot = "/zuluru/webroot/"
ZuluruJqueryEngineHelper::$theme = NULL
ZuluruJqueryEngineHelper::$here = "/zuluru/index.php/notices/next"
ZuluruJqueryEngineHelper::$params = array
ZuluruJqueryEngineHelper::$action = NULL
ZuluruJqueryEngineHelper::$plugin = NULL
ZuluruJqueryEngineHelper::$data = array
ZuluruJqueryEngineHelper::$namedArgs = NULL
ZuluruJqueryEngineHelper::$argSeparator = NULL
ZuluruJqueryEngineHelper::$validationErrors = NULL
ZuluruJqueryEngineHelper::$tags = array
ZuluruJqueryEngineHelper::$__tainted = NULL
ZuluruJqueryEngineHelper::$__cleaned = NULL,
"js" => JsHelper
JsHelper::$bufferScripts = true
JsHelper::$helpers = array
JsHelper::$__jsVars = array
JsHelper::$__bufferedScripts = array
JsHelper::$__engineName = "ZuluruJqueryEngine"
JsHelper::$setVariable = "app"
JsHelper::$base = "/zuluru/index.php"
JsHelper::$webroot = "/zuluru/webroot/"
JsHelper::$theme = NULL
JsHelper::$here = "/zuluru/index.php/notices/next"
JsHelper::$params = array
JsHelper::$action = NULL
JsHelper::$plugin = NULL
JsHelper::$data = array
JsHelper::$namedArgs = NULL
JsHelper::$argSeparator = NULL
JsHelper::$validationErrors = NULL
JsHelper::$tags = array
JsHelper::$__tainted = NULL
JsHelper::$__cleaned = NULL
JsHelper::$Html = HtmlHelper object
JsHelper::$Form = FormHelper object
JsHelper::$ZuluruJqueryEngine = ZuluruJqueryEngineHelper object,
"zuluruForm" => ZuluruFormHelper
ZuluruFormHelper::$helpers = array
ZuluruFormHelper::$fieldset = array
ZuluruFormHelper::$__options = array
ZuluruFormHelper::$fields = array
ZuluruFormHelper::$requestType = NULL
ZuluruFormHelper::$defaultModel = NULL
ZuluruFormHelper::$_inputDefaults = array
ZuluruFormHelper::$base = "/zuluru/index.php"
ZuluruFormHelper::$webroot = "/zuluru/webroot/"
ZuluruFormHelper::$theme = NULL
ZuluruFormHelper::$here = "/zuluru/index.php/notices/next"
ZuluruFormHelper::$params = array
ZuluruFormHelper::$action = NULL
ZuluruFormHelper::$plugin = NULL
ZuluruFormHelper::$data = array
ZuluruFormHelper::$namedArgs = NULL
ZuluruFormHelper::$argSeparator = NULL
ZuluruFormHelper::$validationErrors = NULL
ZuluruFormHelper::$tags = array
ZuluruFormHelper::$__tainted = NULL
ZuluruFormHelper::$__cleaned = NULL
ZuluruFormHelper::$Html = HtmlHelper object
ZuluruFormHelper::$ZuluruHtml = ZuluruHtmlHelper object,
"form" => FormHelper
FormHelper::$helpers = array
FormHelper::$fieldset = array
FormHelper::$__options = array
FormHelper::$fields = array
FormHelper::$requestType = NULL
FormHelper::$defaultModel = NULL
FormHelper::$_inputDefaults = array
FormHelper::$base = "/zuluru/index.php"
FormHelper::$webroot = "/zuluru/webroot/"
FormHelper::$theme = NULL
FormHelper::$here = "/zuluru/index.php/notices/next"
FormHelper::$params = array
FormHelper::$action = NULL
FormHelper::$plugin = NULL
FormHelper::$data = array
FormHelper::$namedArgs = NULL
FormHelper::$argSeparator = NULL
FormHelper::$validationErrors = NULL
FormHelper::$tags = array
FormHelper::$__tainted = NULL
FormHelper::$__cleaned = NULL
FormHelper::$Html = HtmlHelper object,
"text" => TextHelper
TextHelper::$helpers = NULL
TextHelper::$base = "/zuluru/index.php"
TextHelper::$webroot = "/zuluru/webroot/"
TextHelper::$theme = NULL
TextHelper::$here = "/zuluru/index.php/notices/next"
TextHelper::$params = array
TextHelper::$action = NULL
TextHelper::$plugin = NULL
TextHelper::$data = array
TextHelper::$namedArgs = NULL
TextHelper::$argSeparator = NULL
TextHelper::$validationErrors = NULL
TextHelper::$tags = array
TextHelper::$__tainted = NULL
TextHelper::$__cleaned = NULL,
"zuluruHtml" => ZuluruHtmlHelper
ZuluruHtmlHelper::$helpers = array
ZuluruHtmlHelper::$__bufferedHtml = array
ZuluruHtmlHelper::$tags = array
ZuluruHtmlHelper::$_crumbs = array
ZuluruHtmlHelper::$__includedScripts = array
ZuluruHtmlHelper::$_scriptBlockOptions = array
ZuluruHtmlHelper::$__docTypes = array
ZuluruHtmlHelper::$base = "/zuluru/index.php"
ZuluruHtmlHelper::$webroot = "/zuluru/webroot/"
ZuluruHtmlHelper::$theme = NULL
ZuluruHtmlHelper::$here = "/zuluru/index.php/notices/next"
ZuluruHtmlHelper::$params = array
ZuluruHtmlHelper::$action = NULL
ZuluruHtmlHelper::$plugin = NULL
ZuluruHtmlHelper::$data = array
ZuluruHtmlHelper::$namedArgs = NULL
ZuluruHtmlHelper::$argSeparator = NULL
ZuluruHtmlHelper::$validationErrors = NULL
ZuluruHtmlHelper::$__tainted = NULL
ZuluruHtmlHelper::$__cleaned = NULL
ZuluruHtmlHelper::$Text = TextHelper object,
"html" => HtmlHelper
HtmlHelper::$tags = array
HtmlHelper::$_crumbs = array
HtmlHelper::$__includedScripts = array
HtmlHelper::$_scriptBlockOptions = array
HtmlHelper::$__docTypes = array
HtmlHelper::$helpers = NULL
HtmlHelper::$base = "/zuluru/index.php"
HtmlHelper::$webroot = "/zuluru/webroot/"
HtmlHelper::$theme = NULL
HtmlHelper::$here = "/zuluru/index.php/notices/next"
HtmlHelper::$params = array
HtmlHelper::$action = NULL
HtmlHelper::$plugin = NULL
HtmlHelper::$data = array
HtmlHelper::$namedArgs = NULL
HtmlHelper::$argSeparator = NULL
HtmlHelper::$validationErrors = NULL
HtmlHelper::$__tainted = NULL
HtmlHelper::$__cleaned = NULL,
"userCache" => UserCacheHelper
UserCacheHelper::$helpers = NULL
UserCacheHelper::$base = "/zuluru/index.php"
UserCacheHelper::$webroot = "/zuluru/webroot/"
UserCacheHelper::$theme = NULL
UserCacheHelper::$here = "/zuluru/index.php/notices/next"
UserCacheHelper::$params = array
UserCacheHelper::$action = NULL
UserCacheHelper::$plugin = NULL
UserCacheHelper::$data = array
UserCacheHelper::$namedArgs = NULL
UserCacheHelper::$argSeparator = NULL
UserCacheHelper::$validationErrors = NULL
UserCacheHelper::$tags = array
UserCacheHelper::$__tainted = NULL
UserCacheHelper::$__cleaned = NULL,
"session" => SessionHelper
SessionHelper::$helpers = array
SessionHelper::$__active = true
SessionHelper::$valid = false
SessionHelper::$error = false
SessionHelper::$_userAgent = "073a2b22238bc52ef54f06717cd7d5af"
SessionHelper::$path = "/"
SessionHelper::$lastError = NULL
SessionHelper::$security = "medium"
SessionHelper::$time = 1385606298
SessionHelper::$sessionTime = 1385618298
SessionHelper::$cookieLifeTime = false
SessionHelper::$watchKeys = array
SessionHelper::$id = NULL
SessionHelper::$host = NULL
SessionHelper::$timeout = NULL
SessionHelper::$base = "/zuluru/index.php"
SessionHelper::$webroot = "/zuluru/webroot/"
SessionHelper::$here = "/zuluru/index.php/notices/next"
SessionHelper::$params = array
SessionHelper::$action = NULL
SessionHelper::$data = array
SessionHelper::$theme = NULL
SessionHelper::$plugin = NULL
)
$loadHelpers = false
$cached = false
$loadedHelpers = array()
$menu_items = array()
$menu_element = "flyout"
$is_mobile = false
$controller = "Notices"
$action = "next"
$file = "/Library/WebServer/Documents/zuluru/views/notices/next.ctp"
$title = "Missing View"
$number = NumberHelper
NumberHelper::$_currencies = array
NumberHelper::$_currencyDefaults = array
NumberHelper::$helpers = NULL
NumberHelper::$base = "/zuluru/index.php"
NumberHelper::$webroot = "/zuluru/webroot/"
NumberHelper::$theme = NULL
NumberHelper::$here = "/zuluru/index.php/notices/next"
NumberHelper::$params = array
NumberHelper::$action = NULL
NumberHelper::$plugin = NULL
NumberHelper::$data = array
NumberHelper::$namedArgs = NULL
NumberHelper::$argSeparator = NULL
NumberHelper::$validationErrors = NULL
NumberHelper::$tags = array
NumberHelper::$__tainted = NULL
NumberHelper::$__cleaned = NULL
$zuluruTime = ZuluruTimeHelper
ZuluruTimeHelper::$helpers = NULL
ZuluruTimeHelper::$base = "/zuluru/index.php"
ZuluruTimeHelper::$webroot = "/zuluru/webroot/"
ZuluruTimeHelper::$theme = NULL
ZuluruTimeHelper::$here = "/zuluru/index.php/notices/next"
ZuluruTimeHelper::$params = array
ZuluruTimeHelper::$action = NULL
ZuluruTimeHelper::$plugin = NULL
ZuluruTimeHelper::$data = array
ZuluruTimeHelper::$namedArgs = NULL
ZuluruTimeHelper::$argSeparator = NULL
ZuluruTimeHelper::$validationErrors = NULL
ZuluruTimeHelper::$tags = array
ZuluruTimeHelper::$__tainted = NULL
ZuluruTimeHelper::$__cleaned = NULL
$time = TimeHelper
TimeHelper::$helpers = NULL
TimeHelper::$base = "/zuluru/index.php"
TimeHelper::$webroot = "/zuluru/webroot/"
TimeHelper::$theme = NULL
TimeHelper::$here = "/zuluru/index.php/notices/next"
TimeHelper::$params = array
TimeHelper::$action = NULL
TimeHelper::$plugin = NULL
TimeHelper::$data = array
TimeHelper::$namedArgs = NULL
TimeHelper::$argSeparator = NULL
TimeHelper::$validationErrors = NULL
TimeHelper::$tags = array
TimeHelper::$__tainted = NULL
TimeHelper::$__cleaned = NULL
$zuluruJqueryEngine = ZuluruJqueryEngineHelper
ZuluruJqueryEngineHelper::$jQueryObject = "jQuery"
ZuluruJqueryEngineHelper::$_optionMap = array
ZuluruJqueryEngineHelper::$_callbackArguments = array
ZuluruJqueryEngineHelper::$useNative = true
ZuluruJqueryEngineHelper::$selection = NULL
ZuluruJqueryEngineHelper::$bufferedMethods = array
ZuluruJqueryEngineHelper::$helpers = NULL
ZuluruJqueryEngineHelper::$base = "/zuluru/index.php"
ZuluruJqueryEngineHelper::$webroot = "/zuluru/webroot/"
ZuluruJqueryEngineHelper::$theme = NULL
ZuluruJqueryEngineHelper::$here = "/zuluru/index.php/notices/next"
ZuluruJqueryEngineHelper::$params = array
ZuluruJqueryEngineHelper::$action = NULL
ZuluruJqueryEngineHelper::$plugin = NULL
ZuluruJqueryEngineHelper::$data = array
ZuluruJqueryEngineHelper::$namedArgs = NULL
ZuluruJqueryEngineHelper::$argSeparator = NULL
ZuluruJqueryEngineHelper::$validationErrors = NULL
ZuluruJqueryEngineHelper::$tags = array
ZuluruJqueryEngineHelper::$__tainted = NULL
ZuluruJqueryEngineHelper::$__cleaned = NULL
$js = JsHelper
JsHelper::$bufferScripts = true
JsHelper::$helpers = array
JsHelper::$__jsVars = array
JsHelper::$__bufferedScripts = array
JsHelper::$__engineName = "ZuluruJqueryEngine"
JsHelper::$setVariable = "app"
JsHelper::$base = "/zuluru/index.php"
JsHelper::$webroot = "/zuluru/webroot/"
JsHelper::$theme = NULL
JsHelper::$here = "/zuluru/index.php/notices/next"
JsHelper::$params = array
JsHelper::$action = NULL
JsHelper::$plugin = NULL
JsHelper::$data = array
JsHelper::$namedArgs = NULL
JsHelper::$argSeparator = NULL
JsHelper::$validationErrors = NULL
JsHelper::$tags = array
JsHelper::$__tainted = NULL
JsHelper::$__cleaned = NULL
JsHelper::$Html = HtmlHelper object
JsHelper::$Form = FormHelper object
JsHelper::$ZuluruJqueryEngine = ZuluruJqueryEngineHelper object
$zuluruForm = ZuluruFormHelper
ZuluruFormHelper::$helpers = array
ZuluruFormHelper::$fieldset = array
ZuluruFormHelper::$__options = array
ZuluruFormHelper::$fields = array
ZuluruFormHelper::$requestType = NULL
ZuluruFormHelper::$defaultModel = NULL
ZuluruFormHelper::$_inputDefaults = array
ZuluruFormHelper::$base = "/zuluru/index.php"
ZuluruFormHelper::$webroot = "/zuluru/webroot/"
ZuluruFormHelper::$theme = NULL
ZuluruFormHelper::$here = "/zuluru/index.php/notices/next"
ZuluruFormHelper::$params = array
ZuluruFormHelper::$action = NULL
ZuluruFormHelper::$plugin = NULL
ZuluruFormHelper::$data = array
ZuluruFormHelper::$namedArgs = NULL
ZuluruFormHelper::$argSeparator = NULL
ZuluruFormHelper::$validationErrors = NULL
ZuluruFormHelper::$tags = array
ZuluruFormHelper::$__tainted = NULL
ZuluruFormHelper::$__cleaned = NULL
ZuluruFormHelper::$Html = HtmlHelper object
ZuluruFormHelper::$ZuluruHtml = ZuluruHtmlHelper object
$form = FormHelper
FormHelper::$helpers = array
FormHelper::$fieldset = array
FormHelper::$__options = array
FormHelper::$fields = array
FormHelper::$requestType = NULL
FormHelper::$defaultModel = NULL
FormHelper::$_inputDefaults = array
FormHelper::$base = "/zuluru/index.php"
FormHelper::$webroot = "/zuluru/webroot/"
FormHelper::$theme = NULL
FormHelper::$here = "/zuluru/index.php/notices/next"
FormHelper::$params = array
FormHelper::$action = NULL
FormHelper::$plugin = NULL
FormHelper::$data = array
FormHelper::$namedArgs = NULL
FormHelper::$argSeparator = NULL
FormHelper::$validationErrors = NULL
FormHelper::$tags = array
FormHelper::$__tainted = NULL
FormHelper::$__cleaned = NULL
FormHelper::$Html = HtmlHelper object
$text = TextHelper
TextHelper::$helpers = NULL
TextHelper::$base = "/zuluru/index.php"
TextHelper::$webroot = "/zuluru/webroot/"
TextHelper::$theme = NULL
TextHelper::$here = "/zuluru/index.php/notices/next"
TextHelper::$params = array
TextHelper::$action = NULL
TextHelper::$plugin = NULL
TextHelper::$data = array
TextHelper::$namedArgs = NULL
TextHelper::$argSeparator = NULL
TextHelper::$validationErrors = NULL
TextHelper::$tags = array
TextHelper::$__tainted = NULL
TextHelper::$__cleaned = NULL
$zuluruHtml = ZuluruHtmlHelper
ZuluruHtmlHelper::$helpers = array
ZuluruHtmlHelper::$__bufferedHtml = array
ZuluruHtmlHelper::$tags = array
ZuluruHtmlHelper::$_crumbs = array
ZuluruHtmlHelper::$__includedScripts = array
ZuluruHtmlHelper::$_scriptBlockOptions = array
ZuluruHtmlHelper::$__docTypes = array
ZuluruHtmlHelper::$base = "/zuluru/index.php"
ZuluruHtmlHelper::$webroot = "/zuluru/webroot/"
ZuluruHtmlHelper::$theme = NULL
ZuluruHtmlHelper::$here = "/zuluru/index.php/notices/next"
ZuluruHtmlHelper::$params = array
ZuluruHtmlHelper::$action = NULL
ZuluruHtmlHelper::$plugin = NULL
ZuluruHtmlHelper::$data = array
ZuluruHtmlHelper::$namedArgs = NULL
ZuluruHtmlHelper::$argSeparator = NULL
ZuluruHtmlHelper::$validationErrors = NULL
ZuluruHtmlHelper::$__tainted = NULL
ZuluruHtmlHelper::$__cleaned = NULL
ZuluruHtmlHelper::$Text = TextHelper object
$html = HtmlHelper
HtmlHelper::$tags = array
HtmlHelper::$_crumbs = array
HtmlHelper::$__includedScripts = array
HtmlHelper::$_scriptBlockOptions = array
HtmlHelper::$__docTypes = array
HtmlHelper::$helpers = NULL
HtmlHelper::$base = "/zuluru/index.php"
HtmlHelper::$webroot = "/zuluru/webroot/"
HtmlHelper::$theme = NULL
HtmlHelper::$here = "/zuluru/index.php/notices/next"
HtmlHelper::$params = array
HtmlHelper::$action = NULL
HtmlHelper::$plugin = NULL
HtmlHelper::$data = array
HtmlHelper::$namedArgs = NULL
HtmlHelper::$argSeparator = NULL
HtmlHelper::$validationErrors = NULL
HtmlHelper::$__tainted = NULL
HtmlHelper::$__cleaned = NULL
$userCache = UserCacheHelper
UserCacheHelper::$helpers = NULL
UserCacheHelper::$base = "/zuluru/index.php"
UserCacheHelper::$webroot = "/zuluru/webroot/"
UserCacheHelper::$theme = NULL
UserCacheHelper::$here = "/zuluru/index.php/notices/next"
UserCacheHelper::$params = array
UserCacheHelper::$action = NULL
UserCacheHelper::$plugin = NULL
UserCacheHelper::$data = array
UserCacheHelper::$namedArgs = NULL
UserCacheHelper::$argSeparator = NULL
UserCacheHelper::$validationErrors = NULL
UserCacheHelper::$tags = array
UserCacheHelper::$__tainted = NULL
UserCacheHelper::$__cleaned = NULL
$session = SessionHelper
SessionHelper::$helpers = array
SessionHelper::$__active = true
SessionHelper::$valid = false
SessionHelper::$error = false
SessionHelper::$_userAgent = "073a2b22238bc52ef54f06717cd7d5af"
SessionHelper::$path = "/"
SessionHelper::$lastError = NULL
SessionHelper::$security = "medium"
SessionHelper::$time = 1385606298
SessionHelper::$sessionTime = 1385618298
SessionHelper::$cookieLifeTime = false
SessionHelper::$watchKeys = array
SessionHelper::$id = NULL
SessionHelper::$host = NULL
SessionHelper::$timeout = NULL
SessionHelper::$base = "/zuluru/index.php"
SessionHelper::$webroot = "/zuluru/webroot/"
SessionHelper::$here = "/zuluru/index.php/notices/next"
SessionHelper::$params = array
SessionHelper::$action = NULL
SessionHelper::$data = array
SessionHelper::$theme = NULL
SessionHelper::$plugin = NULL

include - APP/views/elements/notice.ctp, line 2
View::_render() - CORE/cake/libs/view/view.php, line 736
View::element() - CORE/cake/libs/view/view.php, line 397
include - APP/views/layouts/default.ctp, line 70
View::_render() - CORE/cake/libs/view/view.php, line 736
View::renderLayout() - CORE/cake/libs/view/view.php, line 494
View::render() - CORE/cake/libs/view/view.php, line 440
Controller::render() - CORE/cake/libs/controller/controller.php, line 909
ErrorHandler::_outputMessage() - CORE/cake/libs/error.php, line 458
ErrorHandler::missingView() - CORE/cake/libs/error.php, line 294
Object::dispatchMethod() - CORE/cake/libs/object.php, line 112
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125
Object::cakeError() - CORE/cake/libs/object.php, line 201
View::_missingView() - CORE/cake/libs/view/view.php, line 953
View::_getViewFileName() - CORE/cake/libs/view/view.php, line 891
View::render() - CORE/cake/libs/view/view.php, line 430
Controller::render() - CORE/cake/libs/controller/controller.php, line 909
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207

Missing View

Error: The view for NoticesController::next() was not found.

Error: Confirm you have created the file: /Library/WebServer/Documents/zuluru/views/notices/next.ctp

Notice: If you want to customize this error message, create zuluru/views/errors/missing_view.ctp
There's no notices directory in the 'views' folder (either in my install or on the git repository). Would a simple "empty" file suffice in this situation?

(Note: It's incredibly difficult to replicate this error...)
GregS
Site Admin
Posts: 240
Joined: Thu Jan 06, 2011 4:58 pm

Re: "notices/next" error...

Post by GregS »

There shouldn't need to be a view for that. It should only ever be called internally via requestAction. I think that what's happening here is just really bad timing where your initial page load is while the session is valid, but then it expires before the requestAction happens, which in turn causes a redirect to the login page followed by a redirect back to the page that caused the login, which isn't really a page load but the requestAction. I'll dig into this a little more tomorrow and see if I can come up with a solution. In the meantime, if you set notice_frequency to 0 in config/features.php, it should stop happening, and if you set it to 100, it should be a little easier to replicate.
GregS
Site Admin
Posts: 240
Joined: Thu Jan 06, 2011 4:58 pm

Re: "notices/next" error...

Post by GregS »

Can you add the following at the top of notices_controller.php and see if it fixes this?

Code: Select all

function publicActions() {
	return array('next', 'viewed');
}
GregS
Site Admin
Posts: 240
Joined: Thu Jan 06, 2011 4:58 pm

Re: "notices/next" error...

Post by GregS »

Seems that this change has fixed it, so it's been committed to github.
Post Reply