2010年2月11日星期四

Re: [fw-mvc] Zend_Validate error after upgrading to Zend Framework 1.10.1

Thanks for the reply, Konr. I checked to make sure the file does exist. The interesting thing is that when I do this it works:

Zend_Validate::is($value, 'Zend_Validatet_Regex', array('/[^a-v0-9]/'))

I'm still running php 5.2.9, not 5.3.x. I wonder if that's a possible cause. But Zend Framework requirements state it only requires 5.2.4 to run.

Do you have any more insights?

Thanks,
Yi


On 2/10/10 8:59 PM, Konr Ness wrote:
I tried it on my installation and it worked just fine. Can you confirm that the following file exists:
/home/user/library/Zend/Validate/Regex.php

Konr

On Wed, Feb 10, 2010 at 5:34 PM, Yi Tang <ytang@mbira.com> wrote:
Zend_Validate::is($value, 'Regex', array('/[^a-v0-9]/'))

It used to work perfectly, now it throws this error:
Warning: include_once() [function.include]: Failed opening 'Regex.php' for inclusion (include_path='/home/user/library:/home/user/application/default/models') in /home/user/library/Zend/Loader.php on line 146

Any idea on what's going on here? Thanks!

Yi

没有评论: