Undefined function token_get_all

devtrash - January 13, 2009 - 03:04
Project:Drupal
Version:7.x-dev
Component:install system
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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

#1

asimmonds - January 13, 2009 - 21:26
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

devtrash - January 14, 2009 - 02:00

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

#3

devtrash - January 15, 2009 - 02:33
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

asimmonds - January 15, 2009 - 05:11

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

#5

devtrash - January 15, 2009 - 22:52

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

Damien Tournoud - January 15, 2009 - 22:55
Category:bug report» support request

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

#7

devtrash - January 17, 2009 - 05:01

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

#8

ainigma32 - January 17, 2009 - 09:11

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

- Arie

#9

devtrash - January 18, 2009 - 23:38
Status:active» fixed

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

#10

System Message - February 1, 2009 - 23:40
Status:fixed» closed

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

#11

Arancaytar - April 26, 2009 - 10:50

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

 
 

Drupal is a registered trademark of Dries Buytaert.