Unable to create entry into php DataBase

Hi,
     I am developping a programme using flex to communicate with a Wamp DataBase, and when I try to create an entry in the database from the application (Adobe air), nothing happens (no operation in the Network monitor). However, when I try to create an entry in the dataBase from Flash Builder with "test Operation", it's ok!
     After looking for a solution, I saw that there is a problem with the code generated, and so I have to use the commit() fonction to coerce my application to create an entry. This tricks works but only one time, when I click the first time on the button create (on my application), it create an entry on the database, but when I try again it doesnt work anymore
Thanks for your answers

SRI,
Please provide a more detailed description of what it is you are trying to do. Describe your environment and requirements...

Similar Messages

  • Unable to create audit trail file  database upgrade

    hi
    when i am trying to upgrade my database from oracl10g into oracl11g middle of the upgrade i m getting below error
    "unable to create audit trail file " help me resolve

    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 1553305600 bytes
    Fixed Size              2213656 bytes
    Variable Size           1258293480 bytes
    Database Buffers       285212672 bytes
    Redo Buffers              7585792 bytes
    SQL> show parameter dump
    NAME                         TYPE      VALUE
    background_core_dump               string      partial
    background_dump_dest               string      /u01/app/oracle/diag/rdbms/v112/v112/trace
    core_dump_dest                    string      /u01/app/oracle/diag/rdbms/v112/v112/cdump
    max_dump_file_size               string      unlimited
    shadow_core_dump               string      partial
    user_dump_dest                    string      /u01/app/oracle/diag/rdbms/v112/v112/trace

  • Page level validation to prevent duplicate data entry into the database

    Hello,
    Can anyone please help me out with this issue.
    I have a form with two items based on a table. I already have an item level validation to check for null. Now I would like to create a page level validation to check that duplicate data are not entered into the database. I would like to check the database when the user clicks on ‘Create’ button to ensure they are not inserting duplicate record. If data already exist, then show the error message and redirect them to another page. I am using apex 3.2
    Thanks

    Hi,
    Have you tried writing a PLSQL function to check this?
    I haven't tested this specifically, but something like this should work:
    1) Create a Page Level Validation
    2) Choose PLSQL for the method
    3) Choose Function Returning Boolean for the Type
    For the validation code, you could do something like this:
    DECLARE
        v_cnt number;
    BEGIN
        select count(*)
        into v_cnt
        from
        your_table
        where
        col1 = :P1_field1 AND
        col2 = :P2_field2;
        if v_cnt > 0 then return false;
        else return true;
        end if;
    END;If the query returns false, then your error message will be displayed.
    Not sure how you would go about redirecting after this page though. Maybe just allow the user to try again with another value (in case they made a mistake) or just press a 'cancel' button to finish trying to create a new record.
    Amanda.

  • Creating entries in a database table

    I have created a database table and want to insert new records in it thru this path -
    Utilities --> Table contents -
    > Create entries.
    But the create entries is not highlighted i.e. the system is not allowing me post entry in this way.
    Any idea why it might happen ?

    Hi Kushal,
    The issue is that the Table View Maintenance is set to be anything other than "Display/Maintenance allowed".
    You can get this in the "Delivery and Maintenance" Tab when you open the table through SE11.
    Change this to the above mentioned value and then you can create entries in the table.
    Thanks,
    Ajay.

  • Load Created Classes into the database

    Dear all,
    I successfully uploaded my created classes to the database then published them by creating a pl/sql procedures . But the execution of the procedure is returning:
    java.lang.UnsatisfiedLinkError: no csdkjni in java.library.path
    I've searched this error in metalink and it turned out that this is due to the unavailability of csdkjni lib file in the linux version of csdk (OCS 9i) . But i'm using OCS 10g ,so this shouldn't be my case.
    Could you please check this problem or give me some pointers on how to resolve this issue.
    Cheers!!

    Dear all,
    Maybe the description of my problem was a bit vague.
    So here is a list of things i've done :
    1- create a java class that creates an event .
    2- compiled and tested the class .
    3- used loadjava to load it into my database
    4- created a pl/sql procedure that calls this loaded class.
    5- call the procedure
    now at this point ,i hit the error : no csdkjni in java.library.path
    could you please give this a try in your environments and let me know!!

  • Unable to insert rows into ORACLE database using ABAP code

    Hai,
    I am facing problem while creating a table in Oracle database with 15 attributes in a table. To create a table I am using the classes:
                      cl_sql_connection  -
    > to create the connection           
                      cl_sql_statement  -
    > to execute the query
    This I used by reffering the SAP program ADBC_DEMO. Without any trouble I am able to create a Table with 6 attributes by following the same procedure in ABCD_DEMO program but the same is not working for the table with 15 attributes .
    Please help me.
    Regards,
    Swetha

    Hai,
    here is my code.
    DATA: V_con_name TYPE dbcon-con_name,
          con_ref TYPE REF TO cl_sql_connection,
          sqlerr_ref TYPE REF TO cx_sql_exception,
          c_tabname  TYPE string VALUE `TO_DETAILS`,
          c_coldefs  TYPE string.
    DATA: IT_ORA LIKE ZVOP_X_ORA_UPDATE OCCURS 0 WITH HEADER LINE.
       V_CON_NAME = 'TVL-DSS-01'.
       concatenate '(LGNUM CHAR(3) primary key,'
                     'TANUM VARCHAR2(10),'
                     'FLAG  CHAR(1),'
                     'BDATU timestamp(3),'
                     'TAPOS VARCHAR2(4),'
                     'MATNR CHAR(18))'
                      'VLQNR VARCHAR2(10),'
                      'VLPLA CHAR(10),'
                      'VLBER CHAR(3),'
                      'NLPLA CHAR(10),'
                      'NLBER CHAR(3),'
                      'VDATE DATE(3) ,'
                      'BNAME CHAR(12),'
                      'VTIME DATE(4),'
                      'PROTYPEFLAG CHAR(1),'
                      'PROCOMFLAG  CHAR(1))'
                into c_coldefs separated by space  .
      TRY.
        PERFORM: CONNECT USING V_CON_NAME CON_REF,
                 CREATE_TABLE USING con_ref c_tabname c_coldefs.
          CATCH cx_sql_exception INTO sqlerr_ref.
            TB_ERROR-MESSAGE = SQLERR_REF->SQL_MESSAGE.
            APPEND TB_ERROR. CLEAR TB_ERROR.
    ENDTRY.
    form create
    form CONNECT using   p_con_name TYPE dbcon-con_name
                         p_con_ref  TYPE REF TO cl_sql_connection
                 RAISING cx_sql_exception.
      p_con_ref = cl_sql_connection=>get_connection( p_con_name ).
    endform.                    " CONNECT
    form create
    form   CREATE_TABLE USING   p_con_ref TYPE REF TO cl_sql_connection
                              p_tabname TYPE string
                              p_coldefs TYPE string
                      RAISING cx_sql_exception.
       DATA:
            l_sqlerr_ref TYPE REF TO cx_sql_exception,
            l_stmt       TYPE string,
            l_stmt_ref   TYPE REF TO cl_sql_statement.
    create a statement object
       l_stmt_ref = p_con_ref->create_statement( ).
    create the statement string
       CONCATENATE
         'create table' p_tabname p_coldefs
         INTO l_stmt SEPARATED BY space.
    execute the DDL command; catch the exception in order to handle the
    case if the table already exists
        TRY.
          l_stmt_ref->execute_ddl( l_stmt ).
        CATCH cx_sql_exception INTO l_sqlerr_ref.
          IF l_sqlerr_ref->dbobject_exists = 'X'
             OR l_sqlerr_ref->internal_error = 1024.
          table already exists => drop it and try it again
            PERFORM:
              drop_table   USING p_con_ref p_tabname,
              create_table USING p_con_ref p_tabname p_coldefs.
          ELSE.
            RAISE EXCEPTION l_sqlerr_ref.
          ENDIF.
      ENDTRY.
    endform.                    " CREATE_TABLE
    please do help me
    Regards,
    Swetha

  • Unable to create a new Aplication - Database error

    Hello,
    I just finish the instalation of FDQM and configure.
    I open the Web Logon, appears normally the option to create a new Application...but...
    When I try create a new aplication, appears a error message "Unable to connect to database. Please check database information and verify database is accessible."
    What i need to do, to solve this issue?
    Thanks,

    Yes, at the first screen, I use my Admin account.
    Look below, the prints, about the complete configuration, please check is the configuration its correct.
    Just to information, My Hyperion aplications, Essbase, planning, FDQM are instaled on server: vmhyp11.lannet.com.br
    Windows user: Hyperion
    The relacional Oracle databasse its instaled on server: Server Linux RedHat 5.5: vmebs11bkp.lannet.com.br IP: 10.121.25.94
    Service name: HYPER
    Step one: "Testing the conecction with the oracle relational server, Teste Oledb32"
    http://imageshack.us/a/img14/6462/testeoledb32conection.png
    Step2: "Configuring EPM system configurator"
    http://imageshack.us/a/img24/6610/passo1configurandoofdqm.png
    http://imageshack.us/a/img211/9752/passo2.png
    Step 3: "Configuring the web server"
    http://imageshack.us/a/img189/4782/passo3configwebserver.png
    http://imageshack.us/a/img812/184/passo3configwebserverc.png
    Step4: "Restart IIS"
    http://imageshack.us/a/img823/2096/passo4iisreset.png
    Step5 "Configuring Application server"
    http://imageshack.us/a/img824/9490/passo5applicationserver.png
    Step6 : "Configuring Load Balance Manager"
    http://imageshack.us/a/img826/4732/passo6configloadbalance.png
    http://imageshack.us/a/img62/4732/passo6configloadbalance.png
    http://imageshack.us/a/img839/4732/passo6configloadbalance.png
    Step7: "Creatin FDQM Application"
    http://imageshack.us/a/img825/8022/createanewapplicationwo.png
    http://imageshack.us/a/img259/8022/createanewapplicationwo.png
    First try, using an oracle conection:
    http://imageshack.us/a/img208/2425/errorfinal1.png
    Second try, using a SQL conection, and trying diferent users:
    http://imageshack.us/a/img197/3817/errorfinal2.png
    http://imageshack.us/a/img856/2256/errorfinal3.png
    http://imageshack.us/a/img19/4584/errorfinal4.png
    Edited by: Fernando Soares on 06/05/2013 15:16

  • Add more than one entry into a database from single form

    I have a page that has 1 form that allows you to add 1 job.
    I want to be able to have a button or something that says add
    job and add another job.
    When creating the database I did not create a table to hold
    the order just add the job.
    I am attempting to create a new version of the site with
    order referencing job_id and customer_id so that a job can belong
    to an order. And I can an order that has many jobs.
    What is the best way I can do this and then I will need it to
    be displayed on the invoice.
    I also need to beable to create an invoice for the particular
    job.
    but that does not need to be done here.

    I have posted previously, but the requirement from my friend
    has changed somewhat.
    I have a add job page (add.php) and I need to add a
    button/link to add more fields of the same to add a job to the
    chosen customer.

  • Unable to create Entries in the Z Table -- Make entry in the form 9,999.999

    I have created/Copied a standard table to a z Table with 5 fields.
    One of the Field should be capbale to hold AAAAA.DDDDDDDDDDDDDD. (ie 5 Place before point and 14 decimal places).
    So I have created Domain DEC with 14 decimal places and 19 No Characters.
    When I tried creating an Table Entry(REcord), System rejects the value present in this  field wth the following
    message "Entry 12345.000000 is to long. (Make entry in the form 9,999.99999 or /9,999.99999.)".
    One more thing: I have maintained the DEcimal Notation as 1,234,567.89 in the User Defaults(TCode SU01).
    Please help !
    RJ

    Hi,
    So as you said the notaion comma is also included in the count of places.
    so try giving as1,234.00000 - shouldn't give error.
    if no error then increas the total no. of character in domain to 20 and check giving value 12,345.000000...
    Regards
    Salini.

  • Unable to create entry under Product Specific Transportation Lane by BAPI Function Module

    I am developing one RFC function module which will trigger BAPI_TRLSRVAPS_SAVEMULTI2 to create transportation lane (/n/SAPAPO/SCC_TL1) in APO. But I am facing one problem while creating a new entry under “Product Specific Transportation Lane”. But I am not able to pass ‘Group Selection’ radio button field in BAPI11201TRPRODLANE2 structure since I am not getting suitable field, but Product Group Type and Product Group value I am able to pass. Can anyone help me if you have any idea on this?

    Hi Siva,
    Thaks for those function modules. I tried with '/SAPAPO/TR_TRPRODM_PUT'. This deletes from table /SAPAPO/TRPRODM but not from /SAPAPO/TRM and so the means of transport still appears in the transaction. Do you have any idea why it behaves this way.
    Thanks

  • I am unable to create a new Citadel database

    I am using DSC module 8.5 and am trying to create a new database using MAX.  I am following the instructions, but when I select "Finish" to create the database, the progress meter pops up and stays at 0%.  I should add that there was not a default database for Labview 8.5, although there are ones for 8.0 and 8.2.

    Hi,
        I think you are trying to create with same name which is already existing in your system. You want to select a new database path with new  name.
    with regards
    vijay

  • Using AT&T Unified Messaging, I am unable to make entries into the address book. If I try under Internet Explorer, It will take my entry. Is there something to make this work?

    I go to the AT&T website um.att.com, sign in to my account, and everything works fine in terms of getting or sending messages. But I cannot enter anything in the address book (to store email addresses). If I go to the site using Internet Explorer instead of Firefox, I am able to make address book entries. I spoke to AT&T, and they suggested there might be some add-on app, but they did not know of anything.

    There appears to be a problem with Firefox 20 with UNC paths when using roaming profiles on a server.
    *[[/questions/955140]] why is the 20.0 address bar unresponsive?
    This is currently investigated and tracked via this bug report.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=857672 bug 857672] - Address Bar not working (roaming profiles;UNC path support OS.File)
    <i>(please do not comment in bug reports: [https://bugzilla.mozilla.org/page.cgi?id=etiquette.html])</i>

  • Unable to create database entry in the directory service. - TNS-04

    We run into this error when we tried to register an Oracle 10.2.0.4 database with OID server (10.1.4.3):
    Unable to create database entry in the directory service. - TNS-04409: Directory service error
    We use Oracle DBCA to register to the OID. Both Oracle database and OID server are all running under Sun Solaris environment.
    In the meantime, I found these errors in the oid logs:
    oidldapd01.log:
    2009/07/13:21:15:47 * DispatcherListener:2 * ERROR : gslsflAcceptConnAndSend : OS 2 : Unable to accept New TCP
    connection
    Any ideas?
    Thanks
    Naiying

    Hi,
    Thanks for update.
    No, didn't find DSCC agent logs get updated when I have the pop up.
    C:\dsee7\var\dcc\agent\logs
    In the glassfish server log, I didn't find new transaction when I hit the issue
    C:\glassfish3\glassfish\domains\domain1\logs

  • Unable to Load Database/Unable to create database.

    RoboHelp 6.0 on my PC is suddenly unable to open existing
    projects or create new ones. The problem is not in the projects, as
    other people can unzip the same set of files and open them with
    RoboHelp on their PCs.
    The Details:
    When attempting to open an existing project (any project
    whether in version control or not), I get the message " Open
    project was cancelled or the application was unable to load
    database for..."
    I found the article that says to delete the CPD and XPJ files
    and then to use the Edit option to open the HHP file so that
    RoboHelp will recreate the two files. When I try that, I get the
    message "Unable to create database. Check that the directory is not
    read-only." It's
    not read-only.
    When I attempt to create a new project, the application acts
    like it is going to create one, but it just creates a project
    folder without the new first topic and then repeats the New Project
    Wizard window that prompts for title, etc. It will keep creating
    folders and returning to this window in a loop without ever really
    creating a project.
    RoboSource Control is functioning normally, by the way.
    I have uninstalled and reinstalled RH 6 several times, and
    have even uninstalled RH 6 and installed to RH 5 just to see if it
    could open projects, which it does with no problems. After that
    test, I uninstalled RH 5 and reinstalled RH 6, only to encounter
    the same problem all over again.
    This started happening after I uninstalled other unrelated
    software and received a message that some Service Pack 2 files had
    been changed and prompting me to insert the Service Pack 2 CD,
    which I don't have. This is because our IT department pre-builds
    our systems from an image and then distributes job-specific
    applications over the network. IT tried repairing Service Pack 2,
    but that didn't work. I'd like to uninstall and reinstall Service
    Pack 2, but the IT person says it's too risky on a system that was
    built from an image.
    We would like to find out
    which files RoboHelp is looking for when it launches a
    project so we can replace those files manually. Does anyone
    know what they are or have another suggestion that might fix the
    problem?
    Otherwise, I am stuck having to allow IT to rebuild my
    system. That means reinstalling and reconfiguring everything on it,
    just as if I were upgrading to a new PC. This can take a whole work
    week. However, I have already spent close to a work week on this
    problem, so maybe rebuilding would save time in the long
    run.

    Problem Resolution = HHA.dll
    For anyone who might be interested in the resolution to this
    issue, we did rebuild my PC and reinstall all of my software. The
    RoboHelp installation "complained" that I did not have HTML Help
    Workshop on my system and told me to download version 1.4 from
    Microsoft. I did have HTML Help Workshop..it's in my programs list.
    (It's not listed in programs on my co-workers' PCs, and they were
    not having problems, by the way.) But to make RH happy, I
    uninstalled the workshop and tried to install the version from
    Microsoft. But a message informed me that I already had a newer
    version of the workshop on my system, and I was back where I
    started. I could open projects, but there were weird problems.
    Selecting Topic Properties was met with an error message, and when
    the properties window opened, I could only see whatever template
    was assigned (or none if the topic had lost its template), and
    there was an extra section for Oracle help.
    So I started dinking around in the registry to see if I could
    get rid of any traces of the workshop so I could install the
    version RH wanted or to find any other clues to my problem. Under
    HTMLHelpAuthor, there was a reference to an HHA.dll file located in
    C:\WINDOWS\system32...only the file did not exist on my system.
    (Remember that my original problem was that some Service Pack 2
    files were either modified or missing.) So I did a Google search on
    that file name and found out that HTML Help Workshop is included in
    newer Windows operating systems, but that people used to have to
    get HTML Help Workshop from Microsoft, and that some people had
    made the mistake of just putting the HHA.dll file into the
    C:WINDOWS\system32 folder without also installing HTML Help
    Workshop. At this point it was obvious that I needed the HHA.dll,
    so I got it from a co-worker's PC. (Looking at the registry
    entries, I can also see that my system was built with a slightly
    different version of the operating system than my co-workers have.)
    Adding the HHA file to my system solved the problem. All
    projects but one were fine; one was still exhibiting the strange
    behavior. I fixed it by going back to the RoboHelp 5 version of the
    project and re-converting it to RoboHelp 6.
    I suspect that if I had known about the HHA.dll file before
    we rebuilt the PC, I could have solved the problem without going
    through that painful process. That is why I thought I should post
    the solution even though it was after the rebuild.

  • How to create mass entries in a database table

    Hi,
    I am going to do a program that can help me to charge registers in a database table. The origin of the registers is an excell file, that contains 39000 entries.
    In other programs I use this function: 'ALSM_EXCEL_TO_INTERNAL_TABLE' but this function can only read 9999 registers. So I ask for us if There is another function that can help me. The other possibility that I think is call many times this function but If is possible to find another function, I guess that is better.
    Thanks and regards.

    Please allow me to translate "charge registers" into "create entries".
    This function module works quite simple via the clipboard, you could take the code and create your own version that allows more rows. However there might be a bottleneck at some point due to your local PC power.
    You could also store as CSV or TXT and use GUI_UPLOAD function or the "frontend" classes.
    For more performant processing the data would need to be transferred to the application server and uploaded from there using OPEN DATASET and so on, please search for more information.
    Thomas

Maybe you are looking for