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] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en