 |
| << | September 2010 | >> |
| Su |
Mo |
Tu |
We |
Th |
Fr |
Sa |
| |
|
|
1 |
2 |
3 |
4 |
| 5 |
6 |
7 |
8 |
9 |
10 |
11 |
| 12 |
13 |
14 |
15 |
16 |
17 |
18 |
| 19 |
20 |
21 |
22 |
23 |
24 |
25 |
| 26 |
27 |
28 |
29 |
30 |
|
|
|
|
|
 |
 |
|
| Goto page Previous 1, 2, 3, 4, 5, 6 Next |
libregeek Post subject: Re: Conflict with PHP 5.2.0
|
Sat Nov 18, 2006 11:37 am Posts: 96 Location: Kerala, India
|
| |
|
I too got an error when I upgrade to php-5.2. The error is:
Fatal error: Cannot redeclare class DateTime in /home/www/html/vrm/modules/Calendar/Date.php on line 13
Does the vtiger community have any plan include the patch with the next release? However I'm reporting a bug in the bug tracker system too.
|
|
|
|
|
 |
bugugly Post subject: Re: Conflict with PHP 5.2.0
|
Mon Nov 20, 2006 12:59 pm Posts: 53
|
| |
|
| Have you checked the value of php output_buffering? Mine is set to 4096 and works. The errors you posted look more like an output buffering problem.
|
|
|
|
libregeek Post subject: Re: Conflict with PHP 5.2.0
|
Mon Nov 20, 2006 1:04 pm Posts: 96 Location: Kerala, India
|
| |
|
bugugly:
You mean this error is related with output_buffering:
Fatal error: Cannot redeclare class DateTime in /home/www/html/vrm/modules/Calendar/Date.php on line 13
?? _________________ Manilal K M,
eJyothi Services.
http://www.ejyothi.com
http://libregeek.blogspot.com
|
|
|
|
bugugly Post subject: Re: Conflict with PHP 5.2.0
|
Mon Nov 20, 2006 1:17 pm Posts: 53
|
| |
|
My apologies, I was trying to reply to the johnvoisey post which was at the top of my forum page view. The johnvoisey post looked like an output buffering problem.
To fix the DateTime I did this which worked:
In /modules/Calendar/Date.php
--change "class DateTime" to "class com_vtiger_DateTime"
--Then search and replace "new DateTime with "new com_vtiger_DateTime", about a dozen places in Date.php
In /modules/Calendar/Appointment.php --same search and replace, two occurrences.
In /include/utils/RecurringType.php -- search and replace several times
|
|
|
|
libregeek Post subject: Re: Conflict with PHP 5.2.0
|
Mon Nov 20, 2006 1:20 pm Posts: 96 Location: Kerala, India
|
|
|
|
|
indigoleopard Post subject: Re: Conflict with PHP 5.2.0 Senior Member
|
Tue Nov 21, 2006 8:13 am Posts: 2111 Location: india,chennai
|
| |
|
Hi Mani!
It will take sometime as we have not yet tested in 5.2.
Kindly do not expect it in the near future from us. It will be great if someone contributes it or rather tests the entire product in 5.2 and then, we can give out the future releases with that version.
Richie _________________ Between stimulus and response, there is a space. And the space is filled with our choice.
Team vtiger
|
|
|
|
emdee Post subject: Re: Conflict with PHP 5.2.0
|
Thu Nov 23, 2006 1:48 am Posts: 16
|
| |
|
| bugugly wrote: | My apologies, I was trying to reply to the johnvoisey post which was at the top of my forum page view. The johnvoisey post looked like an output buffering problem.
To fix the DateTime I did this which worked:
In /modules/Calendar/Date.php
--change "class DateTime" to "class com_vtiger_DateTime"
--Then search and replace "new DateTime with "new com_vtiger_DateTime", about a dozen places in Date.php
In /modules/Calendar/Appointment.php --same search and replace, two occurrences.
In /include/utils/RecurringType.php -- search and replace several times |
Just to confirm, this fix does work for PHP 5.2. Its not hard to apply, takes 5 minutes.
|
|
|
|
| |