Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cubrid_error_msg(3) [php man page]

CUBRID_ERROR_MSG(3)							 1						       CUBRID_ERROR_MSG(3)

cubrid_error_msg - Get last error message for the most recent function call

SYNOPSIS
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 operation

SYNOPSIS
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)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Iplanet Error

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)
Discussion started by: silvaman
2 Replies

2. UNIX for Dummies Questions & Answers

Runtime Error...

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)
Discussion started by: marpin
4 Replies

3. Programming

CC LInker Error UNIX Sun Solaris

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)
Discussion started by: nik
2 Replies

4. UNIX for Advanced & Expert Users

Error message

I'm getting an error - symbol referencing errors. No output written to, etc Can anybody tell me why this is? (2 Replies)
Discussion started by: Dan Rooney
2 Replies

5. UNIX for Dummies Questions & Answers

Error msg displayed in SCO server

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)
Discussion started by: raguramtgr
3 Replies

6. UNIX for Advanced & Expert Users

Error during Sco Unix boot

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)
Discussion started by: sveera
3 Replies

7. UNIX for Dummies Questions & Answers

Script Error if ... then

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)
Discussion started by: Nysif Steve
4 Replies

8. Linux

Error when loading

(7 Replies)
Discussion started by: woofie
7 Replies

9. Shell Programming and Scripting

Error in scripts

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)
Discussion started by: yogichavan
5 Replies

10. Shell Programming and Scripting

Excluding certain paras from a file

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)
Discussion started by: kaushys
3 Replies

11. Solaris

Sense Key: Media Error

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)
Discussion started by: summerboy
8 Replies

12. UNIX for Dummies Questions & Answers

Build Error: error: dereferencing pointer to incomplete type

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)
Discussion started by: katwala
8 Replies

13. Linux

Grub Error 25

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)
Discussion started by: etcpasswd
3 Replies

14. AIX

shrinking filesystem error

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)
Discussion started by: raba
7 Replies