Modify

Opened 10 years ago

Closed 10 years ago

#858 closed Bug/Fehler (fixed)

Speichern der Datenbankabfragen -> Undefined index (2x)

Reported by: Bonsai Owned by: somebody
Priority: niedrig Milestone: modified-shop-2.0.1.0
Component: Shop Version: 2.0.0.0
Keywords: Cc:
Blocked By: Blocking:

Description

Bei der Kombination dieser Logging Optionen:
Speichern der Datenbank Abfragen JA
Slow Query Log NEIN

Wird 2x eine E_Notice geworfen:
Undefined index: file bzw. Undefined index: line
/inc/db_functions.inc.php Zeile 159

Das ist innerhalb der Funktion xtc_db_slow_query_log diese Zeile:

      error_log(strftime(STORE_PARSE_DATE_TIME_FORMAT) . ' Backtrace #'.$err.' - '.$backtrace[$i]['file'].' called at Line '.$backtrace[$i]['line'] . "\n", 3, DIR_FS_LOG.'mod_sql_'.strtolower($type).'_'. date('Y-m-d') .'.log');

Attachments (0)

Change History (1)

comment:1 by Gerhard Waldemair, 10 years ago

Resolution: fixed
Status: newclosed

In 9730:

fix #858

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.