AbanteCart Community

Shopping Cart Operations => Support => Topic started by: denagpam on February 06, 2013, 02:05:23 PM

Title: I get fatal error when editting procuct
Post by: denagpam on February 06, 2013, 02:05:23 PM
Dear admin,

I get fatal error when editting product as follows:

Fatal error: Call to undefined method DateTime::createFromFormat() in /home/goolysma/public_html/core/helper/utils.php on line 302

I hope you can help me fix this bug.

Thanks.
Title: Re: I get fatal error when editting procuct
Post by: Basara on February 06, 2013, 07:12:15 PM
hello.

Please provide error log details (Admin-System-Error Log) and version of your AbanteCart.
Title: Re: I get fatal error when editting procuct
Post by: denagpam on February 06, 2013, 07:22:25 PM
Quote from: Basara on February 06, 2013, 07:12:15 PM
hello.

Please provide error log details (Admin-System-Error Log) and version of your AbanteCart.

Yes, this is the error log I have got from admin panel.

2013-02-06 14:40:31 - error:  AbanteCart core v.1.1.3 Call to undefined method DateTime::createFromFormat() in <b>/home/goolysma/public_html/core/helper/utils.php</b> on line <b>302</b>
2013-02-06 14:40:32 - error:  AbanteCart core v.1.1.3 Call to undefined method DateTime::createFromFormat() in <b>/home/goolysma/public_html/core/helper/utils.php</b> on line <b>302</b>
2013-02-06 14:40:33 - error:  AbanteCart core v.1.1.3 Call to undefined method DateTime::createFromFormat() in <b>/home/goolysma/public_html/core/helper/utils.php</b> on line <b>302</b>
2013-02-06 14:40:57 - error:  AbanteCart core v.1.1.3 Call to undefined method DateTime::createFromFormat() in <b>/home/goolysma/public_html/core/helper/utils.php</b> on line <b>302</b>
2013-02-06 14:41:08 - error:  AbanteCart core v.1.1.3 Call to undefined method DateTime::createFromFormat() in <b>/home/goolysma/public_html/core/helper/utils.php</b> on line <b>302</b>
2013-02-06 14:47:14 - error:  AbanteCart core v.1.1.3 Call to undefined method DateTime::createFromFormat() in <b>/home/goolysma/public_html/core/helper/utils.php</b> on line <b>302</b>
2013-02-07 0:56:08 - error:  AbanteCart core v.1.1.3 Call to undefined method DateTime::createFromFormat() in <b>/home/goolysma/public_html/core/helper/utils.php</b> on line <b>302</b>

And you know that I use abantecart version 1.1.3.

Hope for your help.

Thanks.
Title: Re: I get fatal error when editting procuct
Post by: abolabo on February 06, 2013, 10:28:26 PM
replace file core/helper/utils.php by this https://github.com/abantecart/abantecart-src/blob/1.1.4/public_html/core/helper/utils.php