Topic: [OK] Flyspray error

I don't know much about PHP, about at one point, flyspray gave me an error because line that has
file_exists($GLOBALS["_SWIFT_FILECACHE_SAVE_PATH_"] caused an unhandled exception.

(it was triggered when I tried to send a password-reminder email to myself).

Any recommendations for how to set this global for the TuxFamily environment so it doesn't happen again?
(or should it be reported to the flyspray folks?)

Thanks,
-Patrick

Re: [OK] Flyspray error

Well, the problem is in flyspray/includes/external/swift-mailer/Swift/Cache/Disk.php which seems to be an additional module. The global parameter _SWIFT_FILECACHE_SAVE_PATH_ didn't seem to work inside the class, so the script tries to create a file in the / of the server instead of /tmp, which is, of course forbidden ;-)

This is probably an issue of the module.

I fixed it by enforcing the path to the tmp/ directory of your web area.

Sylvain

Re: [OK] Flyspray error

By the way, there is a mistake in your flyspray's configuration, the From: header of emails are set to:
From: Default Project <flyspray at example.com> ... which seems to be a default configuration entry ;)

Sylvain