Need Help - Regarding the Error

Discussion in 'PHP' started by sharief, Aug 19, 2005.

  1. #1
    The site was working properly and now when i login to the side i get the following error.

    Warning: main(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/dare/public_html/ae_content/registration-ind2.php on line 293

    Warning: main(http://www.daretodreamstudios.com/includes/sponsorbanner.php): failed to open stream: Permission denied in /home/dare/public_html/ae_content/registration-ind2.php on line 293

    Warning: main(): Failed opening 'http://www.daretodreamstudios.com/includes/sponsorbanner.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dare/public_html/ae_content/registration-ind2.php on line 293

    Please help to rectify this error. I couldn't find the cause for this error.

    Your help will be appreciated.

    Thank you.
     
    sharief, Aug 19, 2005 IP
  2. wolandino

    wolandino Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    check all files and the permissions there
     
    wolandino, Aug 20, 2005 IP
  3. sharief

    sharief Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hmmmmm. We already check all the file. Some times it works properly and sometimes it doesn't.

    Regards
    Sharief
     
    sharief, Aug 20, 2005 IP
  4. wolandino

    wolandino Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    are you connect to the remote server?
     
    wolandino, Aug 20, 2005 IP
  5. sharief

    sharief Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yes we can connect to the remote server. Can we know in which way we need to check the files
     
    sharief, Aug 21, 2005 IP
  6. mck9235

    mck9235 Peon

    Messages:
    42
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Why would permissions be an error, it would've returned a different error then, it seems like you must have the path wrong.
     
    mck9235, Aug 23, 2005 IP
  7. sharief

    sharief Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks for all ur support. I rectified the error.

    I need one more help

    can anybody here guide me in localizing an entire site with php

    million thanks
     
    sharief, Aug 24, 2005 IP
  8. sharief

    sharief Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Anybody having the PHP interview Question with Answer.
    Please send it to my mail-id

    million thanks
     
    sharief, Sep 2, 2005 IP
  9. sharief

    sharief Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Anybody Help me,

    How to allow the users to upload his/her own movie and music files to a website and viewing it whenever they wanted.


    Regards
    Sharief.
     
    sharief, Sep 29, 2005 IP
  10. DRB

    DRB Guest

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    What was your resolution? I am having the exact same problem.
     
    DRB, Oct 12, 2005 IP
  11. DRB

    DRB Guest

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    After a few days and more Google results than I care to mention I found the solution to my problem although there does seem to be quite a number of possible causes for this error message.

    include("http://infonet/testnet/staff/staffnews.php?show=today");

    ...problem was the server didn't know where "http://infonet/" was (actually the web server IS InfoNet). The solution was to put the following into '/etc/hosts':

    10.17.93.232 infonet

    ..simple, everything works now.

    Many others were having trouble do to file permisions, PHP safemode, and allow_url_fopen being turned off among other things.
     
    DRB, Oct 12, 2005 IP