Download & Extend

Undefined function token_get_all

Project:Drupal core
Version:7.x-dev
Component:install system
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

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.

#2

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

#3

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

#4

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

#5

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

#6

Category:bug report» support request

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

#7

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

#8

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

- Arie

#9

Status:active» fixed

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

#10

Status:fixed» closed (fixed)

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

#11

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

nobody click here