[Help] about Autoadmin Generate module Eroor: Module company does not exist...
不好意思,我在 Autoadmin Generate module 出現錯誤訊息: Module company does not exist...
不論如何試與爬文還是無法解決,要煩請大家幫忙
我的環境如下:
- Drupal 6.16
- Drush All-versions-3.0-beta1
- Module Builder 6.x-2.x-dev
- Auto Admin 6.x-1.2
- Schema 6.x-1.7
- Views 6.x-2.8
- PATH=C:\Program Files\AppServ\Apache2.2\bin;C:\Program Files\AppServ\php5;C:\Program Files\AppServ\MySQL\bin;C:\Program Files\GnuWin32\bin;C:\Program Files\drush
- D:\wwwroot\drupal\sites\all\modules 的目錄
2010/03/18 上午 02:09 autoadmin
2010/03/18 上午 09:57 my_module
2010/03/18 上午 02:09 schema
我的安裝與設定過程:
1) from Module Builder Download 6.x-2.x-dev to drupal\modules
1.1) Enable it from administer >> modules.
1.2)Follow examples:
D:\wwwroot\drupal\sites\all\modules>drush mb my_module menu cron nodeapi
ini_set(): A session is active. You cannot change the session [warning]
module's ini settings at this time. settings.php:144
ini_set(): A session is active. You cannot change the session [warning]
module's ini settings at this time. settings.php:147
Proposed my_module.module:
...
Generate ok
D:\wwwroot\drupal\sites\all\modules>drush mb my_module menu cron --write --name=
"My module" --dep="forumviews"
ini_set(): A session is active. You cannot change the session [warning]
module's ini settings at this time. settings.php:144
ini_set(): A session is active. You cannot change the session [warning]
module's ini settings at this time. settings.php:147
Proposed my_module.module:
...
Generate ok
2) autoadmin & schema install
2.1) cd D:\wwwroot\drupal\sites\all\modules
2.2.1) $ drush dl autoadmin schema
2.2.2) $ drush enable autoadmin
2.3) Browse to the administration page and enable the modules. <-- yes, Enable
3) Follow Format of autoadmin.inc Examples:
D:\wwwroot\drupal\sites\all\modules> drush autoadmin generate company department employee --no-output --write --yes
ini_set(): A session is active. You cannot change the session [warning]
module's ini settings at this time. settings.php:144
ini_set(): A session is active. You cannot change the session [warning]
module's ini settings at this time. settings.php:147
drush: Module company does not exist.
Drush command could not be completed. [error]
我試了很多方法,都一直說:
module's ini settings at this time. settings.php:147
drush: Module company does not exist.
Drush command could not be completed. [error]
也一直都找不到解答,由於非常需要 CRUD 工具,來管理自建的資料表與資料,
所以要麻煩各位先進,不吝指導與幫忙,感謝 ^^