Closed cameronhunt closed 11 years ago
The above error message is just a warning (which is indeed a bug); however, it should not cause the setup to hang. I will attempt a fresh install and see if I can reproduce the error. Could you also check the JavaScript error logs? The setup makes a few AJAX calls which if permissions are wrong on your system will fail. This cause cause the setup to appear to hang.
EDIT: to elaborate, the warning is caused from update.inc.php trying to import the config script which has not yet been written by the system.
I'm using Chrome - the only error it shows is:
Uncaught SyntaxError: Unexpected token <
On Tue, Feb 19, 2013 at 2:17 PM, Russell Toris notifications@github.comwrote:
The above error message is just a warning (which is indeed a bug); however, it should not cause the setup to hang. I will attempt a fresh install and see if I can reproduce the error. Could you also check the JavaScript error logs? The setup makes a few AJAX calls which if permissions are wrong on your system will fail. This cause cause the setup to appear to hang.
— Reply to this email directly or view it on GitHubhttps://github.com/WPI-RAIL/rms/issues/7#issuecomment-13803414.
Cameron S. Hunt Director, Impetus Research, Inc. 843.654.4708
Note: I review and respond to emails once each day. If this matter is urgent, please text, IM, or call me.
Confirmed bug. If you have Apache configured to display errors (which is recommended), the warning will cause a JSON parse to fail which causes the setup to fail (and appear to hang). Working on a quick patch now.
Thanks, Russell...
On Tue, Feb 19, 2013 at 2:29 PM, Russell Toris notifications@github.comwrote:
Confirmed bug. If you have Apache configured to display errors (which is recommended), the warning will cause a JSON parse to fail which causes the setup to fail (and appear to hang). Working on a quick patch now.
— Reply to this email directly or view it on GitHubhttps://github.com/WPI-RAIL/rms/issues/7#issuecomment-13804020.
Cameron S. Hunt Director, Impetus Research, Inc. 843.654.4708
Note: I review and respond to emails once each day. If this matter is urgent, please text, IM, or call me.
Patched in https://github.com/WPI-RAIL/rms/pull/8
Confirmed fix.
On Tue, Feb 19, 2013 at 2:35 PM, Russell Toris notifications@github.comwrote:
Patched in #8 https://github.com/WPI-RAIL/rms/issues/8
— Reply to this email directly or view it on GitHubhttps://github.com/WPI-RAIL/rms/issues/7#issuecomment-13804322.
Cameron S. Hunt Director, Impetus Research, Inc. 843.654.4708
Note: I review and respond to emails once each day. If this matter is urgent, please text, IM, or call me.
Attempting the RMS setup, the website hangs after submitting the initial information. From the apache2 error.log:
PHP Warning: include_once(): Failed opening '/opt/rms/www/api/config/../../inc/config.inc.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /opt/rms/www/api/config/update.inc.php on line 16,
I adjusted the rms directory to be completely world readable, but in reading the error message it looks like it might be related to php's include path?