Results 1 to 11 of 11
  1. #1

    index.php not working in /web folder

    I have a site that does gives a dns error on the index.php file in the /web folder. I can upload test.php and rename it to index.php and it works fine. All other php working in /web folder and whole site. I can also delete part of the php from the index.php and the php script works fine. Seems that a lot of the php not working relates to the include folder. Any reference to the includes folder causes a Dns error page unavailale. Its chmod 777 by the way.

    Any ideas why the index.php file suddenly quit working on the "ONE SITE" all others working fine on server.

    Any .htaccess that could possible fix this?

    Thanks in advance.
    Last edited by D8Mike; 09-06-2002 at 10:20 PM.
    Mike

  2. #2
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    14,135
    A DNS error on index.php???
    That makes almost no sense at all. Apache has little to do with DNS (aside from reading what the hostname is from the httpd.conf file).
    Make sure that you have the httpd.conf file set up correctly.
    Tom Whiting, WHMCS Guru extraordinaire
    Linux problems? WHMCS Problems? Give me a shout
    Check out my WHMCS Addons

  3. #3
    http://www.christian3x3.com/index.php

    As I said I can delete this index.php file and upload info.php and rename it index.php:
    http://www.christian3x3.com/index2a.php
    and it works just fine . I can remove any /includes reference from this index.php and it works: "REMOVEING THE FOLLOWING"
    <?
    #########################################
    # !! - LEAVE THIS STUFF WELL ALONE - !! #
    #########################################
    include ('includes/top_index.php');
    #########################################
    # - May all your piles be money - #
    #########################################
    ?>

    http://www.christian3x3.com/index3.php
    but with links to /includes folder I get this dns page not found error.
    Click the holybible link on index3.php (includes folder) and back to dns error you go!
    However .php files within the includes folder work just fine:
    http://www.christian3x3.com/includes/dloads.php

    Im stumped on this ! I have chown the user to the /includes folder and set permissions to 777 yet still same problem.
    Last edited by D8Mike; 09-07-2002 at 12:29 AM.
    Mike

  4. #4
    DNS error ? Does the code redirect browser to another address? If this is the case then DNS server can not reolve that target url.

    Mac

  5. #5
    No its directing to the same site.
    Mike

  6. #6
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    14,135
    After viewing the first link, the site looks like a header or redirect problem.
    Go through includes/top_index.php.. Make sure you've got everything spelled correctly, and that you've configured redirects correctly.
    As well go through all files required by includes/top_index.php, untill you find the problem.
    Tom Whiting, WHMCS Guru extraordinaire
    Linux problems? WHMCS Problems? Give me a shout
    Check out my WHMCS Addons

  7. #7
    Join Date
    May 2002
    Location
    UK
    Posts
    2,997
    DNS errors can occur on scripts. It's usually an error that IE doesn't know what to do with. I have the same error occasionally but haven't found the answer yet.

  8. #8
    Ok Ive uploaded most of the site on another site of mine on another server and its working just fine?


    http://www.kchat.org/newsite/www.christian3x3.com


    This site was just fine today about 1pm it went haywire. Nothing has been added to the site nor anything to the server!
    Last edited by D8Mike; 09-07-2002 at 08:27 PM.
    Mike

  9. #9
    Well Ive decided to delete the site and try from start or move it to another server.

    Thanks !
    Mike

  10. #10
    Im also getting this error everytime I try to access the index.php

    [Sat Sep 7 22:04:37 2002] [notice] child pid 26060 exit signal Segmentation fault (11)
    Mike

  11. #11
    I have the same problem:

    mysql version 4.1
    php version 4.34
    postnuke version 7.2.3

    I installed postnuke, the latest version and had the same problem so I installed version 7.2.3 everythign went fine but when I access the index.php I get the "this page cannot displayed".
    I look at the site specific logs and see no access, I look at the site specific error logs and nothing, I look inthe general access logs and nothign I look in the general error logs(apache) and I get this:
    [Thu May 20 22:37:27 2004] [notice] child pid 4780 exit signal Segmentation fault (11)
    I put a shell window next to the browser and hit refresh and that is all I get.
    somewhere, not sure where, but somethign is not working, not sure if its the postnuke or the php version I am using, or the apache version, I can however use phpwebsite with no problems.....
    can anyone help me please i have been grueling over this for two days....thanks....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •