Hi Michael, Thanks for your help. I had a look in my apache error_log. I also activated E_ALL error verbosity. First PHP just could not find the class definition. I copied the definition Filter.php to the right directory. Now I don't get the resource not found anymore but I get a new errror.
The apache error_log says: [Wed Sep 27 22:07:02 2006] [error] [client ...] PHP Fatal error: Call to undefined function ctype_alnum() in /srv/www/htdocs/lib/Zend/Filter.php on line 127 ... This call to ctype_alnum is done by Zend_Filter::isAlnum so it now finds the class definition. It looks as if i don't have ctype support built in. The PHP online manual tells me that since version 4.3.0 this should be built in. I checked my version again, its 5.1.2 (not 5.1.6 as stated first). But still no ctype support. All other stuff (dispatching works fine on my webspace if I just comment out the call to Zend_Filter::isAlnum()). Regards, Rolf Michael Patrick-3 wrote: > > rolfneumann2 wrote: >> Zend_Filter::isRegex($something, $someexpresssion); >> >> then PHP5.1.6 quits interpreting without giving me more details. >> >> Does someone know this problem? How does the Framework find the >> definition >> of Zend_Filter::isRegex? Where does it look for? >> >> Thanks very much for your help, >> Rolf > > Does your webhost give you access to the Apache error logs for your > virtual host? You might find something in there. Another option is to > make sure error messages are set to display with something like > > error_reporting(E_ALL); > > at the top of your code. > > From your e-mail it sounds like your code all works fine on your > Windows machine. On the LAMP server does anything work? Dispatching to > controllers, for example. Is the structure on the LAMP server the same > file structure as on the Windows server? > > If you are just calling Zend_Filter::isRegex without Zend::loadClass'ing > Zend_Filter first then it wouldn't find it. You might want to go > look up __autoload in the PHP manual. > > -- View this message in context: http://www.nabble.com/static-call-Zend_Filter%3A%3AisRegex-does-not-work-tf2340320.html#a6532335 Sent from the Zend Framework mailing list archive at Nabble.com.
