Results 1 to 11 of 11
-
09-06-2002, 09:48 PM #1WHT Addict
- Join Date
- Oct 2001
- Posts
- 134
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
-
09-06-2002, 11:29 PM #2
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
-
09-06-2002, 11:41 PM #3WHT Addict
- Join Date
- Oct 2001
- Posts
- 134
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
-
09-07-2002, 01:02 AM #4Web Hosting Master
- Join Date
- May 2001
- Posts
- 946
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
-
09-07-2002, 01:04 AM #5WHT Addict
- Join Date
- Oct 2001
- Posts
- 134
No its directing to the same site.
Mike
-
09-07-2002, 02:03 AM #6
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
-
09-07-2002, 05:44 AM #7Web Hosting Master
- 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.
-
09-07-2002, 05:58 AM #8WHT Addict
- Join Date
- Oct 2001
- Posts
- 134
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
-
09-07-2002, 08:38 AM #9WHT Addict
- Join Date
- Oct 2001
- Posts
- 134
Well Ive decided to delete the site and try from start or move it to another server.
Thanks !Mike
-
09-07-2002, 11:09 PM #10WHT Addict
- Join Date
- Oct 2001
- Posts
- 134
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
-
05-21-2004, 02:45 AM #11New Member
- Join Date
- May 2004
- Posts
- 4
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....