Right after filling in all the database settings and clicking submit, I get a progress bar and then this error:

An error occurred.
http://192.168.1.103/drupal/install.php?locale=en&profile=default&id=1&op=do

Fatal error: Call to undefined function token_get_all() in /var/www/localhost/htdocs/drupal/includes/registry.inc on line 153

I tried to click on the link to go to the error page and was greeted with this:

Fatal error: Call to undefined function _user_password_dynamic_validation() in /var/www/localhost/htdocs/drupal/install.php on line 727 


OS: Gentoo Linux
PHP: 5.2.8
DB: PostgreSQL 8.0.15
Drupal: 7.x

Comments

asimmonds’s picture

Status: Active » Postponed (maintainer needs more info)

It's caused by not having the php tokenizer extension enabled on your system. As you run Gentoo, I think it's disabled by default and you will need to set the "tokenizer" use flag and re-emerge.

devtrash’s picture

Cool, thanks. I enabled al the 'obvious' USE flags when I emerged. I'll try this and report back.

devtrash’s picture

Status: Postponed (maintainer needs more info) » Active

After re-emerging I now get this:

Fatal error: Call to undefined function _user_password_dynamic_validation() in /var/www/localhost/htdocs/drupal/install.php on line 727 
asimmonds’s picture

Did you wipe your database, and start from scratch? The previous failed install would have left the database in a incomplete state.

devtrash’s picture

Wiped the database and started fresh. And I get At the Install Profile step. :

An error occurred.
http://192.168.1.103/drupal/install.php?locale=en&profile=default&id=1&op=do

Fatal error: Call to undefined function token_get_all() in /var/www/localhost/htdocs/drupal/includes/registry.inc on line 153
Damien Tournoud’s picture

Category: bug » support

Apparently your installation still use the --disable-tokenizer option.

devtrash’s picture

That's so odd. equery uses php shows tokenizer selected. However when I do a simple phpinfo, it shows the --disable-tokenizer option.

ainigma32’s picture

Might be very obvious but ... have you restarted Apache since re emerging php?

- Arie

devtrash’s picture

Status: Active » Fixed

That was it. restarting apache ( I thought I had but I guess I didn't.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

cburschka’s picture

Follow-up patch for system_requirements in #445062: system_requirements should check for tokenizer extension.