Hi,

The error is 'Fatal error: Call to a member function html() on a non-object
in /var/www/site/app/views/layouts/default.ctp on line 2', so I want to see
what have you written on 2nd line of default.ctp layout because I don't
think there is any helper method like html().

Amit Badkas

PHP Applications for E-Biz: http://www.sanisoft.com



On Thu, Jan 13, 2011 at 9:00 AM, Dave Maharaj <[email protected]> wrote:

>  I am setting up a site with this folder structure:
>
>
>
> -var
>
> -- libs
>
> ---cake
>
> ----1.2
>
> ----1.3
>
>
>
> -www
>
> --site
>
> ---app
>
>
>
> But now im getting Fatal error: Call to a member function html() on a
> non-object in /var/www/site/app/views/layouts/default.ctp on line 2
>
> Which is an html() view helper function so its not finding the cake folder
> helper yet its finding the database / everything else. If I change the
> define('CAKE_CORE_INCLUDE_PATH', ROOT); in index.php and make it wrong I get
> the errors cant find cake so I change it back to the right path just to
> check and the errors go away. Change the database password to something
> wrong and I get the sql cound not connect error so it does infact get to the
> Cake folder.
>
>
>
> Any ideas?
>
>
>
> Thanks,
>
>
>
> Dave
>
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to