Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
oil create blog :(
  • oil create blog in terminal
    /usr/bin/oil: line 37:  1209 Segmentation fault: 11  git clone --recursive git://github.com/fuel/fuel.git "./$2"
    /usr/bin/oil: line 19: cd: ./blog: No such file or directory
    /usr/bin/oil: line 37:  1216 Segmentation fault: 11  git checkout $branch
    /usr/bin/oil: line 37:  1217 Segmentation fault: 11  git submodule foreach git checkout $branch
    Could not open input file: composer.phar
    Could not open input file: composer.phar
    Could not open input file: ./blog/oil
    --------------------------------------
    What do I do?

  • HarroHarro
    Accepted Answer
    Not a Fuel or a PHP issue.

    A segmentation fault is a problem in a binary, in this case it looks like the git binary. So you need to sort that out.
  • ok -
    when (git clone https://github.com/bobthecow/mustache.php.git fuel/app/vendor/Mustach)
    Illegal instruction: 4


  • HarroHarro
    Accepted Answer
    There seems to be an issue with your git binary. Perhaps re-install it?
  • I use mac os x lion v10.7.2
    and I do Update the system to v10.7.2
    ------------------------
    so
    i processor is intel
    Can you tell me which version is more appropriate?

  • HarroHarro
    Accepted Answer
    I don't do Apple, so I don't know how it works.

    But a segmentation fault means the code tries to access memory that doesn't belong to it. Which is either a bug in the the binary (which you could solve by trying a newer or older version of git) or it's an error introduced at compile time, for example by linking the wrong libraries.

    If you don't compile yourself, waiting until it's fixed or finding a different version is the only option.
  • ok - Thank you
    How can I use fuelPHP on Windows os?

    (Terminal commands)
  • HarroHarro
    Accepted Answer
    I don't do Windows either... ;-)

    You need the php.exe in your path, see for example http://stackoverflow.com/questions/12870880/run-php-file-in-windows-cmd.

    Alternatively you could create an oil.cmd file, which does something like

    c:\your\path\here\php.exe oil %*

    after which you could do something like

    oil help
  • Biiiiiiiiiiiiiiiiig Thanks
    You are pretty awesome :*


    Certainly you are use a Linux OS, right? ;)
  • HarroHarro
    Accepted Answer
    Guessed correctly the first time... :-)
  • ha - Hip Hip Hooray :D

Howdy, Stranger!

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

In this Discussion