Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't modify report
#11
I add before and after writing to log file:

PHP Code:
ob_start();  
var_dump
($result);   
$data 
ob_get_clean();  
$fp 
fopen("logs/textfile.txt""a");   fwrite($fp"-----------------------\n");
fwrite($fp$data);  
fclose
($fp); 
 
$rows $result->RecordCount();  
 
$fp 
fopen("logs/textfile.txt""a");   
fwrite
($fp"^^^^^---after ^^^^^------------\n");
fclose($fp);   

This is the log

Code:
...
 ["_maxRecordCount"]=>
 int(0)
 ["datetime"]=>
 bool(false)
 ["adodbFetchMode"]=>
 int(0)
}
^^^^^---after ^^^^^------------
-----------------------
array(10) {
 [0]=>
 string(2) "27"
 ["datefilterid"]=>
 string(2) "27"
 [1]=>
 string(79) "vtiger_invoice_recurring_info:start_period:start_period:SalesOrder_Start_Period"
 ["datecolumnname"]=>
 string(79) "vtiger_invoice_recurring_info:start_period:start_period:SalesOrder_Start_Period"
 [2]=>
 string(6) "custom"
 ["datefilter"]=>
 string(6) "custom"
 [3]=>
 string(10) "0000-00-00"
 ["startdate"]=>
 string(10) "0000-00-00"
 [4]=>
 string(10) "0000-00-00"
 ["enddate"]=>
 string(10) "0000-00-00"
}


Its look to me related to the last sql query I found in the log

select vtiger_reportdatefilter.* from vtiger_reportdatefilter inner join vtiger_report on vtiger_report.reportid = vtiger_reportdatefilter.datefilterid where vtiger_report.reportid=27
Reply


Messages In This Thread
Can't modify report - addady2 - 08-10-2022, 12:54 PM
RE: Can't modify report - joebordes - 08-10-2022, 08:00 PM
RE: Can't modify report - addady2 - 08-21-2022, 11:23 AM
RE: Can't modify report - joebordes - 08-21-2022, 07:42 PM
RE: Can't modify report - addady2 - 08-24-2022, 12:14 PM
RE: Can't modify report - joebordes - 08-24-2022, 12:47 PM
RE: Can't modify report - addady2 - 08-24-2022, 01:21 PM
RE: Can't modify report - joebordes - 08-24-2022, 01:43 PM
RE: Can't modify report - addady2 - 08-25-2022, 12:30 PM
RE: Can't modify report - joebordes - 08-25-2022, 04:10 PM
RE: Can't modify report - addady2 - 08-26-2022, 08:16 AM
RE: Can't modify report - joebordes - 08-26-2022, 08:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)