Warning: OCIStmtExecute: ORA-03113: end-of-file on communication channel in /www/inc/db_oci8.inc on line 70
这个东西有时出现,有时不出现...(结果出来后,刷新10次,有可能出现3次)
各位大侠,帮帮忙,怎么解决?还有为什么会出现这种情况???
...全文
1187打赏收藏
我要疯了!!怎么解决??
Warning: OCIStmtExecute: ORA-03113: end-of-file on communication channel in /www/inc/db_oci8.inc on line 70 这个东西有时出现,有时不出现...(结果出来后,刷新10次,有可能出现3次) 各位大侠,帮帮忙,怎么解决?还有为什么会出现这种情况???
15:class DB_Sql {
var $Debug = 0;
var $sqoe = 1; // sqoe= show query on error
var $Database = "";
var $User = "";
var $Password = "";
var $Link_ID = 0;
var $Record = array();
var $Row;
var $Parse;
var $Error = "";
var $Query_str = "";
/* public: constructor */
function DB_Sql($query = "") {
$this->query($query);
}
function connect() {
if ( 0 == $this->Link_ID ) {
if($this->Debug) {
printf("<br>Connecting to $this->Database...<br>\n");
}
$this->Link_ID=OCIplogon("$this->User","$this->Password","$this->Database");
if($this->Debug) {
printf("<br>Obtained the Link_ID: $this->Link_ID<br>\n");
}
}
}
function query($Query_String) {
/* No empty queries, please, since PHP4 chokes on them. */
if ($Query_String == "")
/* The empty query string is passed on from the constructor,
* when calling the class without a query, e.g. in situations
* like these: '$db = new DB_Sql_Subclass;'
*/
return 0;