Greetings,

I have just downloaded and installed CakePHP 1.1.7.3363 on my SuSe 10
box (running Apache2, PHP5 and MySQL5) and am receiving this error when
I try to run the webroot/index.php page:

"Fatal error: Cannot redeclare class object in
/srv/www/cake/cake/libs/object.php on line 39"

I pulled the webroot out of the app directory, but left the app
directory inside cake. So my structure looks like this:

cake: /srv/www/cake/cake
app: /srv/www/cake/test
webroot: /srv/www/sites/test

I modified the config in the index.php file as follows:

define('ROOT', DS.'srv'.DS.'www'.DS.'cake');
define('APP_DIR', 'test');
define('CAKE_CORE_INCLUDE_PATH', DS.'srv'.DS.'www'.DS.'cake');

Any help would be greatly appreciated! Thanks,

Zack


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to