PHP Classes

Hit Counter For 2.X

Recommend this page to a friend!

      CakePHP Counter Helper  >  All threads  >  Hit Counter For 2.X  >  (Un) Subscribe thread alerts  
Subject:Hit Counter For 2.X
Summary:Use 2.X
Messages:3
Author:slamet wiryawan
Date:2013-05-11 21:10:54
Update:2014-01-20 10:31:03
 

  1. Hit Counter For 2.X   Reply   Report abuse  
Picture of slamet wiryawan slamet wiryawan - 2013-05-11 21:10:54
I'm try to use this scripts, and follow all instructions. But they are an error on line 114, 115, 116 with massage "Indirect modification of overloaded property". If version is problem, plz tell me how to use it, in cakephp 2.xx.

Thanks for helping bro

  2. Re: Hit Counter For 2.X   Reply   Report abuse  
Picture of Tran Tuan Tran Tuan - 2013-05-13 02:15:08 - In reply to message 1 from slamet wiryawan
This version used for cakephp 1.3 guy!

  3. Re: Hit Counter For 2.X   Reply   Report abuse  
Picture of Jon Lennryd Jon Lennryd - 2014-01-20 10:31:03 - In reply to message 2 from Tran Tuan
It is really simple to get rid of these errors you have:

1. Rename counter.php to CounterHelper.php
2. In function UserRequest(), replace all
$this->data
with
$this->request->data

Now it should work without errors.