+ Reply to Thread
Results 1 to 4 of 4

Thread: Php problem

  1. #1
    Fsmvda is offline x10Hosting Member Fsmvda is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    9

    Php problem

    When I run:
    PHP Code:
    <?php require("/home/fsmv/public_html/flash/comments/comments.php"); ?>
    why do I get this error:
    "Warning: require(/home/fsmv/public_html/flash/comments/comments.php) [function.require]: failed to open stream: No such file or directory in /home/fsmv/public_html/flash/flipside.php on line 54

    Fatal error: require() [function.require]: Failed opening required '/home/fsmv/public_html/flash/comments/comments.php' (include_path='.:/x10hosting/php1/pear') in /home/fsmv/public_html/flash/flipside.php on line 54"

    Ps. line 54 is where the require is in the .php file
    Last edited by Fsmvda; 04-30-2009 at 06:44 PM.

  2. #2
    leafypiggy's Avatar
    leafypiggy is offline Community Advocate leafypiggy is on a distinguished road
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    2,228

    Re: Php problem

    check your file? Does it really exist?

    Why does comments.php call upon flipside.php ? Does that file exist?
    Neil Hanlon | x10Hosting Support Representative
    Neil[at]x10hosting.com
    █ I'm always happy to help. Just ask a question in Free Hosting
    Terms of Service IRC

  3. #3
    Fsmvda is offline x10Hosting Member Fsmvda is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    9

    Re: Php problem

    they both exist. flipside.php is the page that actually has the comments on it.
    Edit:
    Ok I was messing with it and I got it fixed
    Last edited by Fsmvda; 04-30-2009 at 08:08 PM. Reason: Automerged Doublepost

  4. #4
    quantum1's Avatar
    quantum1 is offline x10Hosting Member quantum1 is an unknown quantity at this point
    Join Date
    Sep 2008
    Location
    near Nashville, TN
    Posts
    68

    Re: Php problem

    What was the problem? Your solution may help others.
    Two rules of development:
    1) Computers work for people; People do not work for computers
    2) Maintainability is all that matters.

+ Reply to Thread

Similar Threads

  1. Replies: 3
    Last Post: 03-10-2008, 12:22 PM
  2. problem in php mail function and smtp
    By idrees in forum Free Hosting
    Replies: 2
    Last Post: 02-08-2008, 05:16 PM
  3. Sigo con problemas con phpbb2
    By reciecho in forum Soporte
    Replies: 7
    Last Post: 10-20-2007, 06:28 PM
  4. "PHP Startup: Invalid Library" - Interesting error
    By javaguy78 in forum Free Hosting
    Replies: 5
    Last Post: 03-27-2007, 02:33 PM
  5. php ad code problem
    By sourabhj in forum Free Hosting
    Replies: 7
    Last Post: 08-22-2006, 08:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers