Posts Tagged ‘Magento no date part’

Magento Admin Password | Magento No Date Part Found

Monday, December 9th, 2013

So, if you have one of the above issues, it is related to the way in which Mage is trying to process a preg_match_all,. the flag they are using is incorrect.

So, if you want your magento store to stop giving the “No date part in ‘xxxx-xx-xx xx:xx:xx'” error, then do the following,.

Open /lib/Zend/Locale/Format.php and change the line
preg_match_all(‘/\d+/u’, $number, $splitted);
to
preg_match_all(‘/\d+/’, $number, $splitted);

And all should be fixed,.