hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : index.php not working in /web folder
Reply

Forum Jump

index.php not working in /web folder

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-06-2002, 09:48 PM
D8Mike D8Mike is offline
WHT 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.

__________________
Mike


Last edited by D8Mike; 09-06-2002 at 10:20 PM.


Sponsored Links
  #2  
Old 09-06-2002, 11:29 PM
twhiting9275 twhiting9275 is offline
Just me
 
Join Date: Sep 2002
Location: Among the corn
Posts: 10,423
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.

  #3  
Old 09-06-2002, 11:41 PM
D8Mike D8Mike is offline
WHT 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.

__________________
Mike


Last edited by D8Mike; 09-07-2002 at 12:29 AM.
Sponsored Links
  #4  
Old 09-07-2002, 01:02 AM
wmac wmac is offline
Web Hosting Master
 
Join Date: May 2001
Posts: 937
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

__________________
Free Web Programming eLearning Courses at:
Learnem Educational and Course Farm

  #5  
Old 09-07-2002, 01:04 AM
D8Mike D8Mike is offline
WHT Addict
 
Join Date: Oct 2001
Posts: 134
No its directing to the same site.

__________________
Mike

  #6  
Old 09-07-2002, 02:03 AM
twhiting9275 twhiting9275 is offline
Just me
 
Join Date: Sep 2002
Location: Among the corn
Posts: 10,423
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.

  #7  
Old 09-07-2002, 05:44 AM
Rich2k Rich2k is offline
Web Hosting Master
 
Join Date: May 2002
Location: UK
Posts: 2,994
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  
Old 09-07-2002, 05:58 AM
D8Mike D8Mike is offline
WHT 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!

__________________
Mike


Last edited by D8Mike; 09-07-2002 at 08:27 PM.
  #9  
Old 09-07-2002, 08:38 AM
D8Mike D8Mike is offline
WHT 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

  #10  
Old 09-07-2002, 11:09 PM
D8Mike D8Mike is offline
WHT 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

  #11  
Old 05-21-2004, 02:45 AM
sddarkman619 sddarkman619 is offline
New 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....

Reply

Related posts from TheWhir.com
Title Type Date Posted
Think Encrypted Cloud Storage is Secure? Think Again, Researchers Say Web Hosting News 2014-04-21 15:05:59
Single Tweet Brings Dropbox DMCA Takedown Policy into Spotlight Web Hosting News 2014-03-31 04:30:00
DataCloud Canada Listing 2014-04-24 04:33:21
Dimension Data to Launch Three-Tier Cloud Backup Add-On Service Web Hosting News 2013-08-06 15:55:24
European Data Center Association Forms Groups to Address Power, Data Center Control Issues Web Hosting News 2013-04-10 12:15:48


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?