21293 Posts in 5733 Topics by 2602 members
| Go to End | Next > | |
| Author | Topic: | 1468 Views |
-
Re: Number of site displays

5 November 2010 at 11:43am
page
page_live
page_versionsall those tables have everywhere visits = 0 :/
-
Re: Number of site displays

6 November 2010 at 9:03am
I created:
public static $db = array(
'ShowInTopMenu' => 'Boolean',
'ShowInLeftMenu' => 'Boolean',
'ShowInLeftMenu2' => 'Boolean',
'visits' => 'Int'
);in class Page and:
$this->visits++;
$this->write();in class Page_Controller. Is $this->visits++ correct operation to increment 'visits' in $db?
-
Re: Number of site displays

9 November 2010 at 9:51am
What do you see when debugging SQL using ?showqueries=1 ?
-
Re: Number of site displays

9 November 2010 at 7:50pm
I see nothing, when I am logged page is opening but no warnings and error show
-
Re: Number of site displays

9 November 2010 at 9:09pm
Do you see queries for incrementing Visits there?
-
Re: Number of site displays

10 November 2010 at 1:03am
Do I have to be logged as Admin?
I can't see any difference between page with ?showqueries=1 and page without it -
Re: Number of site displays

10 November 2010 at 1:13am
you need to be logged in as admin, and maybe the domain should be in dev servers list
| 1468 Views | ||
| Go to Top | Next > |


