PHP Error Help

Out of context: Reply #6

  • Started
  • Last post
  • 8 Responses
  • stewdio0

    We can't see your code, but from the error message it looks like you've got some weird business happening on line 113 that's causing 3 separate include errors.

    Looks like you're trying to include a directory instead of an actual file. My guess is you've hardcoded the path name and the file name is a variable but for some reason the variable is coming out NULL. You're doing something like:

    include("includes/". $filename);

    But when $filename is NULL your script fails. Try testing for a value of $file and see if it is in fact holding data.

View thread