PHP repeat region not repeating

Hello,
Not sure if this or PHP application is te right forum so I posted it in both. So I am trying to get Dreamweaver to show all the returned records from my sql query but it only shows the first record even though $totalrows_rs_WineNotes shows up as more.
Here is what the code looks like:
<?php require_once('../Connections/PF_WINE.php'); ?>
<?php
$Wine = $_POST['Wine'];
$Vintage = $_POST['Vintage'];
$Vineyard = $_POST['Vineyard'];
$Varietal = $_POST['Varietal'];
$Appellation = $_POST['Appellation'];
$Producer = $_POST['Producer'];
?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
  if (PHP_VERSION < 6) {
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;   
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  return $theValue;
$Vintage_rs_WineNotes = "0";
if (isset($Vintage)) {
  $Vintage_rs_WineNotes = $Vintage;
mysql_select_db($database_PF_WINE, $PF_WINE);
$query_rs_WineNotes = sprintf("SELECT * FROM WINE WHERE WINE.WINE_VINTAGE = %s", GetSQLValueString($Vintage_rs_WineNotes, "int"));
$rs_WineNotes = mysql_query($query_rs_WineNotes, $PF_WINE) or die(mysql_error());
$row_rs_WineNotes = mysql_fetch_assoc($rs_WineNotes);
$totalRows_rs_WineNotes = mysql_num_rows($rs_WineNotes);
mysql_free_result($rs_WineNotes);
?>
<?php echo $totalRows_rs_WineNotes ?>
<p></p>
<?php do { ?>
  <hr />
  <p><?php echo $row_rs_WineNotes['WINE_VINTAGE']; ?></p>
  <p><?php echo $row_rs_WineNotes['WINE_PRICE_RANGE']; ?></p>
  <p><?php echo $row_rs_WineNotes['WINE_ID']; ?></p>
<p><?php echo $row_rs_WineNotes['VARIETAL_TYPE_ID']; ?></p>
  <?php } while ($row_rs_WineNotes = mysql_fetch_assoc($rs_WineNotes)); ?>

JoeSmoe_03 wrote:
mysql_free_result($rs_WineNotes);
?>
<?php echo $totalRows_rs_WineNotes ?>
<p></p>
<?php do { ?>
  <hr />
  <p><?php echo $row_rs_WineNotes['WINE_VINTAGE']; ?></p>
  <p><?php echo $row_rs_WineNotes['WINE_PRICE_RANGE']; ?></p>
  <p><?php echo $row_rs_WineNotes['WINE_ID']; ?></p>
<p><?php echo $row_rs_WineNotes['VARIETAL_TYPE_ID']; ?></p>
  <?php } while ($row_rs_WineNotes = mysql_fetch_assoc($rs_WineNotes)); ?>
You're using mysql_free_result(), which deletes the database result from memory, before trying to loop through it.
mysql_free_result($rs_WineNotes); should go right at the end of the script.
BTW, I see you posted a question about this in the Dreamweaver Help pages. Please do not post in two places at the same time. This forum (http://forums.adobe.com/community/dreamweaver/dreamweaver_development) is the appropriate place for such questions.

Similar Messages

  • In content editing repeating regions not working Safari 6.05 and Google Chrome v30.0.1599.66 mac? No

    In content editing repeating regions not working Safari 6.05 and Google Chrome v30.0.1599.66 mac?
    Marquees not showing, works perfectly fine on PC IE 9.
    Can edit text put cannot duplicate regions?
    Can anyone advise? Not good if the client worjs on Mac.

    Marquees the HTML tag? It's the most hated HTML tag out there, most browsers removed it because it was such a pain to see in 1996 scrolling images and scrolling everything

  • Stand alone APEX listener install fails with timezone region  not found

    Hi,
    I have searched the forum but found only a thread for the installation with Goldfish.
    I am very new to all this so I apologise if my problem is too simple, but please help as I am very frustrated with it.
    I have a 10.2.0.4 database on Windows XP for testing with.
    I installed APEX into it successfully, then down loaded the listener.
    I have to Java installations, one under my Oracle Home, the other under Middleware where I have JDeveloper installed.
    If I try $ORACLE_HOME/jdk/bin/java -jar apex.war it throws a Unsupported class version so I tried with the Middleware jdk and it appeared to install.
    I then went to http://localhost:8080/apex/listenerConfigure and entered the password for APEX_PUBLIC_USER and the info for a basic connection, it fails with the following message
    Request could not be processed due to error:
    Sat Apr 30 00:06:30 CAT 2011
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    Please if anyone can help me through asap this I would be most grateful

    Yay, I found the solution:
    I started by running:
    begin
    for v_rec in (select tzname,tz_offset(tzname) v_offset from v$timezone_names
    where tzabbrev='CAT') loop
    dbms_output.put_line('tzname '||v_rec.tzname||', offset '|| v_rec.v_offset);
    end loop;
    end;
    SQL> /
    tzname Africa/Khartoum, offset +03:00
    tzname Africa/Windhoek, offset +01:00
    tzname America/Anchorage, offset -08:00
    tzname US/Alaska, offset -08:00
    PL/SQL procedure successfully completed.
    I then added -Duser.timezone="+01:00" before the apex.war ie
    java –jar -Duser.timezone="+01:00" apex.war

  • Refresh PL/SQL Report Region (not Page) using Select List value

    Hi,
    I've got a report region based on a 'PL/SQL function body returning a SQL query'which gets generated on selecting a value from a Select list item, The Select List action is 'Redirect and Set value' but this causes the whole page to refresh rather than just the report region. I've tried to refresh the report only using a dynamic action on the Select List item (Action now reset to  'None') but now the report is not appearing on choosing from the List. Can anyone suggest a solution that will allow me to refresh this report without refreshing the page? I am using APEX 4.2.2 and the report syntax is as follows:
    DECLARE
      v_statement VARCHAR2(500);
    BEGIN
      SELECT query_text
        INTO v_statement
       FROM sql_queries
       WHERE query_id = :P2_QUERY ;
       RETURN v_statement ;
    END ;
    where P2_QUERY is Select List Item,
    regards,
    Kevin.

    KevinFitz wrote:
    The report region being displayed is conditional on P2_QUERY item being NOT NULL. I assume the region not appearing is because the Action for the Select List Item is set to None and so P2_QUERY is always NULL.
    No, the region is not appearing because it is conditional on P2_QUERY being NOT NULL. This means that the report region never exists on the page shown in the browser, so it can't be dynamically refreshed. (Dynamic refresh doesn't evaluate region conditions, and it only re-renders the report content, not the entire region.)
    Remove the condition on the report region, check the refresh is working, then reconsider exactly what the requirements here are. If you want the region to appear only when P2_QUERY has a value, and you want it to be refreshed without submitting and re-rendering the page, then the region needs to be hidden rather than conditionally rendered, and shown via a dynamic action when P2_QUERY gets a value.
    I tried adding an additional Set Value True Action for the DA event but got an error as listed above,
    All irrelevant if Page Items to Submit on the region is used properly.

  • ORA-00604: error at recursive sql level 1ORA-01882: timezone region not fou

    hello eveyone i have installed SQL developer and try to create a connexion but it shows the following error:
    " : ORA-00604: error at recursive sql level 1ORA-01882: timezone region not found"
    (i choosed TNS as connexion type , default as rol )
    plz help
    thanks

    Hi Raccio,
    Using the forum search functionality, I came across the following threads with some tips that might help you:
    ORA-00604 & ORA-01804 when connecting to Oracle 11 database 11.1.0.6.0
    ora-01882 "timezone region not found" with 3.0.03.97 but not with 3.0.03.45
    Regards,
    Gary Graham
    SQL Developer Team
    Edited by: gggraham on Jul 20, 2011 1:03 PM

  • ERROR in JDEVELOPER: ORA-01882: timezone region not found

    Hello All,
    When i create new database connection with HR database (XE), I'm getting ORA-01882: timezone region not found error in jdeveloper.
    Database Navigator->Create Database Connection
    How to i fix this problem?
    - JDeveloper 11.1.1.4
    - Oracle Expression Edition 10g.
    Thank you,
    Erdenebayar.

    Hi Erdenebayar,
    How did u add the line in jdev.conf i tried by adding below variants but none worked. Can you please print exact line that you've added to jdev.conf and added to projects (I'm using jdev 11.1.1.4):
    Variant 0)
    -Duser.timezone="+05:30" (each projects run profile)
    Variant 1)
    AddVMOption -Duser.timezone='05.30' (line added to jdev.conf)
    -Duser.timezone='05.30' (each projects run profile)
    Variant 2)
    AddVMOption -Duser.timezone='+05.30' (line added to jdev.conf)
    -Duser.timezone='+05.30' (each projects run profile)
    Variant 3)
    AddVMOption -Duser.timezone='+05.30' (line added to jdev.conf)
    -Duser.timezone='+05.30' (each projects run profile)
    Variant 4)
    AddVMOption -Duser.timezone="+05:30" (line added to jdev.conf)
    -Duser.timezone="+05:30" (each projects run profile)
    Variant 5)
    AddVMOption -Duser.timezone="05:30" (line added to jdev.conf)
    -Duser.timezone="05:30" (each projects run profile)
    But none are resolving the issue.

  • ESS Error Structure field Region not found

    Hello everyone,
    In Netweaver I installed the ESS/MSS and i'm getting the following error, when I go to "Travel and Expenses" -> "Create Travel Plan"
    com.sap.tc.webdynpro.progmodel.context.ContextConfigurationException: DataNodeInfo(FcTrpPlan.PlanBookAndSave.PlanBookAndSave_I_Address): structure field Region not found
        at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java:299)
        at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initUnmappedAttributes(NodeInfo.java:687)
        at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:238)
        at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
        at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
        ... 54 more
    Do you have an idea how to solve the problem? Thanks a lot!

    Hi All
    We are also getting a similar error. It seems the error is related to SP Levels. Have you been able to resolve this error. Can you please share the details...Thanks

  • JDeveloper 11g (timezone region  not found)

    Hi all,
    I've just installed JDeveloper 11g and made sample ADF application. When I tried to run application module I got this error:
    *(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: java.sql.SQLException, msg=ORA-01882: timezone region not found*
    I'm using database 10g (10.2.0), is this the problem?!
    Thanks
    Edited by: Bassam2 on Oct 14, 2008 3:58 PM

    hi Bassam2
    see JDeveloper 11g production version error
    success
    Jan Vervecken

  • Document Viewer region not rendered

    Hi,
    Document Viewer region not rendered in one of the OA page. Following is the code added add the Document Viewer region in the parent page:
    <oa:header id="XDOCommonRN" extends="/oracle/apps/xdo/oa/common/webui/DocumentViewerRn.MainRegion" securityMode="selfSecured"/>
    This works fine in one environment and does not work in other. Please suggest what could be the reason? Is there a profile option which controls the visibility of Document Viewer region?
    Thanks
    Sanjeeva

    Hi,
    Document Viewer region not rendered in one of the OA page. Following is the code added add the Document Viewer region in the parent page:
    <oa:header id="XDOCommonRN" extends="/oracle/apps/xdo/oa/common/webui/DocumentViewerRn.MainRegion" securityMode="selfSecured"/>
    This works fine in one environment and does not work in other. Please suggest what could be the reason? Is there a profile option which controls the visibility of Document Viewer region?
    Thanks
    Sanjeeva

  • Time zone region not found

    Hai All,
    I m using 11g JDeveloper. I am facing one problem while running one sample program, which has been downloaded from the net.Error is - "Time zone Region not Found" Where I can set the Time zone property?
    Could u please help me to solve this error.
    Thanks in advance
    Jithesh
    Edited by: Jithesh on Feb 3, 2009 6:18 PM

    From Oracle Messages 'Cause and Action'
    http://www.oracle.com/technology/products/designer/supporting_doc/des9i_90210/cmnhlp72/messages/ora_messages.htm
    ORA-01882, 00000, "timezone region %s not found"
    Cause: The specified region name was not found.
    Action: Please contact Oracle Customer Support.
    Maybe invalid region in NLS_LANG?
    "select * from v$nls_parameters"
    Starting this script in all developer program and compared result...

  • ORA-01882: timezone region  not found

    Hi
    I am getting an error while i am trying to access the Data-source created in my weblogic server
    I have created Data source and the test connection was success ,after that i have deployed my application to weblogic server
    whenever my application trying to access Database through i am getting an error ORA-01882: timezone region  not found
    I am using weblogic 10.3 installed on Enterprise-Linux Release5 for 64 bit
    I am using Oracle 11 DB installed on windows 2003 server
    and i have tried by adding -Duser.timezone=GMT+5:30 to JAVA_PROPERTIES in setDomainEnv.sh and i tried a lot of time zones eg: UTC,...
    Please Advice
    Please see the log below
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region  not found
    at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5128)
    at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5016)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1128)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6368)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:286)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:553)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:409)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8534)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4392)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2388)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2204)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3088)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
    at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1494)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1399)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1370)
    at view.backing.Login.fnLogin(Login.java:69)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    Dear Joe,
    Once again thank you very much for your prompt response.
    I have tried the proposed solution without success. In order to identify the exact issue I have created a small application and tried with JDBC connection as below It works fine. But when tried using the DSN it does NOT connects.
    Any idea whether we should consider any special option when we create DSN on WL which is in Linux when compared to Windows? Please advice.
    ====================
    public static Connection getConnection() throws Exception
         Connection con=null;
         String url = "jdbc:oracle:thin:@10.201.1.65:1521:TEST";
         String driverName = "oracle.jdbc.driver.OracleDriver";
         Class.forName(driverName);
         con = DriverManager.getConnection(url, "HR", "HR");
    System.out.println("CONNECTED===>"+con);
         return con;
    =====================
    Thanks in advance
    -Jeethi

  • ORA-01882:timezone region not found while trying to add ADF-BC Fact in Rule

    Hi,
    I want to use the SOA component "Oracle Business Rules" in the ADF application.
    I created a ADF Application, created relevant VO's. I created a SOA project in the same workspace and tried to add a ADF-BC fact to the Business Rule component.
    I configured the -Duser.timezone="+05:30" option for java runtime.
    However I still get the timezone not found exception and am unable to add ADF-BC fact to the rule component.
    Here is the full stack trace.
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region not found
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5550)
         at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5267)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1185)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6728)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:153)
         at oracle.rules.sdk2.datamodel.impt.AdfBcTransactionFactory.createTransaction(AdfBcTransactionFactory.java:50)
         at oracle.rules.sdk2.datamodel.impt.FactTypeImporter.addAdfBcFactType(FactTypeImporter.java:1899)
         at oracle.rules.sdk2.datamodel.impt.FactTypeImporter.addAdfBcFactType(FactTypeImporter.java:1875)
         at oracle.tip.tools.ide.rules.sdkmodel.SDKModel.createBCFacts(SDKModel.java:3155)
         at oracle.tip.tools.ide.rules.editor.facts.bc.BCFactCreationPanel.handleImportViewDefinition(BCFactCreationPanel.java:222)
         at oracle.tip.tools.ide.rules.editor.facts.bc.BCFactCreationDialog$2.run(BCFactCreationDialog.java:157)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.sql.SQLDataException: ORA-01882: timezone region not found
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:998)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
         at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1822)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1787)
         at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:280)
         at oracle.jdbc.driver.PhysicalConnection.setSessionTimeZone(PhysicalConnection.java:8007)
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5544)
         ... 19 more
    ## Detail 0 ##
    java.sql.SQLDataException: ORA-01882: timezone region not found
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:998)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
         at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1822)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1787)
         at oracle.jdbc.driver.OracleStatementWrapper.executeUpdate(OracleStatementWrapper.java:280)
         at oracle.jdbc.driver.PhysicalConnection.setSessionTimeZone(PhysicalConnection.java:8007)
         at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5544)
         at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5267)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1185)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6728)
         at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:153)
         at oracle.rules.sdk2.datamodel.impt.AdfBcTransactionFactory.createTransaction(AdfBcTransactionFactory.java:50)
         at oracle.rules.sdk2.datamodel.impt.FactTypeImporter.addAdfBcFactType(FactTypeImporter.java:1899)
         at oracle.rules.sdk2.datamodel.impt.FactTypeImporter.addAdfBcFactType(FactTypeImporter.java:1875)
         at oracle.tip.tools.ide.rules.sdkmodel.SDKModel.createBCFacts(SDKModel.java:3155)
         at oracle.tip.tools.ide.rules.editor.facts.bc.BCFactCreationPanel.handleImportViewDefinition(BCFactCreationPanel.java:222)
         at oracle.tip.tools.ide.rules.editor.facts.bc.BCFactCreationDialog$2.run(BCFactCreationDialog.java:157)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)

    Hi,
    ORA-01882: timezone region not found in pivot is it bug
    Its a database error, why do you think its a bug with the Pivot table. The same behavior can be observed with WebLogic Server and SQL Developer - so I am not quite sure how this can be pointed back to the pivot table in your opinion. Maybe this here will help you getting to the core of the problem: http://www.jvmhost.com/articles/java-and-timezones
    Frank
    Edited by: Frank Nimphius on Jun 1, 2012 8:01 AM

  • Error ORA-01882: timezone region not found

    Hi, Any one can help on this issue.
    On Webpage
    :P129_CRT_START: 20-JUL-2007 11:45
    :P129_CRT_TZ: PST8PDT
    :P129_LOCAL_TZ: Asia/Calcutta
    SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE(:P129_CRT_START, 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),':P129_CRT_TZ') AT TIME ZONE ':P129_LOCAL_TZ' FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL
    Error ORA-01882: timezone region not found
    Error ERR-1019 Error computing item default value: page=129 name=P129_LOCAL_CRT_START.
    OK
    with SQL Prompt
    SQL> SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE('&P129_CRT_START', 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),'&P129_CRT_TZ') AT TIME ZONE '&P129_LOCAL_TZ' FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL;
    Enter value for p129_crt_start: 20-JUL-2007 11:45
    Enter value for p129_crt_tz: PST8PDT
    Enter value for p129_local_tz: Asia/Calcutta
    old 1: SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE('&P129_CRT_START', 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),'&P129_CRT_TZ') AT TIME ZONE '&P129_LOCAL_TZ' FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL
    new 1: SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE('20-JUL-2007 11:45', 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),'PST8PDT') AT TIME ZONE 'Asia/Calcutta' FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL
    TO_CHAR((SELECTFR
    21-JUL-2007 00:15
    I am not getting default value of the Item. Please Help.
    Regards,
    Rahul

    SELECT TO_CHAR((SELECT FROM_TZ(CAST(TO_DATE(:P129_CRT_START, 'DD-MON-YYYY HH24:MI') AS TIMESTAMP),(:P129_CRT_TZ)) AT TIME ZONE (:P129_LOCAL_TZ) FROM DUAL), 'DD-MON-YYYY HH24:MI') FROM DUAL
    Workling

  • ORA-01882: timezone region  not found in pivot ?

    Hi Experts,
    i think this known to all who are using jdev11.1.1.5.0 :) while am playing with pivot table, show this error(mentioned in subject) at last step (most of the times may/sometimes may not) but i can able to complete.
    can i able fix this.? if so how?
    i already give this -Duser.timezone='+05:30' to my project both Model||View Controller.Is there any other specific setting to do that?
    thanks&&Regards
    adf7.

    Hi,
    ORA-01882: timezone region not found in pivot is it bug
    Its a database error, why do you think its a bug with the Pivot table. The same behavior can be observed with WebLogic Server and SQL Developer - so I am not quite sure how this can be pointed back to the pivot table in your opinion. Maybe this here will help you getting to the core of the problem: http://www.jvmhost.com/articles/java-and-timezones
    Frank
    Edited by: Frank Nimphius on Jun 1, 2012 8:01 AM

  • ORA-01882: timezone region not found  in NetBeans 7.0.1

    Please how do I solve ORA-01882: timezone region not found in Netbeans 7.0.1 ?

    no such TZNAME as Africa/Luanda Version 4 of the timezone patch doesn't have that one either, and if you don't have at least version 3 the DST rules won't be correct for the 2007 DST changes. v4 does have Africa/Windhoek if that's close enough, can't tell if that one is in v2 we don't have anything on a patch earlier than v4.
    Might be able to work around it by specifying an offset (i.e. +1:00) instead of a named time zone, patch files for the base 10.2.0.1 aren't even listed in support note 412160.1. There is also note 396387.1, "Workarounds when Database time zone patches are not available for your patchset" that one might be helpful.

  • ORA-01882: timezone region not found  in Windows 2003 Server System

    Hi,
    I am using windows server 2003 and the IDE jdeveloper 11.1.1.1.0. I have this error ORA-01882: timezone region not found .
    To resolve it, I added -Duser.timezone=GMT in my project properties. It doesn't work in windows server 2003. I tried the same thing in windows xp it works well.
    So, what's the problem concerning windows server 2003 ??
    please help me.
    thanks a lot.

    no such TZNAME as Africa/Luanda Version 4 of the timezone patch doesn't have that one either, and if you don't have at least version 3 the DST rules won't be correct for the 2007 DST changes. v4 does have Africa/Windhoek if that's close enough, can't tell if that one is in v2 we don't have anything on a patch earlier than v4.
    Might be able to work around it by specifying an offset (i.e. +1:00) instead of a named time zone, patch files for the base 10.2.0.1 aren't even listed in support note 412160.1. There is also note 396387.1, "Workarounds when Database time zone patches are not available for your patchset" that one might be helpful.

Maybe you are looking for

  • Free circular gauge control

    Download: http://www.beaugauge.com/download/en/free/BeauGaugeActiveXControls.zip Use circular gauge ActiveX control in your LavView project http://www.beaugauge.com/en/edu036.htm For additional resources, please visit the website. http://www.beaugaug

  • JNDI lookup in a cluster

    Hi,           The WL documentation contains the following:           "When clients obtain an initial JNDI context by supplying the cluster DNS           name, weblogic.jndi.WLInitialContextFactory obtains the list of all           addresses that are

  • Odd iBook question - g4 board in a g3 case?

    After dealing with another logic board failure on my iBook g3, I have reached the point of wondering if I should avoid the g3 boards entirely and go with an iBook g4 board this time. Does anyone know if the logic board from a 12" iBook g4 will physic

  • Office 365 and IP

    We want to install the Office 365 applications locally on our users' boxes but restrict them from saving documents (accidentally or otherwise) to OneDrive. (Nothing against OneDrive but we prefer to keep Intellectual Property in-house for security re

  • Help!About the xml

    If i want to import a xml file,is the encoding must be "utf-8"???