01-06-2002
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I'm relatively new to the UNIX world and would like to install Solaris on my system. I'm currently running win2k professional and from past experience I know that Win2k doesn't like other OSes installed after it is. I was wondering if there's a way to install Solaris on my machine... (4 Replies)
Discussion started by: Tylerp
4 Replies
2. UNIX for Dummies Questions & Answers
Hello, sorry to bug again....a friend of mine who works for a software company asked the network guy there .....I want to install Linux 7.2 on my windows 2000 box....Mr. Network said that I should have installed linux first then 2k.....does it really make a difference which operating system is... (1 Reply)
Discussion started by: jonas27
1 Replies
3. UNIX for Dummies Questions & Answers
(is there a better forum for this question?)
Has anyone been successful at dual booting redhat linux 6.0 and win 2000 pro? I never had a problem dual booting linux with win98 and my first few tries with win2k were unsuccessful. I am going to try again but would like to get some other people's... (0 Replies)
Discussion started by: edwardtisdale
0 Replies
4. UNIX for Dummies Questions & Answers
From doing some research it should be /dev/sda (SCSI drive) but mine doesn't display that. How can I find out where it is located? (1 Reply)
Discussion started by: shorty
1 Replies
5. Windows & DOS: Issues & Discussions
Hello everyone,
I'm having some difficulty trying to convert a MBR file with hex codes into a "translated" version, where the output explains the contents of the file. For example, a table of primary partitions that I want to translate into plain english:
--- MBR: ---
Partition 1 - 80 01... (2 Replies)
Discussion started by: touvlo2000
2 Replies
6. AIX
Hello,
This is a test/lab LPAR. Recently installed and updated the SP/TL. everything seems to be working fine. (ran all post install checks)
I checked the state of boot record, received the following error/failed message. Can you please explain what does this mean ?
/>ipl_varyon -i
... (1 Reply)
Discussion started by: dio34
1 Replies
7. UNIX for Beginners Questions & Answers
Hello and thanks in advance for any help anyone can offer
Hopefully this is a simple question but is the Volume Boot Record (VBR) only used in Windows? I've seen references to it in relationship to Windows & not Linux... but I'm not sure if that means it's unique to Windows or not. If it is... (1 Reply)
Discussion started by: bodisha
1 Replies
8. Solaris
I installed x86 Solaris 10 update 10 after Windows XP, later I removed xp and installed Debian 9 stretch on the same partition but, Debian couldn't find any other os so it deleted Solaris 10 grub or did something like that I couldn't got.
I thought I would be able to recover the lost record by... (0 Replies)
Discussion started by: vectrum
0 Replies
9. Post Here to Contact Site Administrators and Moderators
In the past five minutes stomp has created two thread titled "Bug: empty lines get sometimes duplicated in new post". When I try to read either of those threads, Safari gives me a window containing the message shown in the attachment. (11 Replies)
Discussion started by: Don Cragun
11 Replies
LEARN ABOUT PHP
stomp_error
STOMP_ERROR(3) 1 STOMP_ERROR(3)
Stomp::error - Gets the last stomp error
Object oriented style (method):
SYNOPSIS
public string Stomp::error (void )
DESCRIPTION
Procedural style:
string stomp_error (resource $link)
Gets the last stomp error.
PARAMETERS
o $link
-Procedural style only: The stomp link identifier returned by stomp_connect(3).
RETURN VALUES
Returns an error string or FALSE if no error occurred.
EXAMPLES
Example #1
Object oriented style
<?php
/* connection */
try {
$stomp = new Stomp('tcp://localhost:61613');
} catch(StompException $e) {
die('Connection failed: ' . $e->getMessage());
}
var_dump($stomp->error());
if (!$stomp->abort('unknown-transaction', array('receipt' => 'foo'))) {
var_dump($stomp->error());
}
/* close connection */
unset($stomp);
?>
The above example will output something similar to:
bool(false)
string(43) "Invalid transaction id: unknown-transaction"
Example #2
Procedural style
<?php
/* connection */
$link = stomp_connect('ssl://localhost:61612');
/* check connection */
if (!$link) {
die('Connection failed: ' . stomp_connect_error());
}
var_dump(stomp_error($link));
if (!stomp_abort($link, 'unknown-transaction', array('receipt' => 'foo'))) {
var_dump(stomp_error($link));
}
/* close connection */
stomp_close($link);
?>
The above example will output something similar to:
bool(false)
string(43) "Invalid transaction id: unknown-transaction"
PHP Documentation Group STOMP_ERROR(3)