-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
ejabberd_check_oc.php: define_syslog_variables in PHP >=5.4 #20
Comments
Sorry, to clarify, this is for https://github.com/sualko/ojsxc (issues there are directed here on the README.md) |
Thanks for reporting. I think there are more issues with this script, because on my private server it is not very stable. Maybe you could help? |
Did you manage to fix this somehow? I am having the same problem, but i'm not certain which parts are OK to remove, Attempts havent fixed this on CentOS 6.5 with PHP 5.4. |
@Suako: Hi, yes, apologies for the slow response. That should be fine, although there may be a little delay as I'll need to set a system up outside work. @DimiTs: I found that removing that single line was fine (see first note here: http://www.php.net/manual/en/function.define-syslog-variables.php) My target system was Ubuntu 13.10 - to debug running the script manually from the CLI can give more information. Note this line (and some others IIRC) have an @ prefix, so will suppress error messages, which may be good to remove when trying to narrow down the problem running from the CLI. |
@philtweir Thank you, but apparently on my setup it isn't working - I fear it has something to do with CentOS (or my upgrading to PHP 5.4 through custom repos), on CLI the script runs without errors. No luck on ejabberd debug either, the only error visible is " extauth script has exitted abruptly with reason 'normal' " as stated. |
@philtweir @DimiTs I updated the script and now it runs for 2 weeks without any problems. https://github.com/sualko/jsxc/wiki/Install-ejabberd-(owncloud) |
Adjust static paths
define_syslog_variables has been removed from PHP, but it looks like it may not be needed anyhow. Causes silent exit on running ejabberd_check_oc.php, appearing in ejabberd logs as
extauth script has exitted abruptly with reason 'normal'
The text was updated successfully, but these errors were encountered: