MageHack / modman-magefiles

0 stars 2 forks source link

whats wrong with my syntax? #2

Open ZenMasta opened 9 years ago

ZenMasta commented 9 years ago

user@ec1:~/html/shell$ php -f modman_files.php -- --Bytes_ImageCheck=Mage_Catalog --prefix="app/code/local" Option [module_name] is required

What am I doing wrong>

toluolubajo commented 9 years ago

use php -f modman_files.php -- --module_name=Bytes_ImageCheck --prefix="your_custom_dir"

ZenMasta commented 9 years ago

What is the custom dir is that where they are normally intsalled in magento or where I want it copied to (ie .modman)

user@ec1:~/html/shell$ php -f modman_files.php -- --module_name=Bytes_ImageCheck --prefix="app/code/local" PHP Fatal error: Uncaught exception 'Mage_Core_Exception' in /home/user/html/app/Mage.php:595 Stack trace:

0 /home/user/html/.modman/modman-magefiles-master/lib/generator.php(119): Mage::throwException(false, '/home/user...')

1 /home/user/html/.modman/modman-magefiles-master/modman_files.php(185): MageHack_Shell_Modman_Generator->setDesignConfigXmlFile('imagecheck.xml')

2 /home/user/html/.modman/modman-magefiles-master/modman_files.php(60): MageHack_Shell_Modman_Files->_getAllFiles('Bytes_ImageChec...')

3 /home/user/html/.modman/modman-magefiles-master/modman_files.php(390): MageHack_Shell_Modman_Files->run()

4 {main}

thrown in /home/user/html/app/Mage.php on line 595