asterisk2billing.org
http://forum.asterisk2billing.org/

Fatal error: Class 'DateTime' not found
http://forum.asterisk2billing.org/viewtopic.php?f=22&t=5555
Page 1 of 1

Author:  sajmeri [ Sat May 23, 2009 7:24 pm ]
Post subject:  Fatal error: Class 'DateTime' not found

Hi Guys its looks like a bug, as i am getting it at couple of location. We have just installed 1.4 RC1 yesterday and initial walk through at admin ui found following problem.

At Dashboard
- Fatal error: Class 'DateTime' not found in /var/lib/asterisk/a2billing/admin/Public/modules/customers_lastmonth.php on line 6

At Billing>Customer info
- Fatal error: Class 'DateTime' not found in /var/lib/asterisk/a2billing/admin/Public/A2B_entity_moneysituation.php on line 58

- I also cant edit balance directly in user details. Field is grayed out same as card number.

I have attached some screenshot for quick reference.

Thanks in advance to all of you genius.

Sajmeri

Attachments:
balancedit.JPG
balancedit.JPG [ 156.83 KiB | Viewed 6116 times ]
custbalance.JPG
custbalance.JPG [ 146.27 KiB | Viewed 6067 times ]
dashboard.JPG
dashboard.JPG [ 101.85 KiB | Viewed 6160 times ]

Author:  areski [ Tue May 26, 2009 7:28 pm ]
Post subject:  Re: Fatal error: Class 'DateTime' not found

Check your dependencies, you will need php 5.2.x

Yours,
/Areski

Author:  vinoddestiny [ Wed May 27, 2009 4:00 am ]
Post subject:  Re: Fatal error: Class 'DateTime' not found

It's not a good idea of posting the screenshot with your a2b ip address visible.

Author:  sajmeri [ Wed May 27, 2009 1:17 pm ]
Post subject:  Re: Fatal error: Class 'DateTime' not found

Thanks Vinod, I will keep it mind.

Author:  sajmeri [ Thu May 28, 2009 2:13 am ]
Post subject:  Re: Fatal error: Class 'DateTime' not found

Thanks,

Areski, after updating php 5.2.x its working fine now.

I have one quick question, regarding update on revision.

Is there any script that we run and it automatically update current version to latest revision.In other words it makes our installaion up to date.

Any helpg from any body......

Thanks,
Saurin

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/