Re: dbase connection on a remote computer in lan

From: Date: Fri, 30 Mar 2007 09:34:35 +0000
Subject: Re: dbase connection on a remote computer in lan
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26955@lists.php.net to get a copy of this message
gasdia73 wrote: > thank you, the added debug string now says : > > Cannot connect: DB Error: connect failed, [nativecode=the dbase file does > not exist and it could not be created because the "fields" element of the > DSN is not properly set] ** dbase:///X:/DB/call_report.DBF This message is returned on the following two cases: - if (!file_exists($dsn['database'])) { - if (empty($dsn['fields']) || !is_array($dsn['fields'])) { It looks like PHP can't find the file with this X:/... notation. (Isn't there also one slash to much after "dbase:"? Maybe just this typo is the reason?) Regards, Mark -- http://www.markwiesemann.eu

« previous php.pear.general (#26955) next »