Hi

I am trying to install a workflow module. I am able to install all other components except workflow access that seems to timeout with the following message.
Fatal error: Maximum execution time of 240 seconds exceeded in /var/www/test/includes/database.mysql.inc on line 155
The database has about 25000 records for a CCK created content type.

I have set the max_execution_time in php.ini to 0 but still get the same error.

Any input will be highly appreciated.
Thanks in advance!

Comments

avpaderno’s picture

Title: timeout when trying to install workflow access » PHP timeout when installing workflow access
robertdouglass’s picture

Yes, this system is as good as useless for any big sites. I don't think workflow is to blame here, though. I think the node module has its own mechanism for detecting when the access table needs to be rebuilt and it manages the batch mode, node-by-node update of the table. It's a stupid system. You can do the initial population of the access table with one SQL query. Don't know how to solve this one gracefully, in the "Drupal way".

Bastlynn’s picture

Status: Active » Closed (won't fix)

Hi,

With the release of Drupal 7, Drupal 5 is no longer receiving security updates, reviews, or development from many contributed modules. Since 5 is now considered a depreciated version, you really should seriously look into upgrading to Drupal 6 or 7. The newer versions of Drupal work better, have more support, and will be safer (literally! security patches!) for your website. We are currently working on a new release for Workflow to Drupal 7. In light of that, further support for Drupal 5 issues is infeasible at the moment. Please consider upgrading to Drupal 6 or 7 in the near future - you'll be glad you did.

- Bastlynn