Hello,

Sorry for opening this issue again. I checked this issue again and saw that
no fix or solution provided.
Yesterday, I had to upgrade my ZF version and had to handle this issue
again.

If there is still somebody needs a solution, they can try this.

Here is the problem causing error (in my error written below- 2nd mail
message in this thread):

<ul id="menu">
    <?php
    $i=1;
    foreach ($this->container as $page) {
        ?>
        <li class="page-item<?php echo ($i=='1') ? '-home' : '';?><?php
echo ($page->isActive()=='1') ? ' current_page_item ' : '';?>"><?php echo
$this->menu()->setUseTranslator(true)->htmlify($page);?></li>
        <?php
        $i++;
    }
    ?>
</ul>

"$this->menu()" call was causing the error. (working in 1.11.x but not
working in 1.12.x)

I fixed this by replacing it with:

"$this->navigation()->menu()"

and then no error :-)



-------------
scs








On Mon, Jan 28, 2013 at 6:59 AM, Oleg_201080 <opp20071...@gmail.com> wrote:

> Why did it work in zendframework 1.11 and didn't work 1.12? It looks that
> in
> 1.12 it's not quite compatible with 1.11. In 1.11 in application.ini
> appnamespace = "" worked ok, but it 1.12 doesn't work.
>
>
>
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/can-t-load-classes-in-Zend-Framework-1-12-1-but-worked-1-11-2-and-previous-versions-tp4658753p4658858.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
> --
> List: fw-general@lists.zend.com
> Info: http://framework.zend.com/archives
> Unsubscribe: fw-general-unsubscr...@lists.zend.com
>
>
>

Reply via email to