Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue : unable to log to file in command
Dev: bad directory for runtimePath
- Loading branch information
Showing
1 changed file
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f6c991c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is a similar fix for LS 2.06LTS needed/done?
f6c991c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have issue in https://github.com/SondagesPro/LS-sendMailCron in 2.06 when i create the plugin. Maybe we have removed the application/log ar application/runtime after ?
Must be controlled/tested
f6c991c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you are right, the path details were handled a little differently at LS 2.06.
f6c991c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No app/runtime in 2.6 too ....
But cron event is really awfull ... no config set, no config call from DB, unable to use $this->get function etc ....
f6c991c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this fix apply to this "exception 'CException' with message 'Application runtime path "/var/www/limesurvey_250_161205/application/runtime " is not valid. Please make sure it is a directory writable by the Web server process.' in /var/www/limesurvey_250_161205/framework/base/CApplication.php:294" error (see http://pastebin.com/dSxeSYQw for more details)?
f6c991c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. You can manually create the directory for a quick fix http://extensions.sondages.pro/mailing-management/sendmailcron/documentation.html#Before-activating-the-plugin