Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Zend Framework
 
Hadifarnoud
Sr. Member
 
Total Posts:  210
Joined:  2007-10-07
Guildford, Surrey, UK
 

in /lib/zend/version.php

const VERSION = ‘1.0.0’;

but latest zend framework is 1.0.2

http://framework.zend.com/download/

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Zend Framework in Magento is SVN External from their trunk, so it’s latest.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Hadifarnoud
Sr. Member
 
Total Posts:  210
Joined:  2007-10-07
Guildford, Surrey, UK
 

i downloaded zend framework 1.0.2 and copied zend folder into magento zend folder but i got this error:
Fatal error: Access to undeclared static property: Zend_Locale_Data::$cache in D:\xampp\htdocs\magento_new\lib\Zend\Locale\Data.php on line 776

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Sounds like in your Zend/Locale/Data.php file on line 776 instead of

self::$_cache $cache;
there’s
self::$cache $cache;
Which i’m not sure how could happen, because i can’t trace in their svn logs recent change in this line.
 
Magento Community Magento Community
Magento Community
Magento Community
 
Hadifarnoud
Sr. Member
 
Total Posts:  210
Joined:  2007-10-07
Guildford, Surrey, UK
 

thanks moshe, i really want to use persian(jalali or solar) calendar in magento so i updated but there is no Jalali calendar support :(

but i found these:
i saw some docs here : http://framework.zend.com/wiki/display/ZFPROP/Zend_Calendar+-+Thomas+Weidner
seems Zend supports persian calendar, isn’t it? how can i use that?

in use cases ( http://framework.zend.com/wiki/display/ZFPROP/Zend_Calendar+-+Thomas+Weidner#Zend_Calendar-ThomasWeidner-usecases ) i saw arabic calendar example:
$cal = Zend_Calendar(Zend_Calendar::ARABIC); // Without input the actual date is used
$cal->setDate(’1385 Dey 05’);
print $cal->toGregorian();

>> setDate(’1385 Dey 05’); this is persian date! dey is one of persian month name, we write it like دی in persian.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top