Strange error when run on Linux.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Frank

    Strange error when run on Linux.

    Scripts tested on:

    Win 98 - PWS PHP & MySQL
    Win 2000 Server - IIS PHP MySQL
    Win98 - Apache PHP MySQL

    Scripts all work fine !!!



    Mandrake 9 Apache PHP MySQL

    Fail to write, update or edit database using the same scripts...
    WHY !! any ideas ?



  • Andreas Paasch

    #2
    Re: Strange error when run on Linux.

    Frank wrote:
    [color=blue]
    > Scripts tested on:
    >
    > Win 98 - PWS PHP & MySQL
    > Win 2000 Server - IIS PHP MySQL
    > Win98 - Apache PHP MySQL
    >
    > Scripts all work fine !!!
    >
    >
    >
    > Mandrake 9 Apache PHP MySQL
    >
    > Fail to write, update or edit database using the same scripts...
    > WHY !! any ideas ?[/color]

    Many options .. and I'm not good at guessing.
    Mostly something about the setup of php.ini, or user rights in MySQL.
    Or even .. error in the code.
    Could even be register_global s on/off.

    More data needed to track down the bug.

    /Andreas

    --
    Registeret Linux user #292411

    Comment

    • louiss

      #3
      Re: Strange error when run on Linux.

      Can you give us the error
      ie. mysql_query("up date bla bLA") or die("WARNING:" .mysql_error()) ;

      <Frank @ MyPlace.Com (Frank)> wrote in message
      news:3f24deb1.4 12431234@news.b tclick.com...[color=blue]
      > Scripts tested on:
      >
      > Win 98 - PWS PHP & MySQL
      > Win 2000 Server - IIS PHP MySQL
      > Win98 - Apache PHP MySQL
      >
      > Scripts all work fine !!!
      >
      >
      >
      > Mandrake 9 Apache PHP MySQL
      >
      > Fail to write, update or edit database using the same scripts...
      > WHY !! any ideas ?
      >
      >
      >[/color]


      Comment

      • Frank

        #4
        Re: Strange error when run on Linux.


        No Errors.....

        I display the sql query on screen so I can see whats happening...

        I click update, I get a copy of the SQL query on screen, I get update
        completed, I then take another look at the DB and the update hasn't
        happened...

        OR:

        I add new contacts, click 'ADD' I get the full SQL query which looks
        fine, but nothing...

        I've just realised that I don't have the MySQL client software
        installed..... Could that be it ??


        On Mon, 28 Jul 2003 10:39:45 +0200, "louiss" <louiss@equatio n.co.za>
        wrote:
        [color=blue]
        >Can you give us the error
        >ie. mysql_query("up date bla bLA") or die("WARNING:" .mysql_error()) ;
        >
        ><Frank @ MyPlace.Com (Frank)> wrote in message
        >news:3f24deb1. 412431234@news. btclick.com...[color=green]
        >> Scripts tested on:
        >>
        >> Win 98 - PWS PHP & MySQL
        >> Win 2000 Server - IIS PHP MySQL
        >> Win98 - Apache PHP MySQL
        >>
        >> Scripts all work fine !!!
        >>
        >>
        >>
        >> Mandrake 9 Apache PHP MySQL
        >>
        >> Fail to write, update or edit database using the same scripts...
        >> WHY !! any ideas ?
        >>
        >>
        >>[/color]
        >
        >[/color]

        Comment

        Working...