This could be an issue with references to the inner helper class, or
the overloading of methods.  I've never tested debug_kit on PHP4, but
changing as you have will break the FirePHP output. And cause other
fatal errors.

-Mark

On Mar 21, 1:22 pm, ProFire <profir...@hotmail.com> wrote:
> I just made a temporary fix on this problem.
> I'm not sure what's the source of the problem but I'm guessing that
> it's because my live server is running PHP4 while my developer's
> machine is running PHP5.
>
> I have modified the following files:
> debug_kit/views/elements/log_panel.ctp
> debug_kit/views/elements/memory_panel.ctp
> debug_kit/views/elements/request_panel.ctp
> debug_kit/views/elements/session_panel.ctp
> debug_kit/views/elements/timer_panel.ctp
> debug_kit/views/elements/variables_panel.ctp
>
> Everytime I encounter the following:
> $toolbar->makeNeatArray($vars)
> $toolbar->table($vars)
> $toolbar->message($vars)
>
> I change it to:
> $toolbar->HtmlToolbar->makeNeatArray($vars)
> $toolbar->HtmlToolbar->table($vars)
> $toolbar->HtmlToolbar->message($vars)
>
> I don't think it's the perfect solution because I still encounter
> minor bugs with it.
> But so far, at least I got my site up and running properly and the
> bugs don't bother me yet.
> I think I'm going to put a ticket for this.
>
> On Mar 21, 11:25 pm, ProFire <profir...@hotmail.com> wrote:
>
> > I'm experiencing the same problem.
> > I don't think it's a permission problem but PHP version problem.
> > The developer's machine is using PHP5 while the live machine uses
> > PHP4.
> > Could this be the problem?
>
> > Anybody have a solution to this?
>
> > On Feb 22, 5:42 am, jer2665 <jeremyhalvor...@gmail.com> wrote:
>
> > > I've got debug_kit working fine on my dev machine, now trying to set
> > > it up on my server 1and1 it's giving me a problem, someone in #cakephp
> > > said it's probably a permissions error, but I haven't been able to
> > > nail this down.
>
> > > All folders seem to be 755, and all files seem to be 644, what other
> > > permissions need to be changed?   Is there another issue?
>
> > > Currently I'm getting...
>
> > > Fatal error: Call to undefined method: toolbarhelper->makeneatarray()
> > > in /<path to> /app/plugins/debug_kit/views/elements/session_panel.ctp
> > > on line 31
> > > (default) 0 query took ms
> > > Nr      Query   Error   Affected        Num. rows       Took (ms)
>
> > > just incase it is a permissions issue, i threw together a file list 
> > > athttp://www.jeremyhalvorsen.com/list.txtincasethat helps.
>
> > > any tips?
>
> > > thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to