Closed (fixed)
Project:
Views Bulk Operations (VBO)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 May 2009 at 12:10 UTC
Updated:
15 May 2009 at 23:40 UTC
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
Comment #1
kenorb commentedSolution:
Deleted private key before function names:
Comment #2
infojunkieYou 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!
Comment #3
kenorb commentedYou can add following line:
php = 5.0
in .info file.
Then user will be warned before it will cause WSOD on PHP4 based server.
Comment #4
infojunkieFixed. Thanks!