1
hughs
Database Queries
  • 2006/8/25 8:55

  • hughs

  • Not too shy to talk

  • Posts: 117

  • Since: 2003/10/7


Hello.
On my footer i've a piece of script that tells me, time loading and queries.
Since i've been using version 2.0.14 and now 15, queries stay always at 1 ( time loading works fine ).
Could someone point out what the problem is..?
Thanks a lot
Hughs

2
Bender
Re: Database Queries
  • 2006/8/25 14:58

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


1. I assume you are using this hack from IT-Hq.Org for this counter.
If so you could try to contact Brash about it. Maybe he has time to look into it.

2. Maybe it´s possible to access the counters used in inline debugging since XOOPS 2.0.14. (if you don´t need it constantly or public at all you could just temporarely switch on inline-debugging mode when you want to check querries on a specific page.
Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...

3
hughs
Re: Database Queries
  • 2006/8/27 9:17

  • hughs

  • Not too shy to talk

  • Posts: 117

  • Since: 2003/10/7


Hello.
This is the piece of script in my footer..

<{$xoops_footer}> | <{php}> echo round(($GLOBALS['xoopsLogger']->dumpTime()), 3)." Seconds | ".count($GLOBALS['xoopsLogger']->queries)." Queries";<{/php}>


As i said before used to work with version 2.0.13.
thanks for your help.
hughs

Login

Who's Online

218 user(s) are online (99 user(s) are browsing Support Forums)


Members: 0


Guests: 218


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits