Hi all,
Thanks to assistance from Matthew, I have now resolved this problem by
changing my Zend code base to the latest trunk (r8024).
Apologies for reporting this issue without first checking the latest
code. FYI I was previously using 1.5.0PR.
:wq
G.
On 15 Feb 2008, at 08:18, Greg Frith wrote:
On 14 Feb 2008, at 21:50, Matthew Weier O'Phinney wrote:
Thanks Matthew,
Have tried this (see below) but still the extra prefix and path
are not added
to element pluginloaders.
Odd -- I just tried this on my own box, using the config you
provided,
and it worked fine; here's a portion of a var_export() I did on my
form
object:
'VALIDATE' =>
Zend_Loader_PluginLoader::__set_state(array(
'_prefixToPaths' =>
array (
'Zend_Validate_' =>
array (
0 => 'Zend/Validate/',
),
'WETB_Validate_' =>
array (
0 => 'WETB/Validate/',
),
),
'_loadedPlugins' =>
array (
'WordChars' => 'WETB_Validate_WordChars',
'StringLength' => 'Zend_Validate_StringLength',
),
'_useStaticRegistry' => NULL,
)),
As you can see, the plugin loader has the path, and the validator was
loaded (I created a dummy validator so I could test).
Are you using current trunk? If not, could you send me a copy of your
code and config file offline so I can see if I can diagnose the
issue?
--
Matthew Weier O'Phinney
PHP Developer | [EMAIL PROTECTED]
Zend - The PHP Company | http://www.zend.com/
Hi Matthew,
No sorry, I should have specified earlier, I am using version
1.5.0PR. I will check out the trunk and try again before we go any
further.
Many thanks,
:wq
Greg