Thanks for your info. I figured it out. The helper by the way was for a
facebook helper file. Bet neverthe less it was a simple oversight.checked
error logs and found what was missing.

 

Thanks for your time all the same.

 

Dave

 

From: Amit Badkas [mailto:[email protected]] 
Sent: Thursday, January 13, 2011 2:51 AM
To: [email protected]
Subject: Re: Not finding Cake folder

 

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]
<mailto: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

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