Error: Could not locate CentovaCast system files.
When I try to use Centova Cast, I see the following error:
Error: Could not locate CentovaCast system files. Please check your settings in /path/config.php.
But my settings appear to be correct. How do I fix this?
There are several potential causes for this problem. Please check the following in order:
Ensure that the configuration file mentioned in the error message contains a valid
SYSTEM_PATHsetting. If the
SYSTEM_PATHis set to an incorrect path, correct this and try again.
Ensure that you included a trailing slash in the
SYSTEM_PATHsetting in the configuration file mentioned in the error message.
Check the diagnostic page. There is a script called
diagnostics.phpin your Centova Cast web root (i.e.,
http://www.example.com/cast/diagnostics.phpor similar). Launch this page and see if any lines marked Failed are displayed.
If any line other than "Checking CLI interface" reports Failed, then you will need to correct the problem described in the failure report. You should correct the problems one-by-one, starting at the top, and re-load the page each time you correct a problem to see the updated diagnostic report.
If only "Checking CLI interface" reports Failed, then it's likely that there is a problem with your PHP CLI binary. In this case, login via SSH and run the following command:
php -q /home/centovacast/system/ccmanage.php version check all
(Note that the command may appear wordwrapped above, but it should be entered all on one line.) If this command does not display any output, then there is a problem with your PHP CLI binary and you need to have your systems administrator fix this.
If it does display any output (ending with a line that says
OK Centova Cast vx.x.x), then try the following command as well:
/home/centovacast/system/runascc/runascc exec ccmanage version check all
(Note that the command may appear wordwrapped above, but it should be entered
all on one line.) If this last command does not display any output, then you
probably have more than one PHP CLI binary installed on your server, and one
of them is broken (and Centova Cast is inadvertently chosing the broken one).
You simply need to identify the broken one and remove it. Ask your systems
administrator to check the
identify the bad copy of the PHP CLI binary, and remove it.