10 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
My system is Redhat 5.6. I want to install snort in my system which requires following dependencies.
1. Libpcap... (8 Replies)
Discussion started by: Ankur Goyal
8 Replies
2. Solaris
Not very helpful to say the least. Seems to read the flar file and go through the upgrade and then come up with this error.
Any ideas? (1 Reply)
Discussion started by: psychocandy
1 Replies
3. Red Hat
Hi Team,
I am trying to Install Oracle 10g in my Linux Fedora 13. But It shows a following error. Please help me..
# yum install oracle-xe-10.2.0.1-1.0.i386.rpm --nogpgcheck
Output:
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Examining... (2 Replies)
Discussion started by: Adhi
2 Replies
4. Solaris
Hello,
My Solaris 10 on VMWare Workstation crashed and was giving me so many errors i decided to re install it but after selecting the type of Solaris installation this error comes up:
Warning: /pci@0,0/pci15ad,79011/pci15ad,770@3 (echi0): No SOF interrupts have been recieved, this USB EHCI... (0 Replies)
Discussion started by: runell
0 Replies
5. Debian
Hey all,
Here's my dilemma:
1. I'm a newbie at scripting!
2. I need to create a script that checks: If a file size is equal to zero, then stop the installation.
Is there a way to do this or am I wasting my time???
Thanx in advance! :b: (2 Replies)
Discussion started by: thazsar
2 Replies
6. Solaris
Hi friends,
I am trying to install Solaris 10 x86 on a compaq computer, which has
Intel Pentium 4, 2.4Ghz
512MB RAM
40GB Hardisk
When I boot from the Solaris 10 x86 DVD ROM, it gives me three options
Solaris
Solaris Serial Console ttya
Solaris Serial Console ttyb (for lx50, v60x and... (6 Replies)
Discussion started by: gabam
6 Replies
7. Shell Programming and Scripting
Hi, for an exercise I need to write a script that will ask the user about each package in a (local) repository and install it or not according to the user's input.
I am fairly new to scripting, so I did not get very far. Here is what I came up with. I really appreciate your help.
... (1 Reply)
Discussion started by: Softsmid
1 Replies
8. Solaris
Hi expert,
Installation of Bash from sunfreeware failed on Solaris 2.5.1.
Help !
# /usr/local/bin/bash
ld.so.1: /usr/local/bin/bash: fatal: libsnprintf.so.1: open failed: No such file or directory
Killed
# (3 Replies)
Discussion started by: skully
3 Replies
9. Solaris
Hi there, new to unix/linux, please excuse me!
I am trying to install Solaris 10 on a machine, and after some teething problems (on another thread) I have got so far with the installation and am now getting an different error:
Warning
Error : The Solaris CD/DVD you inserted is not compatible... (3 Replies)
Discussion started by: gavin watson
3 Replies
10. UNIX for Dummies Questions & Answers
Hi
Installation of SCO UNIX showing error "MEMORY ERROR LOADING FD(64) UNIX.TEXT, OVERLAPS SEGMENT 196544K - 192 M/P"
What exactly it means? (0 Replies)
Discussion started by: SyedT
0 Replies
INTLCAL_GET_ERROR_CODE(3) 1 INTLCAL_GET_ERROR_CODE(3)
IntlCalendar::getErrorCode - Get last error code on the object
Object oriented style (method):
SYNOPSIS
public int IntlCalendar::getErrorCode (void )
DESCRIPTION
Procedural style:
int intlcal_get_error_code (IntlCalendar $calendar)
Returns the numeric ICU error code for the last call on this object (including cloning) or the IntlCalendar given for the $calendar param-
eter (in the proceduralstyle version). This may indicate only a warning (negative error code) or no error at all ( U_ZERO_ERROR). The
actual presence of an error can be tested with intl_is_failure(3).
Invalid arguments detected on the PHP side (before invoking functions of the ICU library) are not recorded for the purposes of this func-
tion.
The last error that occurred in any call to a function of the intl extension, including early argument errors, can be obtained with
intl_get_error_code(3). This function resets the global error code, but not the objects error code.
PARAMETERS
o $calendar
- The calendar object, on the procedural style interface.
RETURN VALUES
An ICU error code indicating either success, failure or a warning.
EXAMPLES
Example #1
intlcal_get_error_code(3) and IntlCalendar.getErrorMessage(3)
<?php
ini_set("intl.error_level", E_WARNING);
ini_set("intl.default_locale", "nl");
$intlcal = new IntlGregorianCalendar(2012, 1, 29);
var_dump(
$intlcal->getErrorCode(),
$intlcal->getErrorMessage()
);
$intlcal->fieldDifference(-1e100, IntlCalendar::FIELD_SECOND);
var_dump(
$intlcal->getErrorCode(),
$intlcal->getErrorMessage()
);
The above example will output:
int(0)
string(12) "U_ZERO_ERROR"
Warning: IntlCalendar::fieldDifference(): intlcal_field_difference: Call to ICU method has failed in /home/glopes/php/ws/example.php on line 10
int(1)
string(81) "intlcal_field_difference: Call to ICU method has failed: U_ILLEGAL_ARGUMENT_ERROR"
SEE ALSO
IntlCalendar::getErrorMessage, intl_is_failure, intl_error_name, intl_get_error_code, intl_get_error_message.
PHP Documentation Group INTLCAL_GET_ERROR_CODE(3)