Installing CRM at SIEMENS Bangladesh corporate office was my last task in AC (Alliance Creation) after preparing it . Everything was fine after 2 times try at SIEMENS office to make the software feasible for their environment with windows 2003, IIS, PHP, MySQL.
But I was sucked when I got the error “Fatal error: Cannot redeclare class DateTime”. This is a basic class of sugar to manager calendar, Schedule etc. But the software was running fine in my office both in APACHE and IIS. Grrrrrrr.. I remove my hand from keyboard and was thinking what to do. First I tried to block my PEAR library but got same result. Then we took a break to our office and said them we were returning after half an hour.
At office I installed my XAMPP and try to run again the software on LAMP platform. Ohh shit getting the same error but in WAMP it is running fine. After tow hour of try I got a simple solution from sugar forum. That I have to rename all “DateTime” class. Then simply I remanded it to “DateTiems”
The changes affected the following 5 files,
modules\Calendar\DateTime.php
modules\Calendar\Calendar.php
modules\Calls\Call.php
modules\Meetings\Meeting.php
modules\vCals\vCal.php
Then we ran to SIMENS office again and replace all files.
So Buddies not to give up solution is not too far if we keep trying.
Mentors Award Q3 2008
Top Website Coder