en téléchargeant cakephp (3.08, mais j'ai aussi essayé avec les versions antérieures, composer ou en lien direct), dès que je mets le debug à false, il ne trouve aucune page, par exemple pour la racine '/' il indique :

Not Found
Error: The requested address '/' was not found on this server.

fichier routes.php :

    $routes->connect('/', ['controller' => 'Pages', 'action' => 'display', 'home']);

ps : je précise que je fais les tests juste après le téléchargement

merci à vous.

20 réponses


antograssiot
Réponse acceptée

J'ai peut être mal compris mais c'est normal que la page home ne soit pas disponible lorsque debug est false. Cela a été fait pour ne pas divulguer d'information de la base de données par exemple en production si des utilisateurs oublient de supprimer/modifier home. ctp.
Ça se passe ici : https://github.com/cakephp/app/blob/master/src/Template/Pages/home.ctp#L23

Salut,
Que disent les logs de ton serveur et de ton application ?
Quelle est le status de la réponse Http, 404 ou 403 ?

alexyon
Auteur

slt,
pour le statut = 404

Failed to load resource: the server responded with a status of 404 (Not Found)

et le log erreur :

#0 /Users/alexyon/Downloads/cakephp-3-0-6/vendor/cakephp/cakephp/src/View/View.php(815): include()
#1 /Users/alexyon/Downloads/cakephp-3-0-6/vendor/cakephp/cakephp/src/View/View.php(775): Cake\View\View->_evaluate('/Users/alexyo...', Array)
#2 /Users/alexyon/Downloads/cakephp-3-0-6/vendor/cakephp/cakephp/src/View/View.php(463): Cake\View\View->_render('/Users/alexyo...')
#3 /Users/alexyon/Downloads/cakephp-3-0-6/vendor/cakephp/cakephp/src/Controller/Controller.php(581): Cake\View\View->render('home', NULL)
#4 /Users/alexyon/Downloads/cakephp-3-0-6/src/Controller/PagesController.php(57): Cake\Controller\Controller->render('home')
#5 [internal function]: App\Controller\PagesController->display('home')
#6 /Users/alexyon/Downloads/cakephp-3-0-6/vendor/cakephp/cakephp/src/Controller/Controller.php(410): call_user_func_array(Array, Array)
#7 /Users/alexyon/Downloads/cakephp-3-0-6/vendor/cakephp/cakephp/src/Routing/Dispatcher.php(114): Cake\Controller\Controller->invokeAction()
#8 /Users/alexyon/Downloads/cakephp-3-0-6/vendor/cakephp/cakephp/src/Routing/Dispatcher.php(87): Cake\Routing\Dispatcher->_invoke(Object(App\Controller\PagesController))
#9 /Users/alexyon/Downloads/cakephp-3-0-6/webroot/index.php(37): Cake\Routing\Dispatcher->dispatch(Object(Cake\Network\Request), Object(Cake\Network\Response))
#10 {main}

de ton coté, si tu télécharges CAKEPHP3.08 et que tu changes juste le debug à FALSE, tu vois la page d'accueil ?

Oui oui, c'est étrange.
Tu n'as vraiment rien changé dans ton controller ? La méthode PagesController::index() rend bien la vue home.ctp ?
Tu n'est pas bloqué par Security ou Auth component par hasard ?

alexyon
Auteur

non rien de tout ca
de ton cote si tu telecharges cake 3 et que tu changes juste le debug tu vois bien la page de bienvenue?

Oui,
J'essaie de réfléchir d'où le problème pourrait venir, mais je ne vois pas.
Et je ne peux pas faire de test, hum

alexyon
Auteur

OK donc ca vient de mon poste.
je vais formater ce soir mon macbook pro et je verrai ...

alexyon
Auteur

Oui, je suis meme dans le fil, et ce que fait marien fonctionne, en revanche ca me gene de laisser debug=true en production , comme le recommande vivement le book
mais si tu me confirmes que cake fonctionne chez toi en changeant le debug à true, alors cela ne peut provenir que de mon ordi ...

Oui, ne déploies pas avec un debug à True, je ne te conseille pas de faire comme lui, c'est une piste, est-ce que le soucis ne vient pas de debug_kit ?

alexyon
Auteur

j'ai formaté mon mac, rien n'y fait. désactivé le debug kit, non +.

What ? Tu as formaté ton Mac pour si peu ?!!!
Le problème vient soit de ton serveur Http (redirection) ou soit de Cake (je pense plus à Cake), je pense que ton OS n'est pas le soucis

alexyon
Auteur

je me suis rendu compte que j'avais un autre projet, qui tourne bien meme en avec debug = false. donc cela doit venir de cake; mais je ne vois pas comment car je télécharge la dernière version et je change juste le debug !!

car je télécharge la dernière version et je change juste le debug !!

Tu installes bien CakePHP avec Composer ?

alexyon
Auteur

j'ai fait les 2; avec composer et en telechargement direct sur Git, en essayant plusieurs versions

CakePHP V3 doit être installé avec Composer.

Installer CakePHP
CakePHP utilise Composer, un outil de gestion de dépendance pour PHP 5.3+, comme la méthode officielle pour l’installation.

Les vois-tu à un seul moment proposer l'installation avec une autre méthode que Composer dans la page concernant l'installation ?
S'ils ne proposent que Composer pour installer CakePHP V3, c'est pour une bonne raison, car il y a par exemple des taches qui s'effectuent automatiquement via Composer (changement des clés de sécurités, chargement de librairies/classes externes et internes à CakePHP, etc ...).
Penses au passage à vérifier que les extensions PHP nécessaires soient bien actives sur ton serveur.

alexyon
Auteur

je viens de telecharger avec composer, j'ai comme dab' des messages d'erreur, je vous les mets car ca vien ptetre de la ...

Warning: This development build of composer is over 30 days old. It is recommended to update it by running "/usr/local/bin/composer self-update" to get the latest version.
The "https://packagist.org/packages.json" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
https://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Installing cakephp/app (3.0.3)
  - Installing cakephp/app (3.0.3)
    Loading from cache

Created project in cake_test
Loading composer repositories with package information
The "https://packagist.org/packages.json" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
https://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Installing dependencies (including require-dev)
  - Installing aura/installer-default (1.0.0)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download aura/installer-default from dist: The "https://api.github.com/repos/auraphp/installer-default/zipball/52f8de3670cc1ef45a916f40f732937436d028c8" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing aura/installer-default (1.0.0)
    Cloning 52f8de3670cc1ef45a916f40f732937436d028c8

  - Installing cakephp/plugin-installer (0.0.12)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download cakephp/plugin-installer from dist: The "https://api.github.com/repos/cakephp/plugin-installer/zipball/8a71f10fcc455b8b9756529433d5f0fd818b0ce1" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing cakephp/plugin-installer (0.0.12)
    Cloning 8a71f10fcc455b8b9756529433d5f0fd818b0ce1

  - Installing psr/log (1.0.0)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download psr/log from dist: The "https://api.github.com/repos/php-fig/log/zipball/fe0936ee26643249e916849d48e3a51d5f5e278b" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing psr/log (1.0.0)
    Cloning fe0936ee26643249e916849d48e3a51d5f5e278b

  - Installing nesbot/carbon (1.13.0)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download nesbot/carbon from dist: The "https://api.github.com/repos/briannesbitt/Carbon/zipball/5cb6e71055f7b0b57956b73d324cc4de31278f42" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing nesbot/carbon (1.13.0)
    Cloning 5cb6e71055f7b0b57956b73d324cc4de31278f42

  - Installing mobiledetect/mobiledetectlib (2.8.15)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download mobiledetect/mobiledetectlib from dist: The "https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/6495567afe1486353bec82d6b2de6f98553d60a5" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing mobiledetect/mobiledetectlib (2.8.15)
    Cloning 6495567afe1486353bec82d6b2de6f98553d60a5

  - Installing aura/intl (1.1.1)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download aura/intl from dist: The "https://api.github.com/repos/auraphp/Aura.Intl/zipball/c5fe620167550ad6fa77dd3570fba2efc77a2a21" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing aura/intl (1.1.1)
    Cloning c5fe620167550ad6fa77dd3570fba2efc77a2a21

  - Installing ircmaxell/password-compat (v1.0.4)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download ircmaxell/password-compat from dist: The "https://api.github.com/repos/ircmaxell/password_compat/zipball/5c5cde8822a69545767f7c7f3058cb15ff84614c" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing ircmaxell/password-compat (v1.0.4)
    Cloning 5c5cde8822a69545767f7c7f3058cb15ff84614c

  - Installing cakephp/cakephp (3.0.8)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download cakephp/cakephp from dist: The "https://api.github.com/repos/cakephp/cakephp/zipball/29ca3d120c25d554ad5143adffdab0f76bc6c9b9" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing cakephp/cakephp (3.0.8)
    Cloning 29ca3d120c25d554ad5143adffdab0f76bc6c9b9

  - Installing symfony/yaml (v2.7.1)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download symfony/yaml from dist: The "https://api.github.com/repos/symfony/Yaml/zipball/9808e75c609a14f6db02f70fccf4ca4aab53c160" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing symfony/yaml (v2.7.1)
    Cloning 9808e75c609a14f6db02f70fccf4ca4aab53c160

  - Installing symfony/filesystem (v2.7.1)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download symfony/filesystem from dist: The "https://api.github.com/repos/symfony/Filesystem/zipball/a0d43eb3e17d4f4c6990289805a488a0482a07f3" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing symfony/filesystem (v2.7.1)
    Cloning a0d43eb3e17d4f4c6990289805a488a0482a07f3

  - Installing symfony/config (v2.7.1)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download symfony/config from dist: The "https://api.github.com/repos/symfony/Config/zipball/58ded81f1f582a87c528ef3dae9a859f78b5f374" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing symfony/config (v2.7.1)
    Cloning 58ded81f1f582a87c528ef3dae9a859f78b5f374

  - Installing symfony/console (v2.7.1)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download symfony/console from dist: The "https://api.github.com/repos/symfony/Console/zipball/564398bc1f33faf92fc2ec86859983d30eb81806" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing symfony/console (v2.7.1)
    Cloning 564398bc1f33faf92fc2ec86859983d30eb81806

  - Installing robmorgan/phinx (v0.4.4)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download robmorgan/phinx from dist: The "https://api.github.com/repos/robmorgan/phinx/zipball/b4b7d1e045d679278d4cb9ab18fd513f15f4797e" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing robmorgan/phinx (v0.4.4)
    Cloning b4b7d1e045d679278d4cb9ab18fd513f15f4797e

  - Installing cakephp/migrations (1.1.4)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download cakephp/migrations from dist: The "https://api.github.com/repos/cakephp/migrations/zipball/3342ab6714d02dcec5e443b59fde0cfc6959debd" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing cakephp/migrations (1.1.4)
    Cloning 3342ab6714d02dcec5e443b59fde0cfc6959debd

  - Installing jakub-onderka/php-console-color (0.1)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download jakub-onderka/php-console-color from dist: The "https://api.github.com/repos/JakubOnderka/PHP-Console-Color/zipball/e0b393dacf7703fc36a4efc3df1435485197e6c1" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing jakub-onderka/php-console-color (0.1)
    Cloning e0b393dacf7703fc36a4efc3df1435485197e6c1

  - Installing jakub-onderka/php-console-highlighter (v0.3.2)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download jakub-onderka/php-console-highlighter from dist: The "https://api.github.com/repos/JakubOnderka/PHP-Console-Highlighter/zipball/7daa75df45242c8d5b75a22c00a201e7954e4fb5" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing jakub-onderka/php-console-highlighter (v0.3.2)
    Cloning 7daa75df45242c8d5b75a22c00a201e7954e4fb5

  - Installing dnoegel/php-xdg-base-dir (0.1)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download dnoegel/php-xdg-base-dir from dist: The "https://api.github.com/repos/dnoegel/php-xdg-base-dir/zipball/265b8593498b997dc2d31e75b89f053b5cc9621a" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing dnoegel/php-xdg-base-dir (0.1)
    Cloning 265b8593498b997dc2d31e75b89f053b5cc9621a

  - Installing nikic/php-parser (v1.3.0)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download nikic/php-parser from dist: The "https://api.github.com/repos/nikic/PHP-Parser/zipball/dff239267fd1befa1cd40430c9ed12591aa720ca" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing nikic/php-parser (v1.3.0)
    Cloning dff239267fd1befa1cd40430c9ed12591aa720ca

  - Installing symfony/var-dumper (v2.7.1)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download symfony/var-dumper from dist: The "https://api.github.com/repos/symfony/var-dumper/zipball/c509921f260353bf07b257f84017777c8b0aa4bc" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing symfony/var-dumper (v2.7.1)
    Cloning c509921f260353bf07b257f84017777c8b0aa4bc

  - Installing psy/psysh (v0.5.1)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download psy/psysh from dist: The "https://api.github.com/repos/bobthecow/psysh/zipball/e5a46a767928e85f1f47dda654beda8c680ddd94" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing psy/psysh (v0.5.1)
    Cloning e5a46a767928e85f1f47dda654beda8c680ddd94

  - Installing cakephp/debug_kit (3.1.7)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download cakephp/debug_kit from dist: The "https://api.github.com/repos/cakephp/debug_kit/zipball/669118b9530927235e039d15fec34baf8a7ce756" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing cakephp/debug_kit (3.1.7)
    Cloning 669118b9530927235e039d15fec34baf8a7ce756

  - Installing cakephp/bake (1.0.10)
    Downloading: 100%         
    Downloading: 100%         
    Downloading: 100%         
    Failed to download cakephp/bake from dist: The "https://api.github.com/repos/cakephp/bake/zipball/dc76b9c768ed1003ecea4d4c53f392da3464868c" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing cakephp/bake (1.0.10)
    Cloning dc76b9c768ed1003ecea4d4c53f392da3464868c

symfony/console suggests installing symfony/event-dispatcher ()
symfony/console suggests installing symfony/process ()
symfony/var-dumper suggests installing ext-symfony_debug ()
psy/psysh suggests installing ext-readline (Enables support for arrow-key history navigation, and showing and manipulating command history.)
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
cakephp/debug_kit suggests installing ext-sqlite (DebugKit needs to store panel data in a database. SQLite is simple and easy to use.)
Writing lock file
Generating autoload files
Created `config/app.php` file
Set Folder Permissions ? (Default to Y) [Y,n]? y
Permissions set on /Users/alexisyon/cake_test/tmp/cache
Permissions set on /Users/alexyon/cake_test/tmp/cache/models
Permissions set on /Users/alexyon/cake_test/tmp/cache/persistent
Permissions set on /Users/alexyon/cake_test/tmp/cache/views
Permissions set on /Users/alexyon/cake_test/tmp/sessions
Permissions set on /Users/alexyon/cake_test/tmp/tests
Permissions set on /Users/alexyon/cake_test/tmp
Permissions set on /Users/alexyon/cake_test/logs
Updated Security.salt value in config/app.php

Et bien visiblement, tu as déjà deux soucis, ta version de composer a plus de 30 jours et tu as soucis de certificat ssl à cause de crypto (?), bon perso je connais mal Windows et je connais pas ta configuration, je ne peux pas t'aider plus :/
Mets à jour Composer, ça sera déjà un pas en avant

alexyon
Auteur

je suis sur Mac yosemite
impossible de se défaire de ce message (pour updater composer)

[Composer\Downloader\TransportException]                                     
  The "https://getcomposer.org/version" file could not be downloaded: SSL ope  
  ration failed with code 1. OpenSSL Error messages:                           
  error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify   
  failed                                                                       
  Failed to enable crypto                                                      
  failed to open stream: operation failed    

je continue de chercher

alexyon
Auteur

cette fois l'installation ne pose aucun prb, mais j'ai toujours l'erreur quand je debug à false

Installing cakephp/app (3.0.3)
  - Installing cakephp/app (3.0.3)
    Loading from cache

Created project in [app_name]
Loading composer repositories with package information
Installing dependencies (including require-dev)
  - Installing aura/installer-default (1.0.0)
    Downloading: 100%         

  - Installing cakephp/plugin-installer (0.0.12)
    Downloading: 100%         

  - Installing psr/log (1.0.0)
    Downloading: 100%         

  - Installing nesbot/carbon (1.13.0)
    Downloading: 100%         

  - Installing mobiledetect/mobiledetectlib (2.8.15)
    Downloading: 100%         

  - Installing aura/intl (1.1.1)
    Downloading: 100%         

  - Installing ircmaxell/password-compat (v1.0.4)
    Downloading: 100%         

  - Installing cakephp/cakephp (3.0.8)
    Downloading: 100%         

  - Installing symfony/yaml (v2.7.1)
    Downloading: 100%         

  - Installing symfony/filesystem (v2.7.1)
    Downloading: 100%         

  - Installing symfony/config (v2.7.1)
    Downloading: 100%         

  - Installing symfony/console (v2.7.1)
    Downloading: 100%         

  - Installing robmorgan/phinx (v0.4.4)
    Downloading: 100%         

  - Installing cakephp/migrations (1.1.4)
    Downloading: 100%         

  - Installing jakub-onderka/php-console-color (0.1)
    Downloading: 100%         

  - Installing jakub-onderka/php-console-highlighter (v0.3.2)
    Downloading: 100%         

  - Installing dnoegel/php-xdg-base-dir (0.1)
    Downloading: 100%         

  - Installing nikic/php-parser (v1.3.0)
    Downloading: 100%         

  - Installing symfony/var-dumper (v2.7.1)
    Downloading: 100%         

  - Installing psy/psysh (v0.5.1)
    Downloading: 100%         

  - Installing cakephp/debug_kit (3.1.7)
    Downloading: 100%         

  - Installing cakephp/bake (1.0.10)
    Downloading: 100%         

symfony/console suggests installing symfony/event-dispatcher ()
symfony/console suggests installing symfony/process ()
symfony/var-dumper suggests installing ext-symfony_debug ()
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
cakephp/debug_kit suggests installing ext-sqlite (DebugKit needs to store panel data in a database. SQLite is simple and easy to use.)
Writing lock file
Generating autoload files
> Cake\Composer\Installer\PluginInstaller::postAutoloadDump
> App\Console\Installer::postInstall
Created `config/app.php` file
Set Folder Permissions ? (Default to Y) [Y,n]? Y
Permissions set on /Users/alexyon/Sites/[app_name]/tmp/cache
Permissions set on /Users/alexyon/Sites/[app_name]/tmp/cache/models
Permissions set on /Users/alexyon/Sites/[app_name]/tmp/cache/persistent
Permissions set on /Users/alexyon/Sites/[app_name]/tmp/cache/views
Permissions set on /Users/alexyon/Sites/[app_name]/tmp/sessions
Permissions set on /Users/alexyon/Sites/[app_name]/tmp/tests
Permissions set on /Users/alexyon/Sites/[app_name]/tmp
Permissions set on /Users/alexyon/Sites/[app_name]/logs
Updated Security.salt value in config/app.php

je pense que c'est une question de routes ou htaccess ...