i followed the alternative installation procedure in the cake manual.
everything works well, except i seem to be running into a lot of
pathing problems with the command line tools. first, here is my
installation structure running on a wamp server...

/wamp
    /cakeapp
        /mysite                  <-- Used to be /cake_install/app
            /config
            /controllers
            /models
            /plugins
            /tmp
            /vendors
            /views
            index.php
/wamp
    /www
        /mysite                  <-- Used to be /cake_install/app/
webroot
            /css
            /files
            /img
            /js
            .htaccess
            css.php
            favicon.ico
            index.php

/wamp
   /cakecore                    <-- Used to be /cake_install/cake
       /cake
           /config
                /docs
                /libs
                /scripts
                app_controller.php
                app_model.php
                basics.php
                bootstrap.php
                dispatcher.php
           /vendors

the current problem i'm having is with acl.

here is the output running it without any params:

C:\WAMP\cakeapp>c:\wamp\php\php.exe c:\wamp\cakecore\cake\scripts
\acl.php initdb

Warning: require(c:\WAMP\cakecore\\app\config\core.php): failed to
open stream:
No such file or directory in c:\WAMP\cakecore\cake\scripts\acl.php on
line 98

and here it is with command line options for pathing:

C:\WAMP\cakeapp>c:\wamp\php\php.exe c:\wamp\cakecore\cake\scripts
\acl.php initdb
 -core c:\wamp\cakecore\cake -app c:\wamp\cakeapp\ibmtutorial -root c:
\wamp\www\ibmtutorial

Warning: require(cake\basics.php): failed to open stream: No such file
or direct
ory in c:\WAMP\cakecore\cake\scripts\acl.php on line 95

c:\wamp\cakecore\cake\basics.php is there, but acl must not be setting
the path properly.

the path section of c:\wamp\www\ibmtutorial\index.php is as follows:

        if (!defined('ROOT')) {
                define('ROOT', DS.'WAMP'.DS.'CAKEAPP');
        }
        if (!defined('APP_DIR')) {
                define('APP_DIR', 'IBMTUTORIAL');
        }
        if (!defined('CAKE_CORE_INCLUDE_PATH')) {
                define('CAKE_CORE_INCLUDE_PATH', DS.'WAMP'.DS.'CAKECORE');
        }

the app is working properly. i just can't, for the life of me, figure
out how to get acl.php to run properly.

any suggestions are appreciated, as this is driving me utterly crazy =)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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