After installation there is error:

Parse error: parse error, unexpected '=', expecting ')' in /views_bulk_operations.module on line 539

My solution is to change:

function _views_bulk_operations_batch_process($operation, $oid, $params, &$context = NULL) {

into:

function _views_bulk_operations_batch_process($operation, $oid, $params, &$context) {

Or other solution is to activate PHP5 requirements in .info file.

Comments

kenorb’s picture

Title: Not compatible with PHP4 » Module Not compatible with PHP4
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in views_bulk_operations/views_bulk_operations_plugin_style.inc on line 110

Solution:
Deleted private key before function names:

  private function get_operations_options() {
  private function populate_operations(&$options) {
  private function get_custom_actions() {
infojunkie’s picture

Category: bug » support
Status: Active » Closed (won't fix)

You are welcome to document here all the changes needed to make VBO PHP 4-friendly. However, I don't intend to incorporate these changes in the code because I can't maintain backward-compatibility. Thanks!

kenorb’s picture

Status: Closed (won't fix) » Needs work

You can add following line:
php = 5.0
in .info file.
Then user will be warned before it will cause WSOD on PHP4 based server.

infojunkie’s picture

Status: Needs work » Fixed

Fixed. Thanks!

Status: Fixed » Closed (fixed)

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