WoW Raid Manager Defect Tracking System
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] << ] >> ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000035 [WoW Raid Manager (WRM)] General Error crash always 2008-08-04 11:05 2008-08-20 15:52
Reporter douglasw View Status public  
Assigned To douglasw
Priority high Resolution fixed  
Status closed   Product Version HEAD
Summary 0000035: Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in includes/functions.php on line 278
Description fter installed raid manager 3.5.0 i have this message :

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /mnt/134/sdc/d/e/avatonne/wrm/includes/functions.php on line 278

--------------

Issue is the PHPv4 vs V5 handling of the foreach($array as &$value). The & in the foreach only seems to be supported in v5 of PHP, and throws an error in v4. There needs to be some code added to handle this.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000049)
douglasw (administrator)
2008-08-05 10:10

Changed to use a 4.x and 5.x compatible version of the pass by reference (removed pass by reference, used array manipulation with a for loop instead). Obtained the code from the php comments area.
(0000077)
douglasw (administrator)
2008-08-20 15:52

Released in v3.5.0 Final

- Issue History
Date Modified Username Field Change
2008-08-04 11:05 douglasw New Issue
2008-08-04 11:05 douglasw Status new => assigned
2008-08-04 11:05 douglasw Assigned To => douglasw
2008-08-05 10:10 douglasw Status assigned => resolved
2008-08-05 10:10 douglasw Fixed in Version => 3.5.0
2008-08-05 10:10 douglasw Resolution open => fixed
2008-08-05 10:10 douglasw Note Added: 0000049
2008-08-20 15:52 douglasw Status resolved => closed
2008-08-20 15:52 douglasw Note Added: 0000077


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker