Volunteer module crashes out server
Steve Dondley - September 1, 2006 - 14:42
| Project: | volunteer |
| Version: | HEAD |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
With PHP4, I get the following error:
Fatal error: Cannot redeclare array_walk_recphp4() (previously declared in /home/unionsites/public_html/modules/volunteer/volunteer.module:1269) in /home/unionsites/public_html/modules/volunteer/volunteer.module on line 1269
Error occurs when trying to view a node/XX/volunteer page.

#1
I was having a problem that was giving me the same error message. Here is how I fixed mine.
In volunteer.module, I replaced:
with:
I got this stuff from an earlier version of volunteer.module, and my current version was the now-current cvs 1.58. So, I notice that this was a fix for php5, so would guess that my fix will break php5. As such, I'm not going to offer a fix for anything, but I will say that my code revision works for me. I hope this is helpful to the commenter and to the team.