Friday, March 23, 2012

Re: Debugger Class not found - CakePHP 2.1 - PHP 5.4

Problem SOLVED! 

php 5.4 needs public and private keywords with function and attributes!!!

Am Mittwoch, 21. März 2012 10:20:55 UTC+1 schrieb traedamatic:
Hello,

I have a strange problem. I run on Cakephp 2.1 App on PHP 5.4 and 5.3.10. 
On PHP 5.3.10 is everything fine but on 5.4 i get this error:

Fatal error: Class 'Debugger' not found in /***/beta/app/Plugin/​Markitup/View/Helper/​MarkitupHelper.php on line 161

The line 161 is the last line of the file.

The head of the Helper looks like this:

App::import('Core', 'Debugger');
App::uses('AppHelper', 'View/Helper');

class MarkitupHelper extends AppHelper {
...

The funny think is that happens although with the DebugKit Plugin. 

Does anyone have the same problem?

Does anyone had the same Problem?

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: