Chris Odell wrote:
I am having a little trouble with the syntax of the conf.php - line 49. I would like to have all my servers sync with this script as it seems to be the recommended way. If I add one server, it seems to work fine. If I add two servers it gives me an error. I think that I am not using the proper syntax or I'm trying to make it do something it is not meant to do. Would it be possible to have someone cut and paste the line so I can see what I am doing wrong, or recommend a better way for this to happen. Also when it runs from cron it never updates. If I run it from the command line the first server is fine.
What do you have in line 49? It should be a comma delimited list of trusted hosts, surrounded by single quotes. If that's not the syntax, then it will break.
i.e.: $trusted_hosts = '127.0.0.1,127.0.0.2';
Regards,
Bill
