Monday, November 26, 2012

Re: FULL_BASE_URL error using requestAction()

The latest, 2.2.2 I believe.

On Thursday, November 22, 2012 5:40:38 AM UTC-8, jsundquist wrote:

What version are you using.

On Nov 22, 2012 1:39 AM, "Miles J" <milesw...@gmail.com> wrote:
I keep seeing this in my debug.log, any ideas?

2012-11-22 03:22:36 Notice: Notice (8): Use of undefined constant FULL_BASE_URL - assumed 'FULL_BASE_URL' in [/var/www/cake/latest/lib/Cake/Core/Object.php, line 87]
Trace:
Object::requestAction() - CORECake/Core/Object.php, line 87
include - /var/www/<site>/public/app/View/Elements/sidebar.ctp, line 1
View::_evaluate() - CORECake/View/View.php, line 921
View::_render() - CORECake/View/View.php, line 884
View::element() - CORECake/View/View.php, line 422
include - APP/View/News/index.ctp, line 9
View::_evaluate() - CORECake/View/View.php, line 921
View::_render() - CORECake/View/View.php, line 884
View::render() - CORECake/View/View.php, line 476
Controller::render() - CORECake/Controller/Controller.php, line 956
Dispatcher::_invoke() - CORECake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORECake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 98

And the sidebar element:

<?php echo $this->requestAction('/sidebar/' . $sidebar, array('return', 'bare' => false)); ?>

Should I just define FULL_BASE_URL?

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake...@googlegroups.com.
To unsubscribe from this group, send email to cake-php+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: