Configuratioin problem. Need Help.

Discussion in 'PHP' started by jfontestad, May 28, 2006.

  1. #1
    PHP has been giving me problems lately.

    I know it's a server configuration problem and not a script problem.

    This is what the person who codes for me said:

    "on your new server something wrong... i don't know what exactly, but it just calculating wrong
    for example, when it need calculating 2+3 it gives you 8"

    The same script works on another server flawlessly, but is having problem with my new server.

    Anyone have any suggestions.
     
    jfontestad, May 28, 2006 IP
  2. jfontestad

    jfontestad Well-Known Member

    Messages:
    1,236
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    148
    #2
    Anyone has any ideas ?
     
    jfontestad, May 28, 2006 IP
  3. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Just "2+3=8" is a bit vague. We'll need to see the script, probably.
     
    T0PS3O, May 28, 2006 IP
  4. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I agree that we need to see the script. It's all well and good to say that you "know it's a server configuration problem and not a script problem", but things like 'screw up mathematics' is not a PHP config flag I don't think... possibly your script is assuming a configuration setting, but then that's not PHP's fault!
     
    TwistMyArm, May 28, 2006 IP
  5. jfontestad

    jfontestad Well-Known Member

    Messages:
    1,236
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    148
    #5
    I have the same exact script running on my old server and it works like a charm. I had the guy that wrote the script look at it for me and he told me it has to be a configuration issue.

    I know it's tuff to help out when you can't see the script, but I can not release the source of the script.

    I can show the php info for both servers and hopefully someone can spot a difference in then and possibly solve my problem, but that's all I can do. Let me know if that will be good enough.

    Thanks.
     
    jfontestad, May 28, 2006 IP
  6. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I think what would be more usable would be a better description of the actual error... maye you can at least show us ten lines either side of the problem, along with a better description.

    What I mean to say is, it's obviously not a problem in the math code, so instead of the error being "when it need calculating 2+3 it gives you 8" we need to know where those numbers are coming from and so on.

    But definitely, a few lines either side of the problem would definitely help (and, while I'm not a lawyer I daresay it falls under fair use). The assumption also is that you can replicate the problem: don't just take your programmer's word for it.
     
    TwistMyArm, May 28, 2006 IP