Thursday, September 26, 2013

Re: DebugKit function/array problem (Function name must be a string ; ToolbarComponent.php)

Sorry for the delay in my reply. You're the man Simon. They're not on the same server, but it worked. I can now access it by removing the prefix altogether.

On Wednesday, September 25, 2013 10:14:05 PM UTC-4, Simon Males wrote:
Same machine?

Make sure you $prefix in core.php is unique.


On Wed, Sep 25, 2013 at 5:06 AM, Connar Pierce <connar...@gmail.com> wrote:
Hey all, I got a weird issue. I've got two identical (Same config, etc etc. Copied webroot to another site/domain) installation of cakePHP 2.4.1, with DebugKit 2.2.1. Only thing different is the domain they load from.

Site one works great. Site two does not. I get -

Fatal error: Function name must be a string in /home/crec/public_html/app/Plugin/DebugKit/Controller/Component/ToolbarComponent.php on line 195

Fatal error: Function name must be a string in /home/crec/public_html/app/Plugin/DebugKit/Controller/Component/ToolbarComponent.php on line 195

I actually am required to use the DebugKit by the auth system my developer has built. So I can't just turn it off unfortunately.

Any ideas? I tried downgrading and nothing is working. The code does show functions like $before('blah') and $after('blah') which has been the way DebugKit does it in other versions.


--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+u...@googlegroups.com.
To post to this group, send email to cake...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.



--
Simon Males

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: