zend framework - error in migration of zf2 to zf3. unable to resolve services, -
i migrating application from zf2 zf3.
all on page using "viewhelpermanager", through error.
error : "unable resolve service "viewhelpermanager" factory; provided during configuration?"
.
i have checked there service configuration "viewhelpermanager"
in zf2. not found in zf3.
it working in zf2, not in zf3.
thanks
as per zend docs. "in v3, service names case sensitive, , not normalized in way."
and in case, in zf2 there "viewhelpermanager" "viewhelpermanager", in zf3, "viewhelpermanager" available.
but in zf3 add below line module.php.
public function getserviceconfig() { return array( 'aliases' => array( 'viewhelpermanager' =>'viewhelpermanager' ) ); }
if getserviceconfig()
exists add
'aliases' => array( 'viewhelpermanager' =>'viewhelpermanager' )
for more infomation , details, please see migration guide zf2 zf3
Comments
Post a Comment