Installing a script and keep getting these warning messages, need some help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eddie-executive
    Confirmed User
    • Apr 2003
    • 2061

    #1

    Installing a script and keep getting these warning messages, need some help

    Please note this is the first script i ever installed. I got the admin area working and everything but when I click build pages i get all these warning messages. What am i doing wrong? There is a list of like 40 of these. Is it a simple directory path problem?



    Building Home Page...
    Warning: fopen(/.com/templates/home.html): failed to open stream: No such file or directory in /hsphere/local/home/user/.com/admin/build-library.php on line 17

    Warning: filesize(): Stat failed for /.com/templates/home.html (errno=2 - No such file or directory) in /hsphere/local/home/user/.com/admin/build-library.php on line 18

    Warning: fread(): supplied argument is not a valid stream resource in /hsphere/local/home/user/.com/admin/build-library.php on line 19

    Warning: fclose(): supplied argument is not a valid stream resource in /hsphere/local/home/user/.com/admin/build-library.php on line 20
    Saving Home Page...


    Warning: fwrite(): supplied argument is not a valid stream resource in /hsphere/local/home/user/.com/admin/build-library.php on line 27
    Jealousy... is a mental cancer. ~B.C. Forbes
  • Repetitive Monkey
    Confirmed User
    • Feb 2004
    • 3505

    #2
    It is caused by the script not finding the indicated file. If your script had error handling it would let you know that in simple terms and terminate instead of continuing to work with a resource that couldn't be loaded.

    Comment

    • Repetitive Monkey
      Confirmed User
      • Feb 2004
      • 3505

      #3
      Since it is mentioning the folder /.com/, perhaps you have forgotten to set a domain name and it is meaning to open /Name.com/?

      Comment

      • eddie-executive
        Confirmed User
        • Apr 2003
        • 2061

        #4
        Originally posted by Repetitive Monkey
        Since it is mentioning the folder /.com/, perhaps you have forgotten to set a domain name and it is meaning to open /Name.com/?
        i deleted the url and just put .com in here (dont want people knowing the url yet)
        Jealousy... is a mental cancer. ~B.C. Forbes

        Comment

        • grumpy
          Too lazy to set a custom title
          • Jan 2002
          • 9870

          #5
          make sure you set the rights for that dir to 777
          Don't let greediness blur your vision | You gotta let some shit slide
          icq - 441-456-888

          Comment

          Working...