Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when sms.log written to for the first time #1006

Closed
jefft opened this issue Feb 13, 2024 · 1 comment
Closed

Error when sms.log written to for the first time #1006

jefft opened this issue Feb 13, 2024 · 1 comment

Comments

@jefft
Copy link
Contributor

jefft commented Feb 13, 2024

When ENABLE_SMS is enabled, and SMS_SEND_LOGFILE points to a sms.log file to record SMS sendings to - if sms.log doesn't exist Jethro throws an error:

filesize(): stat failed for /home/jethro/accounts/ccu/logs/sms.log
Line 275 of /home/jethro/code/2.34.1/app/include/sms_sender.class.php

The sms.log is created, and the error doesn't recur, so it's just a minor annoyance.

@tbar0970
Copy link
Owner

It now creates the file if it can. But if directory permissions don't allow for that, the problem remains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants