Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Error: Could not find pakage
  • http://clip2net.com/s/27dn0 - cmd
    \home\fuelphp\fuel\core\config\package.php
    <?php
    
    
    /**
     * NOTICE:
     *
     * If you need to make modifications to the default configuration, copy
     * this file to your app/config folder, and make them in there.
     *
     * This will allow you to upgrade fuel without losing your custom config.
     */
    
    
    return array(
    
     /**
      * sources - The name of the main bootstrap file.
      *
      * Set this to false or remove if you using mod_rewrite.
      */
     'sources' => array(
      'github.com/fuel-packages',
     ),
    
    );
    

    All of the instructions. What am I doing wrong?
  • Looks ok. You don't need the "fuel-" prefix, so it should be "oil package install cart master". It does an fopen to check if the package exists, maybe your PHP installation has stream-wrappers disabled so the fopen fails? If it finds it, it will use git to clone the package locally using the git protocol. No firewall blocking that?
  • Fopen checked, it works. Git works too. Firewall is disabled. Are there any ideas on this?
  • I don't have any, other then debugging the oil Package class. It works fine here:
    [hverton@catwoman] $ oil package install cart
    Downloading package: git://github.com/fuel-packages/fuel-cart.git
    remote: Counting objects: 227, done.
    remote: Compressing objects: 100% (119/119), done.
    remote: Total 227 (delta 99), reused 224 (delta 98)
    Receiving objects: 100% (227/227), 31.70 KiB, done.
    Resolving deltas: 100% (99/99), done.
    
  • Harro Verton wrote on Friday 13th of July 2012:
    I don't have any, other then debugging the oil Package class. It works fine here:
    [hverton@catwoman] $ oil package install cart
    Downloading package: git://github.com/fuel-packages/fuel-cart.git
    remote: Counting objects: 227, done.
    remote: Compressing objects: 100% (119/119), done.
    remote: Total 227 (delta 99), reused 224 (delta 98)
    Receiving objects: 100% (227/227), 31.70 KiB, done.
    Resolving deltas: 100% (99/99), done.
    

    Show me the path to the repository in the config file. Maybe I forgot to do a step?
  • Problem was solved. Need uncomment the line extension = php_openssl.dll in php.ini Thanks for the help.

Howdy, Stranger!

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

In this Discussion