CUBRID_ERROR_MSG(3) 1 CUBRID_ERROR_MSG(3)cubrid_error_msg - Get last error message for the most recent function callSYNOPSIS
string cubrid_error_msg (void )
DESCRIPTION
The cubrid_error_msg(3) function is used to get the error message that occurred during the use of CUBRID API. Usually, it gets error mes-
sage when API returns false as its return value.
PARAMETERS
This function has no parameters.
RETURN VALUES
Error message that occurred.
EXAMPLES
Example #1
cubrid_error_msg(3) example
<?php
$conn = cubrid_connect("localhost", 33000, "demodb");
if (!@cubrid_schema($conn, 100000)) {
printf("Error facility: %d
Error code: %d
Error msg: %s
",
cubrid_error_code_facility(), cubrid_error_code(), cubrid_error_msg());
cubrid_disconnect($conn);
exit;
}
?>
The above example will output:
Error facility: 2
Error code: -10015
Error msg: Invalid T_CCI_SCH_TYPE value
SEE ALSO cubrid_error_code(3), cubrid_error_code_facility(3).
PHP Documentation Group CUBRID_ERROR_MSG(3)
Check Out this Related Man Page
CUBRID_ERRNO(3) 1 CUBRID_ERRNO(3)cubrid_errno - Return the numerical value of the error message from previous CUBRID operationSYNOPSIS
int cubrid_errno ([resource $conn_identifier])
DESCRIPTION
Returns the error number from the last CUBRID function.
The cubrid_errno(3) function is used to get the error code of the error that occurred during the API execution. Usually, it gets the error
code when API returns false as its return value.
PARAMETERS
o $conn_identifier
- The CUBRID connection identifier. If the connection identifier is not specified, the last connection opened by cubrid_connect(3)
is assumed.
RETURN VALUES
Returns the error number from the last CUBRID function, or 0 (zero) if no error occurred.
EXAMPLES
Example #1
cubrid_errno(3) example
<?php
$con = cubrid_connect('localhost', 33000, 'demodb', 'dba', '');
$req = cubrid_execute($con, "select id, name from person");
if ($req) {
while (list ($id, $name) = cubrid_fetch($req))
echo $id, $name;
} else {
echo "Error Code: ", cubrid_errno($con);
echo "Error Message: ", cubrid_error($con);
}
?>
The above example will output:
Error Code: -493 Error Message: Syntax: Unknown class "person". select id, [name] from person
SEE ALSO cubrid_error(3), cubrid_error_code(3), cubrid_error_msg(3).
PHP Documentation Group CUBRID_ERRNO(3)
I have iplanet6.0 sp1 installed on a Sunfire 280r which is running Solaris 8. On boot up I get the following message 'Failed to create psetHandle for cn=' the error code is 2.
Iplanet appears to function as normal but can anyone enlighten me as to what this means.
many thanks (2 Replies)
My system did stay appears the error Run Time Library Error. What itīs? When the error appear, iīve to reboot my system and lost all I did. Is there the UNIX System problem? Please. I need help!!! (4 Replies)
Hi Together,
while compiling my program with CC I get the following Error message from the Linker:
Undefined first referenced
symbol in file
std::basic_string<char,std::char_traits<char>,std::allocator<char>... (2 Replies)
hi all
The following error msg was displayed in the sco server 5.0.5. can anybody explain what it is?
"WATCHDOG REINITMEMORY 6 FOR BOARD"
replies appreciated.
raguram R (3 Replies)
Hi friends,
i am getting the following error while booting my system which has SCo UNIX .
=========================
H iinit
PANIC: srmountfun-Error 22
mounting of rootdev hd(1/42)
cannot dump 40863 pages to dempdev hd(1/41) : Space for only 0 pages.
Dump not completed.
safe to power off... (3 Replies)
I am trying to debug a script. I am getting the error following errors from the code listed below. I am working in Korn shell in a Sun Solaris UNIX environment.
****************
** Error Message **
****************
$ statreports.sh 0030 1327
./statreports.sh: if: syntax error at line 31 :... (4 Replies)
I am using following code but getting error
Error on line 136:
(SQR 3710) Unknown argument type.
Given below part of program where i am getting error.......
input $p_region type=char
if ( '$p_region' = 'ESAP' )
let $msg = 'YES'
do log_msg ({PROG_NAME}, {SEV_INFO}, $msg)
else... (5 Replies)
Hi,
I have a log file which might have certain paragraphs.
Switch not possible Error code 1234
Process number 678
Log not available Error code 567
Process number 874
.....
......
......
Now I create an exception file like this.
cat text.exp
Error code 1234
Process number 874 (3 Replies)
Hi all,
We have below WARNING in /var/adm/messages file from our Solaris server.
WARNING: /sbus@1f,0/SUNW,fas@e,8800000/sd@0,0 (sd0):
Error for Command: write(10) Error Level: Fatal
Requested Block: 16745265 Error Block: 16745269
Vendor: SEAGATE Serial Number:... (8 Replies)
I'm getting the following Error:
prepare_pcap.c: In function `prepare_pkts':
prepare_pcap.c:127: error: dereferencing pointer to incomplete type
prepare_pcap.c:138: error: dereferencing pointer to incomplete type
====================================
This is the part of the relevant... (8 Replies)
Booting Problem:
Error 25: Disk read error25: Disk read error This error is returned if there is a disk read error when trying to probe or read data from a particular disk.
Does this meant I will have to change my hard drive with a new one or will this be resolved by formatting or wiping out hard... (3 Replies)
Hi Guys,
probably a standard issue, so what do I miss here?
Error message:
> chfs -a size=-128M /export/nim/aix/5300-10
chfs: 0506-964 There is not enough free space to shrink the file system.
df shows 0.75GB free
> df -g .
Filesystem GB blocks Free %Used Iused %Iused... (7 Replies)