User login

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.

Resolution

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

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.