English > General Questions

New errors

<< < (3/6) > >>

Harald Leithner:
I need the query that makes this problem...

maybe you activate the debugger and send me the logfile file it should be in /logs/jdiction.php or something like this.

Xaman:

--- Quote from: Harald Leithner on January 22, 2015, 04:53:46 pm ---I need the query that makes this problem...

maybe you activate the debugger and send me the logfile file it should be in /logs/jdiction.php or something like this.

--- End quote ---
Ok, how do I send you this file? To which email?

Harald Leithner:
joomla@itronic.at

Xaman:

--- Quote from: Harald Leithner on January 22, 2015, 06:24:02 pm ---joomla@itronic.at

--- End quote ---
Sent.

Harald Leithner:
In this file are 10000 translated queries... so I will not find the correct one ;-)

would you please change the following lines in /libraries/jdiction/database/jddatabase.php

line 428:

--- Code: --- JLog::add('Query translated: ' . str_replace("\n", '\n', $this->sql), JLog::DEBUG, 'jdiction');
} else {
JLog::add('Query not translated: ' . str_replace("\n", '\n', $this->sql), JLog::DEBUG, 'jdiction');
//JLog::add('Backtrace: ' . @json_encode(debug_backtrace()), JLog::DEBUG, 'jdiction');
}
--- End code ---

to:

--- Code: --- if ($_REQUEST['debug'] == '2') JLog::add('Query translated: ' . str_replace("\n", '\n', $this->sql), JLog::DEBUG, 'jdiction');
} else {
if ($_REQUEST['debug'] == '2') JLog::add('Query translated: ' . str_replace("\n", '\n', $this->sql), JLog::DEBUG, 'jdiction');
//JLog::add('Backtrace: ' . @json_encode(debug_backtrace()), JLog::DEBUG, 'jdiction');
}
--- End code ---

then delete the log file and open the page which cause the error with the parameter ?debug=2 attached at the end of the url.

and send the new file again.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version