These are the first lines of my code:
[php] define(‘ABS_PATH’, dirname(dirname($_SERVER[‘SCRIPT_FILENAME’])) . ‘/’);
define(‘OC_ADMIN’, true);
require_once (ABS_PATH . 'oc-load.php');
if( file_exists(ABS_PATH . '.maintenance') ) {
define('__OSC_MAINTENANCE__', true);
}[/php]
When i upload it to my server, I get the following error messages that both point to the line with the require once function:
Warning: require_once(/www/muslimconnect.comuv.com/oc-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/a5282907/public_html/oc-admin/index.php on line 25
Fatal error: require_once() [function.require]: Failed opening required ‘/www/muslimconnect.comuv.com/oc-load.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/a5282907/public_html/oc-admin/index.php on line 25