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
2 responses so far ↓
uxqjl arslez // February 2, 2008 at 7:05 am |
gkpercv dilm bwitvclg ycmwurh gzou pavxnc fmzgwq
Woody/mC // March 9, 2009 at 3:38 pm |
[quote]Then we ran to SIMENS office again and replace all files.
[/quote]
(1) The missing first “E” seems to be a common mistake…
))
(2) This is not a problem with the lib you’re using. It seems to be an internal PHP caching problem with no regular occurences as described at http://bugs.php.net/bug.php?id=30075 .
It might be helpful to have some more users pointing out the same problem. This issue is very annoying, especially on productive machines.
Greeetz, Woody/mC