if($this->params['controller'] == "islands" && sizeof($this-
>params['pass']) == 0) {
echo $html->image('step01_5.gif', array('alt'=>'Step 1: Select an
Area', 'style'=>'display:block; margin:auto;'));
} else if($this->params['controller'] == "islands" && sizeof($this-
>params['pass']) > 0) {
echo $html->image('step02.gif', array('alt'=>'Step 2: Select a
Property', 'style'=>'display:block; margin:auto;'));
} else if($this->params['controller'] == "properties" && $this-
>params['action'] == "details") {
echo $html->image('step03.gif', array('alt'=>'Step 3: Speak to
Hawaii Hideaways', 'style'=>'display:block; margin:auto;'));
} else if($this->params['controller'] == "properties" && $this-
>params['action'] != "details") {
echo $html->image('step02.gif', array('alt'=>'Step 2: Select a
Property', 'style'=>'display:block; margin:auto;'));
} else {
echo $html->image('step01.gif', array('alt'=>'Step 1: Select an
Island', 'style'=>'display:block; margin:auto;'));
}
?>
On Mar 1, 12:13 pm, Jeremy Burns <jeremybu...@me.com> wrote:
> Can you publish the contents of this file:
>
> /app/views/elements/steps.ctp
>
> ... to this forum?
>
> Jeremy Burns
>
> On 1 Mar 2010, at 16:33, APD wrote:
>
> > I hired someone to add a blog to our website. I have noticed that
> > there are always php errors anytime a new page is created. In my job
> > description, I said Cake knowledge would be necessary. This was not
> > heeded. Those hired dropped in the new url and this is what the page
> > reads:
>
> > ________________________________________________________________________
>
> > Notice (8): Undefined index: here [CORE/cake/libs/router.php, line
> > 763]
> > Notice (8): Undefined index: controller [CORE/app/views/elements/
> > steps.ctp, line 2]
>
> > Notice (8): Undefined index: controller [CORE/app/views/elements/
> > steps.ctp, line 4]
> > Notice (8): Undefined index: controller [CORE/app/views/elements/
> > steps.ctp, line 6]
> > Notice (8): Undefined index: controller [CORE/app/views/elements/
> > steps.ctp, line 8]
>
> > Missing controller
>
> > You are seeing this error because controller
> > HawaiitravelblogController could not be found.
>
> > Notice: If you want to customize this error message, create app/views/
> > errors/missing_controller.ctp
>
> > Fatal: Create the class below in file: app/controllers/
> > hawaiitravelblog_controller.php
>
> > <?php
> > class HawaiitravelblogController extends AppController {
> > var $name = 'Hawaiitravelblog';
> > }
> > ?>
>
> > ________________________________________________________________________
>
> > I unfortunately do not have any specific coding training in Cake or
> > php but would like to know what the above means to see if 1) I can fix
> > it myself or 2) describe it better to someone who may actually be able
> > to fix it.
>
> > Thanks for the help.
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions.
>
> > 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 For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
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 For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment