Setting up a new Drupal site on Agaric, multiple module directory trouble
Setting up a new site into Agaric's system.
Some standard new site stuff
ben@server:/var/www/drupal-5_3-live/profiles$ sudo svn co file:///srv/svn/agaric/agaric-profiles/agaric_recipes agaric_recipes
[and a bunch of similar checkouts I failed to record]
[Including for the site itself into the sites/ directory]
Note: the agaric installation profile hit an error on a call to a token module function, but seemed to do everything anyway.
The token error did stop the admin account from letting me change the password while logging in though.
Resending the password worked, not sure if it let me save the changes though 'cause I got this again:
Fatal error: Call to undefined function token_get_values() in /var/www/drupal-5_3-live/modules/contributed/pathauto-5.x-2.0-beta3.tar/pathauto/pathauto.inc on line 326
Yup, my installation profile allowed this to happen:
[X] Pathauto 5.x-2.0-beta3 Provides a mechanism for modules to automatically generate aliases for the content they manage.
Depends on: Path (enabled), Token (disabled)
Enabled a module without its requirements being enabled!
But I'm not allowed to enable it on the admin/build/modules page?
Oh, that's stupid. Drupal must disable the checkbox when it's in use by a required module, ASSUMING that it "must" be enabled.
Drupal didn't count on Agaric ingenuity.
And I get this:
Fatal error: Cannot redeclare token_install() (previously declared in /var/www/drupal-5_3-live/modules/contributed/token-5.x-1.8.tar/token/token.install:5) in /var/www/drupal-5_3-live/sites/all/modules/token/token.install on line 6
Hmmm.
Can get back to the modules page at least.
Disable Pathauto.
Same error on submitting modules page.
It saved the change though.
Fatal error: Cannot redeclare faq_install() (previously declared in /var/www/drupal-5_3-live/modules/contributed/faq-5.x-2.4/faq/faq.install:9) in /var/www/drupal-5_3-live/sites/all/modules/faq/faq.install on line 36
Damn! How come this was working over at WSF?
That one did prevent the install of FAQ, naturally.
ben@server:/var/www/drupal-5_3-live/modules/contributed$ sudo svn delete faq-5.x-2.4/
ben@server:/var/www/drupal-5_3-live/modules/contributed$ sudo svn commit -m "no more contrib faq, it's in modules-all now"
Deleting faq-5.x-2.4
took care of that, since I'm pretty sure WSF is already using the right one and it's the only one using FAQ. OK maybe Agaric, we'll watch out for that.
And a temporary fix for token:
ben@server:/var/www/drupal-5_3-live/sites/all/modules$ sudo rm -r token-5.x-1.8.tar/
The site's there, but Drush is not. Fascinating. Silently fails.
ben@server:/var/www/drupal-5_3-live/sites/all/modules$ sudo php drush/drush.php -l http://mdd.openzuka.net pm install simplefeed
Whatever.
Comments
Admiring the time and effort
Admiring the time and effort you put into your blog and detailed information you offer! I will bookmark your blog and have my children check up here often. Thumbs up!
Oes Tsetnoc FAQ that being posted by oes tsetnoc own phreakaholic.
Post new comment