TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,965
  • Latest: boruko
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 431
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 137
  • Total: 138
  • lurkalot

Urgent: Connecting problem to database !

Started by hartiberlin, December 21, 2006, 04:35:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gourgi

Quote from: hartiberlin on December 22, 2006, 06:08:10 PM
I now had enabled the queries log at the bottomof the forum and this
how can i enable this queries ??
i have queries enabled and now in my forum looks like this
QuotePage created in 0.528 seconds with 26 queries.
but i want to also be able to see the queries to the exact files (eg. Display.template.php ...).
I think there is a tool for this but i searched and i can't find it in SMF :(

G6Cad

There is no such visual option built in SMF or TP
It just show how many queries it did during the page load.

nukebiz

Actually, there is - add this line to Settings.php,
$db_show_debug = true;

G6Cad

QuoteThere is no such visual option built in SMF or TP

nukebiz


G6Cad

Your way work, but it's not BUILT in, the question asked were if it was in some settings with in SMF or TP ;)  , you have to add code your self, and you have to know WHAT code and WHERE.
Thank you for posting it.

Gourgi

Quote from: Resourcez on March 21, 2007, 10:10:09 AM
Actually, there is - add this line to Settings.php,
$db_show_debug = true;
thanks  ;D
this is what i was looking for  :up:

@G6 : i didn't say that the tool i was looking is built in TP or SMf ! I don't know what you understand from my first message but what i was looking for is the code that Resourcez posted.
Thanks both for replying  ;)

This website is proudly hosted on Crocweb Cloud Website Hosting.