[ASTPPCOM-203] ASTPP Log Created: 19/May/17  Updated: 22/Jul/20  Resolved: 26/Oct/19

Status: Closed
Project: ASTPP Community
Component/s: None
Affects Version/s: None
Fix Version/s: v4.0.2

Type: Bug
Reporter: amitzz Assignee: Samir Doshi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Hi

I have installed ASTPP V 3.0 on debian 8. Found below ASTPP logs

ERROR - 2017-05-18 22:50:38 --> Severity: Warning --> Division by zero /var/www/html/astpp/application/libraries/astpp/common.php 1626
ERROR - 2017-05-18 22:50:38 --> Severity: Notice --> Undefined index: base_currency /var/www/html/astpp/application/libraries/astpp/common.php 1624
ERROR - 2017-05-18 22:50:38 --> Severity: Notice --> Undefined index: user_currency /var/www/html/astpp/application/libraries/astpp/common.php 1625
ERROR - 2017-05-18 22:50:38 --> Severity: Notice --> Undefined index: user_currency /var/www/html/astpp/application/libraries/astpp/common.php 1626
ERROR - 2017-05-18 22:50:38 --> Severity: Notice --> Undefined index: base_currency /var/www/html/astpp/application/libraries/astpp/common.php 1626

ERROR - 2017-05-18 22:50:38 --> Severity: Warning --> chmod(): Operation not permitted /var/www/html/astpp/system/libraries/Log.php 108
ERROR - 2017-05-18 22:50:38 --> Severity: 8192 --> mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead /var/www/html/astpp/system/database/drivers/mysql/mysql_driver.php 75

ERROR - 2017-05-18 22:56:01 --> Severity: Notice --> Use of undefined constant CRON_FLUSH_BUFFERS - assumed 'CRON_FLUSH_BUFFERS' /var/www/html/astpp/cron/cron.php 47



 Comments   
Comment by RAYED BEN SALEM (Inactive) [ 19/May/17 ]

where ?? name of the file log please.

Comment by amitzz [ 19/May/17 ]

You can configure ASTPP for logging

/var/www/html/astpp/application/config/config.php ......... line no 191
/*

--------------------------------------------------------------------------
Error Logging Threshold
--------------------------------------------------------------------------
If you have enabled error logging, you can set an error threshold to
determine what gets logged. Threshold options are:
You can enable error logging by setting a threshold over zero. The
threshold determines what gets logged. Threshold options are:
0 = Disables logging, Error logging TURNED OFF
1 = Error Messages (including PHP errors)
2 = Debug Messages
3 = Informational Messages
4 = All Messages
For a live site you'll usually only enable Errors (1) to be logged otherwise
your log files will fill up very fast.

*/
$config['log_threshold'] = 1;


Log file you will find at /var/www/html/astpp/application/logs/

ASTPP# tail -f log-YYYY-MM-DD.php
ASTPp#tail -f log-2017-05-19.php

regards
AMitZ

Generated at Sat Feb 10 07:15:04 CET 2024 using Jira 8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a.