I have same problem, but unfortunately, SA do not agree to upgrade PHP.. Orz :( I add ksort method to Zend_View_Helper_Placeholder_Container_Abstract. It seems to work.
public function ksort()
{
$items = $this->getArrayCopy();
ksort($items);
$this->exchangeArray($items);
}
青青子衿,悠悠我心
2010/6/7 Bart McLeod <[email protected]>
> Thank you all, yes I will ask them to install 5.3
>
> Regards,
>
> Bart McLeod
>
> Op 7-6-2010 14:22, Саша Стаменковић schreef:
>
> Check http://framework.zend.com/manual/en/requirements.introduction.html,
> it says PHP 5.2.4 or later.
>
> Regards,
> Saša Stamenković
>
>
> On Mon, Jun 7, 2010 at 2:13 PM, Nicolas Grevet <[email protected]> wrote:
>
>> See: http://www.php.net/manual/en/arrayobject.ksort.php
>>
>>
>>
>> On 06/07/2010 02:12 PM, Bart McLeod wrote:
>>
>> You may be right, this is on a newly installed vps, where they installed a
>> smaller version then I had asked for. 5.1.6 I think. I will check against
>> 5.3, yes, that seems to work as usual.
>>
>> I will inform the isp, thank you!
>>
>> Bart
>>
>> Op 7-6-2010 12:46, Саша Стаменковић schreef:
>>
>> Looks like you have old version of PHP. Which version are you using?
>>
>> Regards,
>> Saša Stamenković
>>
>>
>> On Mon, Jun 7, 2010 at 12:21 PM, Bart McLeod <[email protected]> wrote:
>>
>>> *Fatal error*: Call to undefined method
>>> Zend_View_Helper_Placeholder_Container::ksort() in *
>>> /var/local/Zend/View/Helper/HeadLink.php* on line *321
>>>
>>> *This reminds me of a similar error I found earlier, I do not remember
>>> the component. It seems some one is trying to sort a placeholder by it's
>>> keys.*
>>> *
>>> This is the latest from svn standard trunk.*
>>> *
>>> I have no backtrace or anything, just this fatal error, do not know what
>>> is causing it.* *I will have to look in the revision log and see if
>>> there is something to revert.
>>>
>>> Anyone else having this error?
>>>
>>> Regards,
>>>
>>> Bart McLeod
>>> *
>>> *
>>> --
>>> Bart McLeod
>>> *Space Web*
>>> Middenlaan 47
>>> 6865 VN Heveadorp
>>> The Netherlands
>>> *t* +31(0)26 3392952
>>> *m* 06 51 51 89 71
>>> *...@* [email protected]
>>> www.spaceweb.nl [image: zce logo][image: zce PHP 5 logo] [image: zce
>>> Zend Framework logo]
>>>
>>> *Bart McLeod is a Zend Certified Engineer.*
>>>
>>> Click to verify! <http://www.zend.com/zce.php?c=ZEND004591&r=218204904>
>>>
>>
>>
>> --
>> Bart McLeod
>> *Space Web*
>> Middenlaan 47
>> 6865 VN Heveadorp
>> The Netherlands
>> *t* +31(0)26 3392952
>> *m* 06 51 51 89 71
>> *...@* [email protected]
>> www.spaceweb.nl [image: zce logo][image: zce PHP 5 logo] [image: zce
>> Zend Framework logo]
>>
>> *Bart McLeod is a Zend Certified Engineer.*
>>
>> Click to verify! <http://www.zend.com/zce.php?c=ZEND004591&r=218204904>
>>
>>
>
> --
> Bart McLeod
> *Space Web*
> Middenlaan 47
> 6865 VN Heveadorp
> The Netherlands
> *t* +31(0)26 3392952
> *m* 06 51 51 89 71
> *...@* [email protected]
> www.spaceweb.nl [image: zce logo][image: zce PHP 5 logo] [image: zce Zend
> Framework logo]
>
> *Bart McLeod is a Zend Certified Engineer.*
>
> Click to verify! <http://www.zend.com/zce.php?c=ZEND004591&r=218204904>
>
<<logo_230.gif>>
<<image/gif>>
<<image/gif>>
<<image/gif>>
<<zf-zce-logo.gif>>
<<image/gif>>
<<image/gif>>
<<php5-zce-logo-new.gif>>
<<image/gif>>
<<zce_logo.gif>>
<<image/gif>>
<<image/gif>>
