daithi-coombes / api-connection-manager

Manages connections and requests to 3rd party providers or services
0 stars 1 forks source link

Logger error #57

Closed daithi-coombes closed 11 years ago

daithi-coombes commented 11 years ago

Permission issues being reported on blog when Logger doesn't have write access to log files. This should be reported on admin notices only unless the flag API_CON_MNGR_LOG_ENABLE is set to false in index.php

Warning: fopen(/var/www/cityindex.loc/labs.cityindex.com/httpdocs/wp-content/uploads/api-con-mngr.lastrequest.html): failed to open stream: Permission denied in /var/www/cityindex.loc/labs.cityindex.com/httpdocs/wp-content/plugins/api-connection-manager/vendor/log4php/appenders/LoggerAppenderFile.php on line 99

Warning: log4php: [LoggerAppenderFile:request]: Failed opening target file. Closing appender. in /var/www/cityindex.loc/labs.cityindex.com/httpdocs/wp-content/plugins/api-connection-manager/vendor/log4php/LoggerAppender.php on line 283
daithi-coombes commented 11 years ago

supress error in index.php:106

  // Log it
  @$logger->logEvent($event);