OK. Finally made some progress. I am debugging on the remote server with phpStorm. In index.php there is a line:
$system_path = 'system';
When I look at system (under the debugger) it is pointing at c:\xmapp\htdocs\sub_crud\system. Shouldn't this be pointing at a location on the remote server? a few lines down I see
$system_path = $_temp.DIRECTORY_SEPARATOR; which is c:\xampp\htdocs\sub_crud\system
a few lines below that I see that BASEPATH is getting defined as $system_path.
So the bottom line is that my code on the remote server is trying to use the system on my local hard drive. How do I fix this?
I modified
$system_path='\opt\bitnami\apache2\htdocs\sub_crud\system';
but now I get
PHP Code:
if ( ! is_dir($system_path))
{
header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
echo 'Your system folder path does not appear to be set correctly. Please open the following file and correct this: '.pathinfo(__FILE__, PATHINFO_BASENAME);
exit(3); // EXIT_CONFIG
}
proof that an old dog can learn new tricks