Parse errors from server behaviors

I have created an input form for a mysql/php database set up on my testing server with a set of fields in a repeat region. All the fields are properly displayed when I switch to LiveView or browser preview. I am, however, having the following problem with server behaviors:
If I add “Display Total Records” at the bottom, it displays just fine, but if I try to add the behaviors for previous page, next page, starting record number or ending record number, I get this:
Parse error: syntax error, unexpected ';' in C:\XAMPP\htdocs\LEAP\admin.php on line 81
Lines 81-84  read:
$totalPages_VolApp = ceil($totalRows_VolApp/$maxRows_VolApp = 10;
$pageNum_VolApp = 0;
if (isset($_GET['pageNum_VolApp'])) {
  $pageNum_VolApp = $_GET['pageNum_VolApp'];
I also cannot switch the repeat region to “show all records.” This results in a similar syntax error.
What is a parse error? What problem is indicated? thanks.

What is a parse error? What problem is indicated? thanks.
It's an error in code. The error is in the following line:
$totalPages_VolApp = ceil($totalRows_VolApp/$maxRows_VolApp = 10;
That line is nonsense in PHP terms. It has almost certainly been created as a result of not removing server behavior code correctly when making changes to a page. You can't edit PHP code simply by selecting dynamic text in Design view and deleting it. To remove a server behavior cleanly, you need to select its name in the Server Behaviors panel and click the minus button.
The code you have posted here looks so badly corrupted, I suggest you start the page again.

Similar Messages

  • Update record error message: Server behavior, updaterecord.js

    Hello,
    I'm developing a website using PHP and MySQL on Dreamweaver CS5, Snow Leopard.
    I'm having trouble with the updateRecord Server Behavior:
    Right after selecting "Update Record" in "Server Behavior" menu, I get the following error message in a popup window:
    while executing onLoad in UpdateRecord.htm, the following javascript error(s) occurred:
    At line 687 of file "Macintosh HD:Applications:Adobe Dreamweaver CS5:Configuration:ServerBehaviors:PHP_MySQL:UpdateRecord.js." name has no properties
    After selecting "ok" in the popup window, the "Update Record" window menu opens. However, when I tried to selected the desired table from the database in the dropdown menu, the same error message/popup window appears. I clicked "ok" once again, but the "column" textarea doesn't get populated at all. But, the "Value" dropdown menu does get populated with the correct data.
    I need help asap. Please contact me if you need more information.
    Thank you so much for taking your time to read my post, hopefully you'll be able to help me.
    Best,
    Alice Li

    I have this same problem. Was working fine then I removed the Recordset and added it again to change the name. After binding the dynamic info to my form fields I tryied to add an update record behavior and I got this error.
    I had already done this once I think with no problem. I tried restarting Dreamweaver and the computer but the issue still persists.
    Any help!?

  • Help, I have my registration and login pages built but cannot get a + from Server Behaviors to connect to the  phpmyAdmin databae using WAMP. Instructions are unclear.

    I purchased my subscription for DW CC on the encouragement of the online salesperson because he assured me there would be support when it came to creating  login process with authentication. I don't know code so build all of my pages in Design view. Not even sure that the form is correct because the terminology and references in the help directions don't match what I see in the program.
    I have tried to go online and get help from YouTube but they skip too many steps for a novice to get anywhere in this case to make the connections between the database and the localhost. I was pulling weird errors but now have green checks for local host yet don't know how to verify or test the page to see if it is working.
    Can anyone send me something that would be step by step detail? I need a true instructor not someone who thinks they know enough to be a teacher.

    To follow up a bit more, the SB panels were removed from DW for a reason.  The code is outdated and the MySql connections won't work on servers running PHP 5.5+.  Learning to work with code is essential.  Design View alone won't cut it.
    Read David Powers' book: 
    PHP Solutions: Dynamic Web Design Made Easy
    My earlier advice to take a structured learning course still stands. 
    Connecting to a database with MySQLi from the Course Accessing Databases with Object-Oriented PHP
    Good luck!
    Nancy O.

  • Error from server

    I'm getting the following error when i override the toString() method in the Entity Class:
    does anyone know the reason for this error?
    java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: org.telecom.model.Client; local class incompatible: stream classdesc serialVersionUID = -5522487243747345465, local class serialVersionUID = -832360857153956957
         at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:897)
         at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:341)
         at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:296)
         at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:278)
         at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:825)
         at java.lang.Thread.run(Thread.java:595)

    Looks like mismatch in JDK versions between client and server?

  • Creating Login Pages - Server Behavior Issues

    Hello,
    I been trying to find a solution to this problem for this
    past week.
    I'm having issues with creating a login page. First, I get
    the page created with a username text box, password text box, save
    username checkbox, etc. Next, I add the server behavior for 'User
    Auth' - 'Login User'. Now..here's the problem. When I complete
    that, I get this error (SEE BELOW). Somehow the server behavior
    duplicates. I can't go on until I make one of them unique from the
    other. I tried every which way to delete it, but I can't. Any
    suggestions?
    SERVER BEHAVIOR ERROR
    "The server behavior panel cannot determine whether "Log In
    User" or "Log In User" is applied to your page. Please select Edit
    Server Behaviors and change one of the 2 behaviors to ensure that
    each is uniquely identifiable."
    NOTE: By using the "-" sign above the panel, I can't remove
    the duplicate.
    Also, when I create a login page, I do need to insert a form
    first("form1") and then place the username, password, checkbox
    inside that "form1" form I just created, correct?
    Thanks for all your help!
    Craig

    GD WebDev wrote:
    > Hi,
    >
    > I have set-up up a database based upon username,
    password and security access
    > level, the access level contains 3 types of groups.
    group 1, group 2 and group
    > 3.
    >
    > I've used the dreamweaver login user server behavior.
    Looking at this it only
    > allows you to go to one succeed page.
    > Because i have got three user access levels, i'm looking
    for it to send each
    > set of users from each access level to three different
    succeed pages.
    > In other words, group 1 is sent to one succeed page,
    group 2 is sent to a
    > different and group 3 to another.
    >
    > Is there away of doing this?
    >
    You could do a redirect on the page that they do land on once
    succeeded.
    My personal preference would be to make one page, and only
    show the user
    groups parts of the page that they are allowed to see.
    Steve

  • Parse errors with 70_sare_obfu0.cf

    I've installed various .cf rules into /etc/mail/spamassassin (correct owner:group & permissions). They all install fine into Spamassassin except 70sareobfu0.cf downloaded from here...
    http://www.rulesemporium.com/rules.htm#obfu
    ...which produces screeds of parsing errors (total 610 'issues') reported by --lint as against 5 without that file (run as clamav user).
    I've re-downloaded a couple of times but all the same. I cannot find any notes refering to compatibility issues. Can anyone confirm that this file is OK with them or same parsing errors?
    Server 10.4.7, SpamAssassin version 3.0.1 running on Perl version 5.8.6.
    Ta
    -david

    lint output... (I've ommitted repetitive bits)
    ===============================
    debug: SpamAssassin version 3.0.1
    debug: Score set 0 chosen.
    debug: running in taint mode? yes
    debug: Running in taint mode, removing unsafe env vars, and resetting PATH
    debug: PATH included '/usr/local/bin', keeping.
    debug: PATH included '/bin', keeping.
    debug: PATH included '/sbin', keeping.
    debug: PATH included '/usr/bin', keeping.
    debug: PATH included '/usr/sbin', keeping.
    debug: Final PATH set to: /usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin
    debug: diag: module not installed: DBI ('require' failed)
    debug: diag: module installed: DB_File, version 1.810
    debug: diag: module installed: Digest::SHA1, version 2.10
    debug: diag: module installed: IO::Socket::UNIX, version 1.21
    debug: diag: module installed: MIME::Base64, version 3.05
    debug: diag: module not installed: Net::DNS ('require' failed)
    debug: diag: module not installed: Net::LDAP ('require' failed)
    debug: diag: module not installed: Razor2::Client::Agent ('require' failed)
    debug: diag: module installed: Storable, version 2.13
    debug: diag: module installed: URI, version 1.35
    debug: ignore: using a test message to lint rules
    debug: using "/etc/mail/spamassassin/init.pre" for site rules init.pre
    debug: config: read file /etc/mail/spamassassin/init.pre
    debug: using "//usr/share/spamassassin" for default rules dir
    debug: config: read file //usr/share/spamassassin/10_misc.cf
    debug: config: read file //usr/share/spamassassin/20antiratware.cf
    debug: config: read file //usr/share/spamassassin/20bodytests.cf
    debug: config: read file //usr/share/spamassassin/20_compensate.cf
    debug: config: read file //usr/share/spamassassin/20dnsbltests.cf
    debug: config: read file //usr/share/spamassassin/20_drugs.cf
    debug: config: read file //usr/share/spamassassin/20fake_helotests.cf
    debug: config: read file //usr/share/spamassassin/20headtests.cf
    debug: config: read file //usr/share/spamassassin/20htmltests.cf
    debug: config: read file //usr/share/spamassassin/20metatests.cf
    debug: config: read file //usr/share/spamassassin/20_phrases.cf
    debug: config: read file //usr/share/spamassassin/20_****.cf
    debug: config: read file //usr/share/spamassassin/20_ratware.cf
    debug: config: read file //usr/share/spamassassin/20uritests.cf
    debug: config: read file //usr/share/spamassassin/23_bayes.cf
    debug: config: read file //usr/share/spamassassin/25body_testses.cf
    debug: config: read file //usr/share/spamassassin/25body_testspl.cf
    debug: config: read file //usr/share/spamassassin/25_hashcash.cf
    debug: config: read file //usr/share/spamassassin/25head_testses.cf
    debug: config: read file //usr/share/spamassassin/25head_testspl.cf
    debug: config: read file //usr/share/spamassassin/25_spf.cf
    debug: config: read file //usr/share/spamassassin/25_uribl.cf
    debug: config: read file //usr/share/spamassassin/30textde.cf
    debug: config: read file //usr/share/spamassassin/30textes.cf
    debug: config: read file //usr/share/spamassassin/30textfr.cf
    debug: config: read file //usr/share/spamassassin/30textit.cf
    debug: config: read file //usr/share/spamassassin/30textnl.cf
    debug: config: read file //usr/share/spamassassin/30textpl.cf
    debug: config: read file //usr/share/spamassassin/30textsk.cf
    debug: config: read file //usr/share/spamassassin/50_scores.cf
    debug: config: read file //usr/share/spamassassin/60_whitelist.cf
    debug: using "//etc/mail/spamassassin" for site rules dir
    debug: config: read file //etc/mail/spamassassin/70sareadult.cf
    debug: config: read file //etc/mail/spamassassin/70saregenlsubj0.cf
    debug: config: read file //etc/mail/spamassassin/70sareheader0.cf
    debug: config: read file //etc/mail/spamassassin/70sareobfu0.cf
    debug: config: read file //etc/mail/spamassassin/70sareoem.cf
    debug: config: read file //etc/mail/spamassassin/70sarespoof.cf
    debug: config: read file //etc/mail/spamassassin/70sareunsub.cf
    debug: config: read file //etc/mail/spamassassin/72sare_redirectpost3.0.0.cf
    debug: config: read file //etc/mail/spamassassin/88FVGTheaders.cf
    debug: config: read file //etc/mail/spamassassin/88FVGTsubject.cf
    debug: config: read file //etc/mail/spamassassin/88FVGTuri.cf
    debug: config: read file //etc/mail/spamassassin/bogus-virus-warnings.cf
    debug: config: read file //etc/mail/spamassassin/chickenpox.cf
    debug: config: read file //etc/mail/spamassassin/local.cf
    debug: using "/var/clamav/.spamassassin" for user state dir
    debug: using "/var/clamav/.spamassassin/user_prefs" for user prefs file
    debug: config: read file /var/clamav/.spamassassin/user_prefs
    debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x1c3b6f0) inhibited further callbacks
    debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x1c3b6f0) inhibited further callbacks
    debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x1c3b6f0) inhibited further callbacks
    config: SpamAssassin failed to parse line, skipping: ??
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping: meta SAREOBFUALWAYS 0
    config: SpamAssassin failed to parse line, skipping: meta SAREOBFUCIALIS 0
    config: SpamAssassin failed to parse line, skipping: meta SAREOBFU_CREDITPOX 0
    config: SpamAssassin failed to parse line, skipping: meta SAREOBFUGOALS 0
    config: SpamAssassin failed to parse line, skipping: meta SAREOBFU_ORDERINGSPL 0
    config: SpamAssassin failed to parse line, skipping: meta SAREOBFURELIABLE 0
    config: SpamAssassin failed to parse line, skipping: meta SAREOBFURESULTING 0
    config: SpamAssassin failed to parse line, skipping: meta SAREOBFUSOMA 0
    config: SpamAssassin failed to parse line, skipping: meta SAREOBFUSTOCKS 0
    config: SpamAssassin failed to parse line, skipping: meta SAREOBFUAFFORD 0
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping: full SAREOBFUAMP2B m'(?:(?!http://)h.?t.?t.?p.?:.?/.?/)[^/\?]{4,40}\&'is
    config: SpamAssassin failed to parse line, skipping: describe SAREOBFUAMP2B invalid character within URI host/domain
    config: SpamAssassin failed to parse line, skipping: score SAREOBFUAMP2B 2.555
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping: full SAREOBFUCONTENT01 /Content-Type: ;text\/plain;/
    config: SpamAssassin failed to parse line, skipping: describe SAREOBFUCONTENT01 Obfuscation via content-type header
    config: SpamAssassin failed to parse line, skipping: score SAREOBFUCONTENT01 2.500
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping: body SAREOBFU_DRUGDOL1SPC m{\$1\.\s$1.s+$1.s}i
    config: SpamAssassin failed to parse line, skipping: describe SAREOBFU_DRUGDOL1SPC found apparent obfuscation of word used in spam
    config: SpamAssassin failed to parse line, skipping: score SAREOBFU_DRUGDOL1SPC 2.333
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    config: SpamAssassin failed to parse line, skipping:
    etc, etc,
    lint: 614 issues detected. please rerun with debug enabled for more information.
    ===================================
    If the obfu file is removed, it all goes fine.
    -david

  • Cannot Edit Duplicate Server Behaviors (bugged?)

    Okay, here's a problem:
    I've got a user login page with two different forms on it -
    one to log in new users, and one to log in existing users. I
    applied a "log in user" server behavior to each of them. Now both
    of these server behaviors are showing up under the Server Behaviors
    menu with the exact same name: "Log In User". When I try to save
    this file I get the following error:
    The Server Behavior panel cannot determine whether "Log In
    User" or "Log In User" is applied to your page. Please select the
    Edit Server Behaviors and change one of the two behaviors to ensure
    that each is uniquely identifiable.
    Clicking on each of them points to the same block of code
    (which logs in the existing user). I cannot delete them using the
    minus sign. When I click on the plus sign and select "Edit Server
    Behaviors" it shows me two other custom behaviors that I'd already
    downloaded (and used on another page) but doesn't show me the "Log
    In User" behavior at all.
    Is there any way to edit these behaviors? Change the name of
    one of them? Right now my page is working perfectly and I wouldn't
    mind the error except for the fact that this page is based on a
    template. Any template changes I make are not updating to this
    page. . . perhaps there's a preference I could change that would
    allow template changes even if an error is encountered?
    Any help is appreciated. Thanks in advance!

    Sylvain; thank you for the reply.  No, this issue impacts entries other than automount as well.
    So far I have observed this with entries consisting of :
    1) top/posixaccount/organizationalPerson/person/inetOrgPerson,
    2) top/groupofuniquenames/posixgroup
    3) top/iphost/nsHost
    4) top/nisNetgroup
    I have double/triple checked the schema and any log files as well to no avail.
    I have opened SR 3-10281206831 related to this issue.

  • Parshing error from cl_crm_svy_dom

    Hi Experts!!,
    I am using class CL_CRM_SVY_DOM, i am getting parsing error from method "create_survey_dom".
    my code as below for your reference.
    Its littlebit urgent....
    type-pools: SURVY.
    data: lcl_dom type ref to CL_CRM_SVY_DOM.
    class lCL_CRM_SVY_DOM definition
        inheriting from CL_CRM_SVY_DOM_DEFINE
      final
      create public .
    *"* public components of class CL_CRM_SVY_DOM
    *"* do not include other source files here!!!
    public section.
      methods CONSTRUCTOR
        importing
          I_APPLICATION_ID type CRM_SVY_DB_APPL_ID
          i_survey_id      type string.
    data: survey_xml type xstring.
    endclass.
    class lCL_CRM_SVY_DOM IMPLEMENTATION.
      method: CONSTRUCTOR.
      data: application type string,
            survey      type string.
      move i_application_id to application.
      move i_survey_id      to survey.
      call method super->constructor
        exporting
          i_application = application
          i_service     = survey.
    *cleate xml for using dom tree
          call method me->create_survey_dom
            exporting
              i_xml_xstring    = survey_xml
            exceptions
              error_in_parsing = 1
              others           = 2.
    break-point.
          if sy-subrc <> 0.
            message id sy-msgid type 'I' number sy-msgno
                       with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            "  raising error_in_parsing.
          endif.
       endmethod.
    endclass.
    data: oref type ref to lCL_CRM_SVY_DOM.
    data: im_tree_tab type SURVY_T_DOM_TREE.
    DATA: gr_document TYPE REF TO IF_IXML_DOCUMENT.
    data: xml_table type wff_t_xml.
    start-of-selection.
    CREATE OBJECT oref
            exporting
              i_application_id = 'CRM_SURVEY_ACTIVITY'             "application
              i_survey_id      = 'TEST FOR ACTIVITIES'.

    hi
    Use    following code before
    call method me->create_survey_dom
            exporting
    call method me->create_initial_survey_xml.
         call method me->get_survey_xml
            importing
              e_xml_xstring = survey_xml.
    Dont forget to reward if it is really needful to you.
    Anee

  • Can't catch exception in form from server

    The Block is built on procedure.
    Use code in procedure of the blocking:
    SELECT id
    INTO temp
    FROM tab
    WHERE id = n_var --variable
    FOR UPDATE NOWAIT;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20001, 'ERROR');
    Open two copies of form.
    In one form change record. In the other form in an effort change record appears the error with code -20001.
    This is correct.
    If the form does not contain the trigger ON-ERROR - a code of the error -20001.
    If add the trigger ON-ERROR:
    IF DBMS_ERROR_CODE = -20001 THEN
    MESSAGE('RECORD IS LOCKED');
    MESSAGE('RECORD IS LOCKED');
    END IF;
    I get the error with code -1403.
    Why? When i delete trigger - error code -20001.
    How do I get the code of the error -20001 in trigger ON-ERROR. Why DBMS_ERROR_CODE = -1403 if in procedure i generate error with code = -20001???

    I don't have another sql query.
    All work correct while i don't add trigger ON-ERROR.
    Without this trigger, form work is correct. I get error from server with code -20001. When i add trigger ON-ERROR - in this trigger dbms_error_code = -1403. Why? How error code may depend from this trigger?

  • SharePoint 2013 Search - Zip - Parser server ran out of memory - Processing this item failed because of a IFilter parser error

    Moving content databases from 2010 to 2013 August CU. Have 7 databases attached and ready to go, all the content is crawled successfully except zip files. Getting errors such as 
    Processing this item failed because of a IFilter parser error. ( Error parsing document 'http://sharepoint/file1.zip'. Error loading IFilter for extension '.zip' (Error code is 0x80CB4204). The function encountered an unknown error.; ; SearchID = 7A541F21-1CD3-4300-A95C-7E2A67B2563C
    Processing this item failed because the parser server ran out of memory. ( Error parsing document 'http://sharepoint/file2.zip'. Document failed to be processed. It probably crashed the server.; ; SearchID = 91B5D685-1C1A-4C43-9505-DA5414E40169 )
    SharePoint 2013 in a single instance out-of-the-box. Didn't install custom iFilters as 2013 supports zip. No other extensions have this issue. Range in file size from 60-90MB per zip. They contain mp3 files. I can download and unzip the file as needed. 
    Should I care that the index isn't being populated with these items since they contain no metadata? I am thinking I should just omit these from the crawl. 

    This issue came back up for me as my results aren't displaying since this data is not part of the search index.
    Curious if anyone knows of a way to increase the parser server memory in SharePoint 2013 search?
    http://sharepoint/materials-ca/HPSActiveCDs/Votrevieprofessionnelleetvotrecarrireenregistrement.zip
    Processing this item failed because the parser server ran out of memory. ( Error parsing document 'http://sharepoint/materials-ca/HPSActiveCDs/Votrevieprofessionnelleetvotrecarrireenregistrement.zip'. Document failed to be processed. It probably crashed the
    server.; ; SearchID = 097AE4B0-9EB0-4AEC-AECE-AEFA631D4AA6 )
    http://sharepoint/materials-ca/HPSActiveCDs/Travaillerauseindunequipemultignrationnelle.zip
    Processing this item failed because of a IFilter parser error. ( Error parsing document 'http://sharepoint/materials-ca/HPSActiveCDs/Travaillerauseindunequipemultignrationnelle.zip'. Error loading IFilter for extension '.zip' (Error code is 0x80CB4204). The
    function encountered an unknown error.; ; SearchID = 4A0C99B1-CF44-4C8B-A6FF-E42309F97B72 )

  • Error Unexpected end of file from server with HTTP POST

    Hi everyone,
    I'm coding a simple client to download some information from a local machine in my LAN.
    I have to do this with an http post request.
    When i try to parse the http response the program catch an exception, this one:
    java.net.SocketException: Unexpected end of file from server
    at sun.net.www.http.HttpClient.parseHTTPHeader(...)
    the parameter is a JSON request, and of course the response is a JSON formatted.
    i put the http request code:
    import java.io.BufferedInputStream;
    import java.io.BufferedReader;
    import java.io.ByteArrayOutputStream;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.net.HttpURLConnection;
    import java.net.URL;
    public class HttpDownloaderThread  extends Thread{
         private String url;
            private String param;
         private HttpDownloadListener listener;
         private HttpURLConnection connection=null;
         private InputStream is;
            private OutputStreamWriter wr;
         public HttpDownloaderThread(String _url,String param, HttpDownloadListener _listener){
              url = _url;
              listener = _listener;
                    this.param=param;
         public void run(){
              try{
                   connection=(HttpURLConnection)new URL(url).openConnection();
                            connection.setRequestMethod("POST");
                            connection.setReadTimeout(5000);
                            connection.setRequestProperty("Content-Type", "application/jsonrequest");
                            connection.setDoOutput(true);
                            wr = new OutputStreamWriter(connection.getOutputStream());
                            wr.write(param, 0, param.length());
                            wr.flush();
                            int responseCode=0;
                   System.out.println();
                            try{
                             responseCode= connection.getResponseCode();
                            }catch(Exception e){
                                e.printStackTrace();
                   if (responseCode == HttpURLConnection.HTTP_OK){
                        is = connection.getInputStream();
                                     BufferedReader rd = new BufferedReader(new InputStreamReader(is));
                                    String line;
                                    while ((line = rd.readLine()) != null) {
                                        System.out.println(line);
                        closeHttpConnection();
                        listener.resourceDownloaded(url, null);
                                else{
                                closeHttpConnection();
                                listener.downloadFailed(url, new Exception("Http error: " + Integer.toString(responseCode)));
              }catch(Exception e){
                   e.printStackTrace();
                   listener.downloadFailed(url, e);
              }finally{
         public void closeHttpConnection(){
              if (is != null){
                   try{
                        is.close();
                                    wr.close();
                   }catch (Exception e){
                   }finally{
                        is = null;
                                    wr=null;
              if (connection != null){
                   try{
                        connection.disconnect();
                   }catch (Exception e){
                   }finally{
                        connection = null;
    }there's someone who know's why??
    Thanks to everyone :)
    Thomas.

    jole_star wrote:
    this problem also happen to me,.So since you provided actually no information about your problem you are going to get exactly the same response.
    Please don't hijack old threads. Start your own and provide much much much more information.
    I shall lock this thread.

  • Dreamwever CS5 ERROR server behavior panel cannot determine wheter "command" or "recordset (Query)"

    i get this error whenever i open pages created in CS4. ive tried deleting the cache file... deleting the entire configuration folder and letting DW re build it.. nothing... error still there. how can i turn it off? i also cant seem to find the "edit server behaviors" button.. double click? well DW freaks out with that aswell... yes i know i have some insanely hand edited code.. basically use DW as notepad replacement.. with extra features like having the option of "add recordset" then going and editing it to my liking.
    the error
    [quote]
    The server behavior panel cannot determine whether "command" or "recordset (Query)" is applied to your page. Please select edit Server Behaviors and change one of the two behaviors to ensure that each is uniquely identifiable.
    [/quote]
    this is a total show stopper for me.. im going to have to go back to a previous version cant click "ok" every time i open a page.. and every time i follow a include file.
    development ASP
    Dreamweaver CS5
    Question.. how to disable the error message from popping up? i'll take my chances with hand editing the recordset / command by hand if i need it changed.

    this is bleh... having to resort back to CS4..
    is there any way to legaly go back to cs4 dreamweaver but still use the other cs5 applications?

  • UCSPE XML parsing error when importing from live UCS

    Hi all,
    I'm trying to import our live UCS hardware inventory in to the UCS platform emulator but keep getting an error stating:
    Server Error: code ERR-xml-parse-error: XML PARSING ERROR: no class named computeExtBoard
    The UCSPE imports all of our chassis' and blade servers, but it's missing all the chassis fans and psus, and the dimms, hdds, cpus, and storage controllers from all the blades. I haven't been able to figure out how to download or export the hardware inventory from the live UCS Manager as an XML for editing/loading in to UCSPE. It looks like you can only export as XML from USCPE, not from UCS Manager. Anybody have experience dealing with this?
    Thanks in advance!
    Jordan

    Hi all,
    I'm trying to import our live UCS hardware inventory in to the UCS platform emulator but keep getting an error stating:
    Server Error: code ERR-xml-parse-error: XML PARSING ERROR: no class named computeExtBoard
    The UCSPE imports all of our chassis' and blade servers, but it's missing all the chassis fans and psus, and the dimms, hdds, cpus, and storage controllers from all the blades. I haven't been able to figure out how to download or export the hardware inventory from the live UCS Manager as an XML for editing/loading in to UCSPE. It looks like you can only export as XML from USCPE, not from UCS Manager. Anybody have experience dealing with this?
    Thanks in advance!
    Jordan

  • Update Record Server Behavior blows error (its part of CS5.5 standard installation!)

    One wouldn't expect the code supplied by a MAJOR CORPORATION and WEB DEVELOPMENT TECHNOLOGY LEADER to blow an error on one of the server behaviors it supplies as part of its standard install. But then again, there is reality.  The UpdateRecord.js, to be found in your installation on Windows 7 at ..ProgramFiles(x86(/Adobe Dreamweaver CS5.5/configuration/ServerBehaviors/Php_MySQL/UpdateRecord.js  causes an error when it is selected from the SERVER BEHAVIORS menu.  This happens BEFORE you I enter anything into the fields.  The error states:  "While executing onLoad in  UpdateRecord.htm, the following JavaScript error(s) occured: At line 687 of file "........UpdateRecord.js":  name has no properties.  I've looked at the code and it is beyond my comprehension.  Something about the NAME of a value in the node list.... I just don't have the chops to go rewriting Adobe's code.  If I did, I'd be making the big bucks.  Does anybody know what to do about this? About my system:  Windows 7, 64bit,   CS5.5 (on a lease so it is up to date) using PHP and MySQL, on a remote dedicated server running Apache on Linux.   :<)McFrisco

    Ok, I deserved that spanking.  I was just frustrated.  Sorry for the rant. 
    I've managed to figure out a workaround on this.  There really is something wacky going on with Dreamweaver and the Update Record handler.  Here's what I did:   
    How to trick DREAMWEAVER into writing an UPDATE RECORD. 
    Dreamweaver's server behavior for Update Record doesn't work correctly sometimes.  The symptom of this is that when you try to fill in the popup form provided by the Server Behaviors/Update Record menu item, it doesn't allow you to choose form fields to update to the database if they are posted there by a previous page.  It only allows you to choose them if they are bound to the database.  This doesn't do any good, because you are updating a record with the information from the database you want to update, NOT with new information.  Kind of weird... But here's the way to get around it.  Its a bit tedious but it works.   
    1.  On a clean php page, set up a form with the input fields matching the database fields you want to update.  This page is to be used as the RESULT page of a form submitted on a previous page where the UPdate Record won't work due to conflicts, plugins, or some other unknown reason.   
    2.  Connect to the database table you want to update,  and set up a new RECORDSET on the page. 
    3.  Bind all the form fields to the appropriate database fields. 
    4.  Do an Update Record behavior based on this form.  This will actually do nothing but update the record with the stuff that is already in the record, as noted above.   
    5. Delete the php code that sets up the record set.  But, LEAVE THE Update Record code alone!  It is correct.   
    6.  Change the bindings of all the fields in the FORM to the $_POST[] variables passed from the form on the previous page. (Make sure the previous page form uses the POST, not the GET method.)
    Now, when you submit the form it will pick up the values in the form, which have been passed from the previous page's form.

  • Facing Parse Errors after upgrading database from 10g to 11g

    Hi,
    We are facing parse errors in the SQL's after upgrading database from 10g to 11g.
    Kindly look into below parse errors.
    ********************************** Parse Error *****************************************************
    Tue Aug 13 14:13:08 2013
    kksSetBindType 16173533-2: parse err=1446 hd=3c73061fb8 flg=100476 cisid=173 sid=173 ciuid=173 uid=173
    PARSE ERROR: ospid=15598, error=1446 for statement:
    SELECT ROWID,ORGANIZATION_CODE,PADDED_CONCATENATED_SEGMENTS,PRIMARY_UOM_CODE,REVISION,SUBINVENTORY_CODE,TOTAL_QOH,NET,RSV,ATP,ORGANIZATION_NAME,ITEM_DESCRIPTION,INVENTORY_ITEM_ID,ORGANIZATION_ID,LOCATOR_ID,LOCATOR_TYPE,ITEM_LOCATOR_CONTROL,ITEM_LOT_CONTROL,ITEM_SERIAL_CONTROL FROM MTL_ONHAND_LOCATOR_V WHERE (INVENTORY_ITEM_ID=:1) and (ORGANIZATION_ID=:2) order by ORGANIZATION_CODE,SUBINVENTORY_CODE,REVISION, organization_code, padded_concatenated_segments
    Tue Aug 13 14:13:10 2013
    kksfbc 16173533: parse err=942 hd=3c387c4028 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    PARSE ERROR: ospid=29813, error=942 for statement:
    Select feature from toad.toad_restrictions where user_name=USER or user_name in ( select ROLE from sys.session_roles)
    kksfbc 16173533: parse err=942 hd=3c97d83648 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    PARSE ERROR: ospid=29813, error=942 for statement:
    SELECT password
    FROM SYS.USER$
    WHERE  0=1
    kksfbc 16173533: parse err=6550 hd=35185e4278 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    ----- PL/SQL Stack -----
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    319e277050        30  anonymous block
    319e277050        57  anonymous block
    PARSE ERROR: ospid=29813, error=6550 for statement:
    BEGIN sys.dbms_profiler."146775420110782746251362632012"; END;
    kksfbc 16173533: parse err=942 hd=3c142d8600 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    ----- PL/SQL Stack -----
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    319e277050        67  anonymous block
    PARSE ERROR: ospid=29813, error=942 for statement:
    SELECT 1 FROM plsql_profiler_data WHERE 0 = 1
    Please help.
    Regards
    Suresh

    Hi Suresh,
    Apologies for misunderstanding..
    Tue Aug 13 14:13:08 2013
    kksSetBindType 16173533-2: parse err=1446 hd=3c73061fb8 flg=100476 cisid=173 sid=173 ciuid=173 uid=173
    PARSE ERROR: ospid=15598, error=1446 for statement:
    SELECT ROWID,ORGANIZATION_CODE,PADDED_CONCATENATED_SEGMENTS,PRIMARY_UOM_CODE,REVISION,SUBINVENTORY_CODE,TOTAL_QOH,NET,RSV,ATP,ORGANIZATION_NAME,ITEM_DESCRIPTION,INVENTORY_ITEM_ID,ORGANIZATION_ID,LOCATOR_ID,LOCATOR_TYPE,ITEM_LOCATOR_CONTROL,ITEM_LOT_CONTROL,ITEM_SERIAL_CONTROL FROM MTL_ONHAND_LOCATOR_V WHERE (INVENTORY_ITEM_ID=:1) and (ORGANIZATION_ID=:2) order by ORGANIZATION_CODE,SUBINVENTORY_CODE,REVISION, organization_code, padded_concatenated_segments
    Assuming you see the above error message in the alert log file, which was your original post, follow the below steps:
    1 Get the 'ospid' value from the error
    2. Issue the below command:
    SQL> select request_id,ORACLE_PROCESS_ID
      2 from fnd_concurrent_requests
      3 where request_id = 15598;
    3. After obtaining the request_id
    4, Query it from the front-end using SYSADMIN responsibility
    Hopefully this should get you the respective concurrent report/program.
    Thanks &
    Best Regards,

Maybe you are looking for

  • Itunes Video Problems Please Help

    All of my videos imported onto itunes, except for one I just recently download. It is the same mpeg4 format as all the others, and there is no reason I can think of that it will not import. Can anyone please help me?, as I would really like to have t

  • Bi-Pub desktop Plugin 10.1.3.4.2 Compatible in  Win 7 Ent 64 bit in R12.1.3

    Hi Gurus, Did any body Successfully Over came this issue While Loading XML Data (load XML data button)via Bi-pub plugin in office 2010. Which is in the Below mentioned Environment Bi-Pub desktop Plugin 10.1.3.4.2 Win7 Enterprise 64 bit Environment Or

  • [SOLVED] Apache won't start; missing 4 modules

    Hello, Not sure if this is the correct place to post this, but httpd won't start after an update. First it claims each of these 4 modules are missing: LoadModule authz_default_module modules/mod_authz_default.so LoadModule authn_default_module module

  • DW CS3 Doesn't recognize template

    I created a basic page in DW CS3 and saved it as a template. It's in the template directory of the root folder of the site I'm working on, with a dwt extension, but it doesn't show up in the assets panel. When I try to use it using the File-New-From

  • Sync has problems with Keychain

    Hello to everyone else who is spending much longer than they would like on getting 10.5 to work properly! I have manually updated my keychain login preferences after they didn't import properly from my backup. However when I go to sync now i get this