Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2011-02-18 19:41:41

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

SQL Debug Messages

I found a debugging file on my server in the temp directory.
The file is called "query".

It seems that all queries are logged into this file.
I would like to have it switched off, because it gets really big.
I searched in the php files, but i could not find that debug = on line or something.
I removed some debugging from the mobile section but it does not help. Can you please give me a tipp how to switch that off ?


sgt-halfsize-banner.jpg

Offline

#2 2011-02-18 21:22:08

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: SQL Debug Messages

Ahh...thats is something that i forgot from the development. I apologise for my mistake. Edit libraries/framework/database/mysql.php and remove
this line:

file_put_contents('/tmp/query', $this->_query_string, FILE_APPEND);

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2011-02-18 21:37:17

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

Re: SQL Debug Messages

Thank you.

You don't have to apologize, it's no problem smile


sgt-halfsize-banner.jpg

Offline

#4 2011-02-18 22:03:48

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: SQL Debug Messages

Thanks for understanding :-)


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB