Whats the problem

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

    Whats the problem

    Hi I have a script for a shopsystem on a Linux. There it works fine.
    But when I try to run it on my Windows machine, PHP says things like

    Notice: Use of undefined constant dbname - assumed 'dbname' in
    c:\apache\htdoc s\aposhop\tests hop\classes\xxx .class.php on line 77

    Notice: Use of undefined constant user - assumed 'user' in
    c:\apache\htdoc s\aposhop\tests hop\classes\xxx .class.php on line 78

    Notice: Use of undefined constant pass - assumed 'pass' in
    c:\apache\htdoc s\aposhop\tests hop\classes\xxx .class.php on line 79

    Notice: Use of undefined constant css - assumed 'css' in
    c:\apache\htdoc s\aposhop\tests hop\classes\xxx .class.php on line 80

    On Windows I run PHP 4.3.2
    On Linux runs PHP 4.3.1

    Does anybody know how to fix it? Please help...
  • Ian.H [dS]

    #2
    Re: Whats the problem

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Whilst lounging around on 18 Jul 2003 03:13:16 -0700,
    severin.breitko pf@t-online.de (Zor) amazingly managed to produce the
    following with their Etch-A-Sketch:
    [color=blue]
    > Hi I have a script for a shopsystem on a Linux. There it works
    > fine. But when I try to run it on my Windows machine, PHP says
    > things like
    >
    > Notice: Use of undefined constant dbname - assumed 'dbname' in
    > c:\apache\htdoc s\aposhop\tests hop\classes\xxx .class.php on line 77
    >
    > Notice: Use of undefined constant user - assumed 'user' in
    > c:\apache\htdoc s\aposhop\tests hop\classes\xxx .class.php on line 78
    >
    > Notice: Use of undefined constant pass - assumed 'pass' in
    > c:\apache\htdoc s\aposhop\tests hop\classes\xxx .class.php on line 79
    >
    > Notice: Use of undefined constant css - assumed 'css' in
    > c:\apache\htdoc s\aposhop\tests hop\classes\xxx .class.php on line 80
    >
    > On Windows I run PHP 4.3.2
    > On Linux runs PHP 4.3.1
    >
    > Does anybody know how to fix it? Please help...[/color]


    I have an idea.. yes.. thanks =)

    Oh.. you wanted the answer... the answer is as obvious as your code
    is.

    Why not show some of your code so that others can see it and possibly
    assist?

    For now.. look for your missing $(s).



    Regards,

    Ian

    -----BEGIN PGP SIGNATURE-----
    Version: PGP 8.0

    iQA/AwUBPxfKGmfqtj2 51CDhEQI7BQCgxZ cs2sNQjaay7rCUG y3ByhUlAf8An1wu
    pke8ZoDwRgwAvFT 7N9ab5dpZ
    =MYJ7
    -----END PGP SIGNATURE-----

    --
    Ian.H [Design & Development]
    digiServ Network - Web solutions
    www.digiserv.net | irc.digiserv.ne t | forum.digiserv. net
    Programming, Web design, development & hosting.

    Comment

    Working...