Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
oil create doesn't clone recursively
  • Hi,

    I just installed oil bash script on a new dedicated server. When I run my command "oil create myproject", the main FuelPHP branch is downloaded, but none of the submodules seem to be downloaded. So fuel/core is missing and oil generate an error...

    Here is the message error:

    Clonage dans './myproject'...
    remote: Counting objects: 15222, done.
    remote: Total 15222 (delta 0), reused 0 (delta 0)
    Réception d'objets: 100% (15222/15222), 5.11 MiB | 2.94 MiB/s, fait.
    Résolution des deltas: 100% (6112/6112), fait.
    Vérification de la connectivité... fait.
    Déjà sur '1.7/master'
    Votre branche est à jour avec 'origin/1.7/master'.

    PHP Warning: require(/classes/autoloader.php): failed to open stream: No such file or directory in /home/xxxx/www/myproject/oil on line 52

    Fatal error: require(): Failed opening required '/classes/autoloader.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/xxxx/www/myproject/oil on line 52

  • Ok, i've got a clue: 
    Some settings on your machine make Composer unable to work properly.
  • Ok, my server have suhosin installed.
    I just had suhosin.executor.include.whitelist = phar in suhosin configuration, so composer could work and download submodules.
  • Correct, components are now installed through Composer, we don't do git submodules anymore.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion