Aegir 0.3 Install Failed

Events happening in the community are now at Drupal community events on www.drupal.org.
jacobson's picture

I am trying to install 0.3. I have followed the Debian instructions for my Ubuntu 9.10 system. After completing all the installation steps and pointing my browser to the correct url and choosing the hostmaster install profiles, I get this error:

Fatal error: Call to undefined function db_result() in /var/aegir/drupal-6.16/includes/path.inc  on line 55

Lines 53 through 56 in path.inc are:

     53   // Use $count to avoid looking up paths in subsequent calls if there simply are no aliases
     54   if (!isset($count)) {
     55     $count = db_result(db_query('SELECT COUNT(pid) FROM {url_alias}'));
     56   }

Other posts suggest that this problem can be solved by installing jquery_ui and modalframe, but I have done that installing both to the modules subdirectory using the same DRUSH command as used for installing the hosting module.

Thanks for help in getting past this problem.

HAJ

Comments

When you installed jquery_ui

compsyguy's picture

When you installed jquery_ui did you also download the jquery UI release to the module directory?

From the modules install file:

-- INSTALLATION --

* Copy the jquery_ui module directory to your sites/all/modules directory.

* Download the latest jQuery UI 1.6 release from:

http://code.google.com/p/jquery-ui/downloads/list?can=3&q=1.6

* Extract it as a sub-directory called 'jquery.ui' in the jquery_ui folder:

/sites/all/modules/jquery_ui/jquery.ui/

so the actual jQuery UI JavaScript files are located in:

/sites/all/modules/jquery_ui/jquery.ui/ui/*.js

Right On

jacobson's picture

Thank you for your suggestion. I had installed jquery_ui scripts, but had not done so correctly. Your suggestion caused me to look back at what I did, and I found an error. That solved my problem. Thanks again.

HAJ

0.3 doesn't depend on

mig5's picture

0.3 doesn't depend on jquery_ui at all. You have fallen victim to this unfortunate bug. By following INSTALL.txt and doing a 'drush dl hosting' etc, you have accidentally fetched 0.4alpha3 instead of 0.3. Back then we didn't put specific versions in the INSTALL.txt, and 0.4-alpha3 (the last release we made on drupal.org infrastructure) is being downloaded by default but we can't really go back and fix it now.

You can :

1) blow away the installation and use the 'cvs' commands from the INSTALL.txt where available instead of the 'drush dl' ones for hostmaster, hosting and eldir.

2) forget about the almost obsolete 0.3 release and install 0.4alpha6 per the release notes

I recommend 2)

I Luckily Caught that Bug

jacobson's picture

I actually noticed the downloading of 0.4alpha3 instead of 0.3 and fixed it before I moved on.

My problem was a bad jquery_ui scripts installation, which I fixed.

Thanks.

HAJ

Aegir hosting system

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: