Results 1 to 4 of 4

Thread: Mysql issue

  1. #1
    Join Date
    May 2008
    Beans
    77

    Mysql issue [resolve]

    Im currently running Intrepid. I have the lamp server installed via
    Code:
    sudo tasksel install lamp-server
    I have developed a website (currently hosted on my machine) backed by a mysql database. I am using php to fetch data from the database to display on the webpage. Everything works fine when I connect from my computer. When I connect from another computer, the html builds fine, and some other php functions work. However, no database results are ever sent back.

    Looks like there must be some setting that is preventing mysql from running queries when the source is not my computer. Im a little stumped.
    Last edited by nunki; July 3rd, 2009 at 08:25 PM.

  2. #2
    Join Date
    Nov 2006
    Location
    Montreal, Canada
    Beans
    485
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Mysql issue

    The queries themselves are still originating from your machine, though. Is PHP returning any errors? Anything in the logs?

  3. #3
    Join Date
    May 2008
    Beans
    77

    Re: Mysql issue

    Ok Ive narrowed this down. Looks like it works fine if you use firefox. IE on the otherhand is not playing nice (shocker). IE reports no errors, but somehow is not liking my jQuery or my php.

  4. #4
    Join Date
    Nov 2006
    Location
    Montreal, Canada
    Beans
    485
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Mysql issue

    Sounds more like an IE display problem than a problem with the queries themselves. Have you tried commenting out however the results are intended to be displayed and replaced it with some simple echo statements? This should help narrow down specifically what the problem is and then you can go from there.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •