Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorsonagi
     
    I am trying to test this link (http://www.akelos.org/docs/tutorials/booklink).
    After checking out the framework, as the tutorial mentioned
    ===
    Note for Windows users: You will need to call the scripts from your application directory using the full path to your php.exe file like:
    C:\Program Files\xampp\php\php.exe ./script/generate scaffold
    ===
    so, , I did type like this
    C:\APM_Setup\htdocs\akelos_framework>C:\APM_Setup\Server\PHP5\php.exe ./script/g
    enerate scaffold

    then I met this errors..what should I do for solving these problems?


    Warning: include(C:\APM_Setup\htdocs\akelos_framework\script\..\config\config.ph
    p): failed to open stream: No such file or directory in C:\APM_Setup\htdocs\akel
    os_framework\script\generate on line 5

    Warning: include(): Failed opening 'C:\APM_Setup\htdocs\akelos_framework\script\
    ..\config\config.php' for inclusion (include_path='.;C:\php5\pear') in C:\APM_Se
    tup\htdocs\akelos_framework\script\generate on line 5

    Warning: require_once(AK_LIB_DIRDSutilsDSscriptsDSgenerate.php): failed to open
    stream: No such file or directory in C:\APM_Setup\htdocs\akelos_framework\script
    \generate on line 6

    Fatal error: require_once(): Failed opening required 'AK_LIB_DIRDSutilsDSscripts
    DSgenerate.php' (include_path='.;C:\php5\pear') in C:\APM_Setup\htdocs\akelos_fr
    amework\script\generate on line 6

    C:\APM_Setup\htdocs\akelos_framework>
    • CommentAuthorKaste
     

    I think the tutorial encourages you to use a seperate folder for your project (seperated from the framework-dir).

    you should execute the script from there. (some/path/booklink I guess.) you should then find the configuration-file at path/booklink/config/config.php.

    • CommentAuthorBernardoLG
     
    Thanks so much for the answer Kaste!
    Had the same problem.
    I did what you sugested:

    >cd C:\wamp\www\booklink

    Then:

    >php script/migrate Booklink install

    It worked just dandy!

    Regards, and keep doing such a great job!

    ß.

    NOTE: I already set the enviroment variables so I can use "php" instead of "c:\wamp\bin\php\php5.2.5\php.exe".