Getting a php error on my site - I can pay for help

Discussion in 'PHP' started by thebassman, Jan 23, 2008.

  1. #1
    Getting the following error on my blog:

    warning: getimagesize(This): failed to open stream: No such file or directory in <snip>/Textile.php on line 2744.
    Code (markup):
    I hired someone who is no longer available to code it, and I can't figure it out (not much of a coder). Any ideas? I can pay if you can fix it.
     
    thebassman, Jan 23, 2008 IP
  2. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #2
    This is saying that the file or directory referred to on line 2744 of the script, one or the other, does not exist. Could your image have been deleted for some reason? This is the most likely cause if the script was working before.



    If you want to copy the file Textile.php into a zip file I will look at the code for you.
     
    Colbyt, Jan 23, 2008 IP
  3. thebassman

    thebassman Asleep at the Keyboard

    Messages:
    1,105
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    140
    #3
    Thanks! I'll pm you the zip file.
     
    thebassman, Jan 23, 2008 IP
  4. thebassman

    thebassman Asleep at the Keyboard

    Messages:
    1,105
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    140
    #4
    I'm not sure which image it is referring to, either... and the error is only on that 1 post... :|
     
    thebassman, Jan 23, 2008 IP
  5. sharqi

    sharqi Guest

    Messages:
    105
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    A lot of people fail to code any kind of failsafe into their scripts.

    Basically there should be some functionality that makes sure the file exists before trying to do things with it, and if it does not display an appropiate error to the user rather than a PHP error.

    If colbyt doesnt fix it for you then give me a yell via PM.
     
    sharqi, Jan 24, 2008 IP