Getting error when try to access php script - any idea?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tvnaidu
    Contributor
    • Oct 2009
    • 365

    Getting error when try to access php script - any idea?

    Warning: include() [function.includ e]: URL file-access is disabled in the server configuration in /home/johndoe/public_html/members_list.ph p on line 38

    Warning: include(http://xyz.net/display_members _info.php) [function.includ e]: failed to open stream: no suitable wrapper could be found in /home/johndoe/public_html/members_list.ph p on line 38

    Warning: include() [function.includ e]: Failed opening 'http://xyz.net/display_members _info.php' for inclusion (include_path=' .:/usr/lib/php:/usr/local/lib/php') in /home/johndoe/public_html/members_list.ph p on line 38
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    As the error tells you, your PHP configuration does not allow you to include files using the http:// protocol. See this section of the documentation for info.

    Comment

    • ilya Kraft
      New Member
      • Jan 2011
      • 134

      #3
      Can you post line 38, or better 35-40 line code so I'll try to figure it out.

      /home/johndoe/public_html/members_list.ph p on line 38

      Comment

      • tvnaidu
        Contributor
        • Oct 2009
        • 365

        #4
        Line 38 is cuz.net/display.....php

        This was working earlier, now getting error

        Comment

        • Markus
          Recognized Expert Expert
          • Jun 2007
          • 6092

          #5
          It's likely you've upgraded your PHP installation from PHP4 to PHP5 and in the process you have allow_url_fopen disabled in your php.ini.

          Comment

          Working...