Welcome to WebmasterWorld Guest from 54.227.214.52

Forum Moderators: coopster & jatar k

Error

Error

   
6:36 am on Sep 29, 2011 (gmt 0)



Hi

I am running this on localhost . it is giving me error

<?php
include_once('../includes/adapter-config.inc.php');
define("SOAP_CLIENT_BASEDIR", $soapclient_path );
require_once (SOAP_CLIENT_BASEDIR.'/SforcePartnerClient.php');

abstract class SalesforceModel {
private $metadata = array();

function set($name, $value) {
$this->metadata[$name] = $value;
}
}
?>


Warning: include_once(../includes/adapter-config.inc.php) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\Salesforce\objects\obj_sfdc_model.php on line 2

Warning: include_once() [function.include]: Failed opening '../includes/adapter-config.inc.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\Salesforce\objects\obj_sfdc_model.php on line 2

Warning: require_once(/SforcePartnerClient.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\Salesforce\objects\obj_sfdc_model.php on line 4

Fatal error: require_once() [function.require]: Failed opening required '/SforcePartnerClient.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\Salesforce\objects\obj_sfdc_model.php on line 4

Thanks
8:35 am on Sep 29, 2011 (gmt 0)

WebmasterWorld Senior Member penders is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



As the warning states, it can't find '../includes/adapter-config.inc.php' - this is a path relative to the current directory. Where is this file on your system? I would guess that this file would set $soapclient_path (which is not set), hence your 3rd warning and Fatal Error.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month