3 Replies Latest reply on Jul 23, 2008 4:01 AM by Newsgroup_User

    MySQL and Javascript error

    blacknoon
      Newbie here, I got Apache up and running with PHP and MySQL. I have two basic problems. First, I can connect to a MySQL database but when I try to view the records in the table in the database window I get a javascript error. Specifically "While executing getComponent Children in Connections.htm, a JavaScript error occurred." In the bindings tab I get a host of more java errors. How should I go about fixing this?

      Second issue, i used to be able to view php files in Firefox but now everytime firefox just wants to download the file instead of previewing it. I'm at a loss here. Can someone please help.
      Thanks in advance.
        • 1. Re: MySQL and Javascript error
          Level 7
          (it's javascript, not Java)

          Troubleshooting JavaScript errors in Dreamweaver
          http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat

          > Second issue, i used to be able to view php files in Firefox but now
          > everytime
          > firefox just wants to download the file instead of previewing it. I'm at a
          > loss
          > here. Can someone please help.

          The pages have to be served to Firefox. Your symptoms suggest that you are
          just double clicking on the PHP page to view it - is that correct?

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          ==================


          "blacknoon" <webforumsuser@macromedia.com> wrote in message
          news:g64v58$dcq$1@forums.macromedia.com...
          > Newbie here, I got Apache up and running with PHP and MySQL. I have two
          > basic
          > problems. First, I can connect to a MySQL database but when I try to view
          > the
          > records in the table in the database window I get a javascript error.
          > Specifically "While executing getComponent Children in Connections.htm, a
          > JavaScript error occurred." In the bindings tab I get a host of more java
          > errors. How should I go about fixing this?
          >
          > Second issue, i used to be able to view php files in Firefox but now
          > everytime
          > firefox just wants to download the file instead of previewing it. I'm at a
          > loss
          > here. Can someone please help.
          > Thanks in advance.
          >

          • 2. Re: MySQL and Javascript error
            blacknoon Level 1
            No I'm not just double clicking on it. I have it opened in DW CS3 and use F12 to view it in Firefox.

            Also, I checked the link for the javascript error and didn't see anything that related to the issue I'm having.
            • 3. Re: MySQL and Javascript error
              Level 7
              Try #4.

              --
              Murray --- ICQ 71997575
              Adobe Community Expert
              (If you *MUST* email me, don't LAUGH when you do so!)
              ==================
              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
              ==================


              "blacknoon" <webforumsuser@macromedia.com> wrote in message
              news:g66123$jcc$1@forums.macromedia.com...
              > No I'm not just double clicking on it. I have it opened in DW CS3 and use
              > F12
              > to view it in Firefox.
              >
              > Also, I checked the link for the javascript error and didn't see anything
              > that
              > related to the issue I'm having.
              >