Strange error

Discussion in 'PHP' started by zac439, Jun 12, 2007.

  1. #1
    I am using an API for Facebook, but am getting this odd error:

    This is coming from a clean cut example, with only basic code and no room for error as this is an actual Facebook example.

    Does this mean my PHP version is out of date?
     
    zac439, Jun 12, 2007 IP
  2. ansi

    ansi Well-Known Member

    Messages:
    1,483
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    100
    #2
    probably would help if you posted some code along with the error
     
    ansi, Jun 12, 2007 IP
  3. zac439

    zac439 Notable Member

    Messages:
    3,074
    Likes Received:
    214
    Best Answers:
    0
    Trophy Points:
    260
    #3
    I don't need to. I am simply asking if it was a PHP version issue. (the code is from facebook, so it isn't wrong...the code isn't the problem)

    Through some extra looking through a bunch of error knowledge bases, I found out that this is most likely what I suspected. My host is transferring my account to a PHP 5 enabled server sometime soon. We will see.
     
    zac439, Jun 12, 2007 IP
  4. ansi

    ansi Well-Known Member

    Messages:
    1,483
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    100
    #4
    could be... but php 4 code "should" work in php5. most of the time you run into problems when using code for php5 in php4 as there are functions in 5 that 4 does not have.
     
    ansi, Jun 12, 2007 IP
  5. zac439

    zac439 Notable Member

    Messages:
    3,074
    Likes Received:
    214
    Best Answers:
    0
    Trophy Points:
    260
    #5
    Exactly. The facebook code is PHP 5, and my host was running 4.

    They are currently moving me now so I can report soon on it.
     
    zac439, Jun 12, 2007 IP