ODI timestamp issue

Hi ,
We are having a source column datatype as Date(Oracle 10g).
When we just used the select date  from table --- the output is like '17-SEP-10 08:02:32'
In the target also the date column data type is Date(Oracle 10g)...
its a one - one mapping...after running the interface ,if we check the date column '17-SEP-10 12:00:00' ,for all the records we are getting the same format.
what might be the issue...... the timestamp is not same as the source ,instead we are getting timestamp 12:00:00 same for all records..
Any changes need here...plz let me know.
Thanks,
Ananth

I'm not sure for you but,
Few times ago we've seen an issue with our dates between source and target DB (both 10g).
when on source there was HH24:MI:SS filled correctly, in target there was always 00:00:00.
It occurs only when we were loading data from one server to another (never when source and target were on same server).
It looks really similar with your issue...
After some search it seems to came from our JDBC driver(Thin one)...
To correct this I add a property in Topology each time I use this JDBC url.
For each Data server I add the following property on Properties tab :
Key = oracle.jdbc.V8Compatible     
Value = true
you can maybe try with this...
Hope to help
Regards,
Brice

Similar Messages

  • ODI Licensing Issue

    Hi,
    we are using ODI 10.1.3.5 version. I am facing ODI Licensing Issue. Can you any one suggest me how to update Licensing and its cost of the tool ??.

    Hi ,
    You need to contact Oracle Sales team base out from your region .
    Get the contact details from
    http://www.oracle.com/us/corporate/contact/global-070511.html
    For more information about licensing visit
    http://www.oracle.com/corporate/pricing/index.html?origref=http://www.oracle.com/us/corporate/contact/global-070511.html
    http://www.oracle.com/corporate/lms/index.html?origref=http://www.oracle.com/us/corporate/contact/global-070511.html
    Thanks,
    Sutirtha

  • SCORM timestamp issue

    Hi there,
    I've been having issues with multiple quiz attempts and interactions not all being sent to the LMS. Most answers are sent though randomily LMS drops couple of answers on each re-attempt of the quiz yet each question is set to report the answer. It also doesnt appear to occur on first attempt only new attempts after first failed. LMS provider says this is a timestamp issue in the course which doesnt send it incorrect SCORM format therefore it rejects it when the same interaction id is already there from previous attempt failed. Below is the error from LMS. Please anyone advise how this might be corrected inside Captivate.
    [11:05:25.897] SetValue('cmi.interactions.29.timestamp', '2013-09-13T11:05:25.0+00:60') returned 'false' in 0.001 seconds
    [11:05:25.898] GetLastError() returned '406' in 0 seconds
    [11:05:25.899] GetErrorString('406') returned 'Data Model Element Type Mismatch' in 0 seconds
    [11:05:25.900] GetDiagnostic('') returned 'The cmi.interactions.29.timestamp value of '2013-09-13T11:05:25.0+00:60' is not a valid time type.' in 0 seconds

    Im using captivate 6

  • Date Timestamp issue

    Hi All,
    I am having a table in on database with a column of datatype DATE. There is a value which has date with timestamp. When i build an interface in ODI and do a 1-1 mapping with another table in a different database which is also of datatype DATE only DATE appears and the timestamp is missing. The version of ODI i am using is 10.1.3.2.
    If the tables are in same database then the samething is working, its accepting Date with timestamp.
    Any solution?
    Thanks,
    Vikram
    Edited by: Vikram Datta on Nov 14, 2008 3:06 AM

    Hi Vikram,
    Unfortunately this is a issue that happens when the data "travel" thru agent.
    There are some ways to solve that:
    1) create an temp table (yellow interface) just like the target table but with all Date columns to varchar and use the "to_char" function at source. After that, create a second interface from this temp table to target but now with "to_date" at staging area.
    2) customize your KM to do it for you. I mean, make the km works like above, but at its work tables (C$, I$) keeping the transformation implicit (invisible) to the programmer but as explicit conversion to the database.
    3) take a look at what is the default timestamp format at target database and make the transformation to it (to_char) letting an "implicit conversion" to the target database.
    The problem here is: If the default format change, all interfaces will need to be altered.
    4) customize the KM to set the format datatime at database for the ODI step and use this format at "to_char" mapping.
    To any solution where the "to_char" is used, the mapping must be at source.
    I always have been used the second option.
    Does it help you?
    Edited by: Cezar Santos on 16/11/2008 11:25

  • ODI-HFM issue with decimal separator

    Hi all,
    We are extracting data from an HFM application A and loading into an HFM application B.
    Example:
    Data extracted from applicaiton A = 21.742.139,55
    Data loaded to application B (verified from Explore Data and Smart View) = 2.174.213.955,00
    Is data loading with ODI-HFM taking the regional settings?
    Any suggestions?
    If we extract data with HFM Client (logged on with the same user configured in HFM Data server) from application A and load it into application B, data is correct in application B.
    Current configuration is:
    - User preferences for HFM Application A
         * Decimal separator = ","
         * Thousands separator = "."
    - User preferences for HFM Application B
         * Decimal separator = ","
         * Thousands separator = "."
    - Regional settings of the server where the agent is running (English US)
         * Decimal separator = "."
         * Thousands separator = ","
    This setting is the same for all HFM application servers
    - ODI Datastore HFMDatastore
         * Decimal separator set to "," (this setting was changed to see if solved the issue)
    - ODI Datastore for staging table
         * Decimal separator set to "," (this setting was changed to see if solved the issue)
    - Language Settings for DB (American English)
    Thanks in advance!

    Hi Pls Use This
        For Decimal Separator other than . we need to Code to Convert , See This Code Below and Do the Code
    Private Function ReturnQty(ByVal Qty As String) As String
    Dim strQty As String
    Dim strSQL As String
    Dim strSeprtr As String
    Dim objRS As SAPbobsCOM.Recordset
    strSQL = "SELECT ThousSep FROM OADM"
    Set objRS = oSBC.oDICompany.GetBusinessObject(BoRecordset)
    objRS.DoQuery (strSQL)
    If Not objRS.EOF Then
            strSeprtr = objRS.Fields.Item("ThousSep").Value
    End If
    If strSeprtr = "," Then
    ReturnQty = Qty
    ElseIf strSeprtr = "'" And Len(Qty) <= 6 Then
    Qty = Replace(Qty, ",", ".")
    'Qty = Replace(Qty, ",", ".")
    ReturnQty = Qty
    Qty = Qty
    ElseIf strSeprtr = "'" Then
    Qty = Replace(Qty, "'", "")
    'Qty = Replace(Qty, ",", ".")
    ReturnQty = Qty
    Qty = Qty
    ElseIf strSeprtr = "." And Len(Qty) <= 6 Then
    Qty = Replace(Qty, ".", ",")
    Qty = Replace(Qty, ",", ".")
    ReturnQty = Qty
    ElseIf strSeprtr = "." Then
    Qty = Replace(Qty, ".", "")
    Qty = Replace(Qty, ",", ".")
    ReturnQty = Qty
    End If
    End Function
    Mohamed Zubair

  • ODI 11g, Issue with Load plan variable in CASE WHEN STEP

    Hi,
    I am trying to retrieve value of the current context using the following code in refreshing variable:
    Variable name: Context
    Refreshing Code: select  '<%=odiRef.getContext( "CTX_Name" )%>'  from dual
    The variable is returning correct results when I refresh / Call it as part of Run Scenario step.
    Requirement: I want to use the variable Context in CASE step, depending on the value it results I want to execute a selective set of scenarios. I have defined case when steps per the requirements.
    Issue: The behavior of the variable is not as expected when used in CASE WHEN step. Load plan execution always triggers only ELSE part of CASE WHEN step.
    I have tried force refresh option in CASE STEP on the variable Context.
    Need your help and advice on how to fix the issue.
    Thank you,
    Bharani

    HI Bharani,
    Below link may helps you about load plan in ODI
    Help on Load Plan Execution
    Regards,
    Phanikanth

  • HTC One M8 call history timestamp issue

    I have waited patiently for several months through a couple firmware updates, expecting to see this issue addressed. However, it seems to have received very little attention or recognition.
    Using the stock phone app, any calls prior to the current day do not display the timestamp. Only calls made or received during the current day display the time of the call. Any calls received/made prior to the current day only display the date. Any calls placed yesterday only display simply "yesterday." Long-pressing any entries without a timestamp to select "view history" only displays the call "duration."
    A few friends have the same phone on another carrier and their devices display the name, phone number, date and timestamp in the "Call History" and "Phone" logs, even without the need to long press and "View History." They are also using the same stock Phone application. It is quite frustrating to not see the timestamps of missed calls.
    The few references online regarding this issue seem to have concluded this is a carrier programming issue, as those on Verizon have the same issue and those on another carrier do not.
    Does anyone using a Verizon HTC One M8 not have this issue using the stock Phone app?
    Does anyone know of a fix or workaround to address this without installing 3rd-party apps?
    Is Verizon planning to address this issue? Have they already?
    Whom shall I contact to raise this issue?
    Thanks in advance.

    Hi Pamela,
    Here's how things look.
    I can't remember it being any other way on my handset.
    Would appreciate anyone kindly confirming (or denying) this is how entries look on their Verizon HTC M8.
    (Censored for Privacy)
    Call History:
    Phone History:
    Long-Press entry > View Call History:

  • ODI upgrade issue - 10.1.3.5 to 10.1.3.6

    Hi,
    I have tried to Upgrade to upgrade ODI 10.1.3.5 to version 10.1.3.6 using patch p9377717_101360_Generic.
    But facing issue while starting the master repository upgrade - the messages are coming as below -
    "error detected during repository upgrade "
    "com.sunopsis.tools.core.exception.SnpsRuntimeException: java.lang.NullPointerException" and so on...all weird messages.
    Can anybody please help me on this please?
    Also, I am upgrading ODI to 10.1.3.6 as we are supposed to load data into Essbase 11.1.2, will the existing version
    i.e. 10.1.3.5 will work with Essbase 11.1.2?

    Hi ORV,
    If I remember well, you can skip the repository creation as the upgrade assistant will upgrade your 10g cloned reps to 11g reps.
    You only need to install 11g standalone agent(s) to replace the 10g runtime agent(s).
    Regards,
    JeromeFr

  • ODI Frustrating issue.

    Has anyone every come across this error:
    1 : 23000 : java.sql.SQLException: ORA-00001: unique constraint violated
    I ran my ODI a few times and it ran just fine, then i got some new data to run it against and i started to get this error and i continue to get this error...

    Hi TomCusick ,
    As said Ananda, ur tring to insert the same column values agian in the table(those columns specified as primary key).
    solution for this issue is
    1)Enhance the primary key by add some more column
    2)If you interested to update rest of the details of the same colum value records. then you can use IKM incremental update KM. use update mode to enabled.
    3) If you using the IKM control append KMs two option is there they are
    as I said in step1 and another one is removal of control option
    these solutions depend on your requirement.
    Thanks
    Madha

  • ODI - RKM Issue

    Hi,
    Am getting error while performing Reverse Engineering.
    system Configuration
    ODI 10.1.3.4.2
    Database: Oracle Enterprise Manager 10g
    Data Server Port : 11333
    Have confirmed that all required services are running properly as well as
    In case you want to take a look at error log, kindly check at the end of this post.
    Regards,
    Jitendra
    Error Log:
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 41, in ?
    com.hyperion.odi.planning.ODIPlanningException: java.lang.NullPointerException
         at com.hyperion.odi.planning.wrapper.PlanningWrapper.login(Unknown Source)
         at com.hyperion.odi.planning.ODIPlanningConnection.connect(Unknown Source)
         at com.hyperion.odi.common.ODIModelImporter.importModels(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
         at org.python.core.PyMethod.__call__(PyMethod.java)
         at org.python.core.PyObject.__call__(PyObject.java)
         at org.python.core.PyInstance.invoke(PyInstance.java)
         at org.python.pycode._pyx0.f$0(<string>:41)
         at org.python.pycode._pyx0.call_function(<string>)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyCode.call(PyCode.java)
         at org.python.core.Py.runCode(Py.java)
         at org.python.core.Py.exec(Py.java)
         at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.RuntimeException: java.lang.NullPointerException
         at com.hyperion.planning.HspJSHomeImpl.createSecurityAPI(Unknown Source)
         at com.hyperion.planning.HspJSHomeImpl.getSecurityAPI(Unknown Source)
         at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
         at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
         at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
         at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
         at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
         at sun.rmi.transport.Transport$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Unknown Source)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
         at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
         at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
         at sun.rmi.server.UnicastRef.invoke(Unknown Source)
         at com.hyperion.planning.HyperionPlanningBean_Stub.Login(Unknown Source)
         ... 34 more
    com.hyperion.odi.planning.ODIPlanningException: com.hyperion.odi.planning.ODIPlanningException: java.lang.NullPointerException
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    -----------------

    Jitendra Bhagwat wrote:
    Thanks App & John.
    Now i can log onto Planning App.
    The issue was of Hyperion & Oracle Services. The services were running but without any effect. I just wonder how much patience is required to work with Hyperion & ODI, it took me several cycles of Start-Stop-Restart Services to get my Planning App. working.
    Now. my original problem still persist, error: Source not Found.
    I have gone through each and every step number of times, now any hints to troubleshoot this problem?
    Jitendra.It shouldn't need patience I have not come across these sort of stability issues, as long as the RMI service can communicate with the Planning application then usually there not many problems.
    Are you saying your error is now exactly the same as the first post??
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • ODI - UI Issue

    Hi,
    Could you please help me in understanding below issue.
    I have installed ODI 10.1.3.5 in my system and configured Master & Work repository successfully.
    I logged into Designer, when I right cilck on Package/ any object none of the options are coming.
    Thanks in advance.
    Regards,
    Uday

    Uday,
    Check the security manager and see if you have got yourself Designer Profile granted

  • BUGREPORT: Timestamp issue when creating new url mappings

    We have come accross and issue when adding multiple databases and subsiqent url mappings.
    the issue presented in the log is
    ####<Nov 16, 2012 10:49:52 AM CST> <Error> <HTTP> <adeoraapp03.santos.com> <WLS_APEX> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1353025192413> <BEA-101020> <[ServletContext@955221946[app:apex module:apex.war path:/apex spec-version:2.5]] Servlet failed with Exception
    java.lang.IllegalArgumentException: Not a correctly formatted timestamp: 2012-11-15T23:52:58.0080Z
         at oracle.dbtools.common.util.Timestamps.valueOf(Timestamps.java:61)
         at oracle.dbtools.common.config.db.UrlMappings$Builder$1PoolFilter.startElement(UrlMappings.java:199)
         at oracle.dbtools.common.x3p.MatchFilter.startElement(MatchFilter.java:54)
         at oracle.dbtools.common.x3p.impl.Event.invoke(Event.java:52)
         at oracle.dbtools.common.x3p.impl.Chain$EventIterator.advance(Chain.java:125)
         at oracle.dbtools.common.x3p.impl.Chain$EventIterator.advance(Chain.java:79)
         at oracle.dbtools.common.util.AbstractIterator.next(AbstractIterator.java:28)
         at oracle.dbtools.common.x3p.impl.X3PReaderAdaptor.next(X3PReaderAdaptor.java:34)
         at oracle.dbtools.common.config.db.UrlMappings$Builder.read(UrlMappings.java:170)
         at oracle.dbtools.common.config.db.UrlMappings.existing(UrlMappings.java:99)
         at oracle.dbtools.common.config.db.UrlMappings.urlMappings(UrlMappings.java:93)
         at oracle.dbtools.common.config.db.DatabasePoolConfig.loadFromXML(DatabasePoolConfig.java:285)
         at oracle.dbtools.common.config.db.DatabasePoolConfig.loadFromDBFromTime(DatabasePoolConfig.java:181)
         at oracle.dbtools.common.config.db.DatabasePoolConfig.getPoolInfo(DatabasePoolConfig.java:54)
         at oracle.dbtools.rt.jdbc.DatabaseConnectionFilter.poolInfo(DatabaseConnectionFilter.java:60)
         at oracle.dbtools.rt.jdbc.DatabaseConnectionFilter.applyDatabaseConnectionInfo(DatabaseConnectionFilter.java:71)
         at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3732)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    This seems to be due to a time format issue when adding new database mapping in the url-mappings
    when running the following command
    @:as11g_pfrd_prod> java -jar apex.war map-url --type base-path /apexpoc apexpoc
    Nov 16, 2012 10:22:57 AM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /data1/software/oracle/product/as11g_pfrd_prod/user_projects/domains/PFRD_Domain/servers/WLS_APEX/apex_config/apex
    @:as11g_pfrd_prod> pwd
    /data1/software/oracle/product/as11g_pfrd_prod/user_projects/domains/PFRD_Domain/servers/WLS_APEX/stage/apex
    After running the command the following entry was added to url mappings file
    This resulted in the following entries in url-mapping.xml, (the timestamps are in to be in UTC):
    <pool base-path="/apexpoc" name="apexpoc" updated="2012-11-15T23:52:58.0080Z"/>
    Which caused the above stack trace and also caused a internal error 500 on the browser when trying to access APEX
    we removed the url mapping and ran the following command(at a different time in the day)
    @:as11g_pfrd_prod> pwd
    /data1/software/oracle/product/as11g_pfrd_prod/user_projects/domains/PFRD_Domain/servers/WLS_APEX/stage/apex
    @:as11g_pfrd_prod> java -jar apex.war map-url --type base-path /apexpoc apexpoc
    Nov 16, 2012 10:58:35 AM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /data1/software/oracle/product/as11g_pfrd_prod/user_projects/domains/PFRD_Domain/servers/WLS_APEX/apex_config/apex
    which resulted in a new entry in the url mappings table
    <pool base-path="/apexpoc" name="apexpoc" updated="2012-11-16T00:28:35.479Z"/>
    And the apex listener worked again

    Thanks Colm,
    Was this a known issue? If so do we have a common "thread" for known issues?
    And do we have any idea when 2.0 Final is coming out?

  • Timestamp issues between mysql 5.0 and 5.1

    Slightly off the dreamweaver trail here - but that's what I'm using (CS3)....here's hoping someone knows what the issue is here?
    I've created some 'closing soon' and an 'expired' label for some ads I'm running, the php code is below.
    <?php
              // get the current timestamp
      $now = time();
      // get the number of seconds in seven days
      $sevendays = 60*60*24*7;
      // get the expiry date
      $expires = $row_listJobs['job_service_expiry_date'];
      if ($expires < $now) {
        // display the expired image
    echo '<img src="../../images/buttons_labels/expired.gif" alt="expired job" />';
      } elseif ($now + $sevendays > $expires) {
        // display final week image
    echo '<img src="../../images/buttons_labels/closingsoon.gif" alt="job closing soon" />';
        ?>
    This works absolutely fine when using a Recordset with a UNIX_TIMESTAMP in it, and going into the background the 'job_service_expiry_date' field in mysql5.1.30 using php5.2.8 provides a 'Default' parameter whereby I can set the Default 'as defined' followed by 0000-00-00 00:00:00.  There is another date field for job posted - but this is just an ordinary date stamp. None of the fields are set up with current timestamps as I want to be able to update records with dates in the future.
    The problem arises specifically with uploading this to my server (hey it's 1&1 shared host, so things are a little restricted).  I'm running mysql5.0.67 with php5.2.9 here and the timezone is set to Europe/Berlin. (I'm in the UK).  Looking at the background everything is the same EXCEPT for the ability to set the 'Default, as defined etc'.  So, all the options I'm left with is to set it as a TIMESTAMP with Default 0000-00-00 00:00:00.
    Here's the issue. On browsing the relevant page I'm now presented with an error "Function xnameofdatabasex UNIX_TIMESTAMP does not exist" and the page won't load.  This didn't happen during local testing; the page displayed fine, and the php code worked perfectly.
    Has anyone else come across this problem and found a way around it?
    Could it be the difference in the mysql server versions that is causing the issue?? In which case any pointers on how to amend the fields, SQL query or the php code so that it does work would be really appreciated.  Could it work, for example, by setting the posting date as current timestamp and then the expiry date as just a date, with the php code set to display images depending on days ahead of the posted date eg closing soon +25 days, and expired >30 days for example......need help with this as I'm no php expert!
    I can add lines to the .htaccess files, but I've tried adding php_value date.timezone 'Europe/London' to it, but get a 500 error.  My thinking here was that perhaps it was the timezone difference confusing the php?....but I'm not sure.
    Incidently, any ideas on how to set the timezone through .htaccess without getting a 500 error (and within a dreamweaver CS3 environment) would also be welcomed.
    Thanks in advance
    Matt

    Thanks David
    I tried adding that line to .htaccess, but received the 500 internal server error when trying to access the site.  I've added the other line for the time being -hopefully that works!
    The SQL looks like this:
    SELECT jobs.job_id, jobs.client_id, jobs.category_id, LEFT(jobs.job_longdesc, 200) AS first200,
    jobs.job_imagemini, jobs.job_salary, jobs.job_location, jobs.job_country, jobs.job_title,
    jobs.job_posted_date, categories.category_id, categories.category_name,
    clients.client_id, UNIX_TIMESTAMP (jobs.job_service_expiry_date) AS job_service_expiry_date,
    jobs.job_featured
    FROM jobs, categories, clients
    WHERE jobs.client_id = clients.client_id AND jobs.category_id = categories.category_id AND jobs.job_longdesc LIKE %var1% AND jobs.job_country LIKE %var2% AND jobs.job_title LIKE %var3%
    ORDER BY jobs.job_featured ASC, jobs.job_posted_date DESC, jobs.job_title
    Cheers
    Matt

  • IPhone 4 SMS Timestamp Issue

    Hi,
    I have never had any problems with my SMS timestamps but all the messages I am receiving today are displaying the wrong ones. For example with one person I was texting, the timestamp in the main inbox was coming up as 'yesterday' when we had been sending messages to eachother this afternoon. I deleted all the messages that I got from her 'yesterday' and a new timestamp appeared and it was the time of the first message I received off her today.....no matter how many texts to and from we send it wont update. I'v made sure all the time/date settings of the phone are right and even restored it in the hope of fixing it. If anyone could shed some light on this it would be a great help, it's driving me absolutely crazy!
    Thanks!

    Is it just with the one person? Is it with all people on a particular carrier? I'm wondering if it could be a carrier issue. I'd suggest calling yours as a start.
    Best of luck.

  • Date and timestamp issue please help

    In the following creation_date is DATE datatype.
    creation_time is VARCHAR2 having only MI:SS (16:02).
    :DATE_LAST_CHECKED is VARCHAR2 having string without time.
    If that be the case how can I compare these 2 statements with the time. I need to compare with timestamp.
    Please let me know.
    TO_DATE(TO_CHAR(TRUNC(csa.CREATION_DATE),'DD-MON-YYYY') ||' ' || csa.creation_time,'DD-MON-YYYY HH:MI pm')
    = TO_DATE(NVL(:DATE_LAST_CHECKED,SYSDATE-5),'DD-MON-YYYY HH24:MI:SS')

    I won't even ask why creation_date and creation_time are split out into separate columns. The DATE datatype supports both and you will have to code conversions like this all over the place.
    to_date(to_char(csa.creation_date, 'mm/dd/yyyy') || csa.creation_time, 'mm/dd/yyyyhh:mi pm')
    = nvl(to_date(:date_last_checked, 'mm/dd/yyyy'), trunc(sysdate - 5))

Maybe you are looking for

  • Is this Apple a Lemon??

    Ok Here is the issue. just purchased a refurbished MacPro for music production studio... Now after installing my DAW I set the System Preferences to "NEVER" so monitor wouldn't go into screen saver or sleep but the mac pro keeps falling asleep only a

  • External forgot password link not working

    Hi, I am trying to reset the password using the Forgot password link on the External site page, after I click on the forgot password link and enter the username in the textbox and click on the submit button, it displays the error below. Error:cannot

  • BodyBean.setOnLoad not working in Firefox

    Hi, I am facing problem in Firefox for setOnLoad. Its working fine in IE(Internet Explorer) but not for firefox. Here What I am doing in processRequest method. String functionName = "setStatus"; String test= "var status; \n function " + functionName

  • IPhone 3G shutting down with no reason after upgrading to OS 3.0

    After updating to OS 3.0, my iPhone started to shut down regularly with no reason. Once it is off, I cannot restart the device using neither the sleep button nor both sleep and home buttons. It get started only after plugging the device to either ele

  • How can I use Hash Table when processing the data from cdpos and cdhdr

    Hello Guru, I've a question, I need to reduce the access time to both cdhdr and cdpos. Because may be I'll get a huge number of entries. It looks like that by processing cdhdr and cdpos data will take many secondes, it depends on how many data you ne