[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 03-30-2006, 10:59 PM   #1 (permalink)
New.Net Destroyer....
 
Zeeble's Avatar
 
Join Date: Feb 2005
Location: Devon - UK
Posts: 2,930
99.50 NP$ (Donate)

Zeeble is just really niceZeeble is just really niceZeeble is just really niceZeeble is just really nice

AIDS/HIV Third World Education Animal Cruelty
$10 to the person who can fix this!

We have a problem with the HTTPD CONFIG (I think).

When you visit the site, here: http:/www.dd.am you will see that the site just tries to get you to open PHP files rather than displaying the page.

If anyone can fix it, I will pay $10.
__________________
“It is not from the benevolence of the butcher, the brewer, or the baker, that we expect our dinner, but from their regard to their own interest.” - Adam Smith
Zeeble is offline  
Old 03-30-2006, 11:06 PM   #2 (permalink)
NamePros Legend
 
weblord's Avatar
 
Join Date: Dec 2005
Location: Philippines - www.Nabaza.com
Posts: 19,840
21,700.43 NP$ (Donate)

weblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatness

Autism Protect Our Planet
login to cpanel and click on mime types
type "application/x-httpd-php" on mime type input box
and type ".php" on extensions input box.

refresh page see if it works.
weblord is offline  
Old 03-30-2006, 11:57 PM   #3 (permalink)
NamePros Regular
 
Join Date: Mar 2006
Posts: 394
211.38 NP$ (Donate)

sacx13 is on a distinguished road


Lightbulb

Or install the php on your server Anyway ... I don't know how is your cp ... but 1 thhing is sure ... your server is not recognize you the php mime-type, This means is not added in your httpd.conf for apache module for php is not installed

Regards
Adrian
sacx13 is offline  
Old 03-31-2006, 12:28 AM   #4 (permalink)
NamePros Regular
 
Chronos's Avatar
 
Join Date: Apr 2005
Posts: 265
26.10 NP$ (Donate)

Chronos will become famous soon enoughChronos will become famous soon enough


Or you have set incorrectly the zlib compression library.

Double check your httpd.conf to find an entry like this

<ifModule mod_php4.c>
php_value zlib.output_compression 16386
</ifModule>

sometimes the .htaccess has a compression instruction crashing with that in the apache configuration or the php script itself has a cache command such as ob_start(); causing the same behaviour.
__________________
%%- Word Press AUTO Content Generator: :talk:
THE END
Chronos is offline  
Old 03-31-2006, 01:02 AM   #5 (permalink)
NamePros Regular
 
asgsoft's Avatar
 
Join Date: Sep 2005
Location: At Home
Posts: 846
45.10 NP$ (Donate)

asgsoft is just really niceasgsoft is just really niceasgsoft is just really niceasgsoft is just really niceasgsoft is just really nice


firstly lets establish that php is on the server is it installed?
asgsoft is offline  
Old 04-01-2006, 02:14 AM   #6 (permalink)
mch
NamePros Regular
 
Join Date: Nov 2005
Location: EU
Posts: 248
99.25 NP$ (Donate)

mch is on a distinguished road


The server signature is:

Apache/1.3.34 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.1 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a

That means PHP has been installed. So the most possible problem is that the mime type hasn't been set in your httpd.conf, as mentioned before.
mch is offline  
Old 04-01-2006, 03:11 AM   #7 (permalink)
New.Net Destroyer....
 
Zeeble's Avatar
 
Join Date: Feb 2005
Location: Devon - UK
Posts: 2,930
99.50 NP$ (Donate)

Zeeble is just really niceZeeble is just really niceZeeble is just really niceZeeble is just really nice

AIDS/HIV Third World Education Animal Cruelty
Quote:
Originally Posted by asgsoft
firstly lets establish that php is on the server is it installed?
It is.
__________________
“It is not from the benevolence of the butcher, the brewer, or the baker, that we expect our dinner, but from their regard to their own interest.” - Adam Smith
Zeeble is offline  
Old 04-01-2006, 04:53 AM   #8 (permalink)
NamePros Regular
 
asgsoft's Avatar
 
Join Date: Sep 2005
Location: At Home
Posts: 846
45.10 NP$ (Donate)

asgsoft is just really niceasgsoft is just really niceasgsoft is just really niceasgsoft is just really niceasgsoft is just really nice


What type of mangement software do you have?

Cpanel, Plesk what?

Also what permissions do you have on your server?
asgsoft is offline  
Old 04-01-2006, 05:18 AM   #9 (permalink)
Domains my Dominion
 
sdsinc's Avatar
 
Join Date: Aug 2005
Location: Web 1.0
Posts: 6,285
1,095.94 NP$ (Donate)

sdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond repute

Third World Education Find Marrow Donors! Find Marrow Donors! Find Marrow Donors! Find Marrow Donors! Animal Rescue Animal Cruelty AIDS/HIV Animal Rescue Wildlife Breast Cancer
http:/www.dd.am seems OK.
__________________
Buy now - MassDeveloper.com $500
sdsinc is offline  
Old 04-01-2006, 05:25 AM   #10 (permalink)
NamePros Regular
 
asgsoft's Avatar
 
Join Date: Sep 2005
Location: At Home
Posts: 846
45.10 NP$ (Donate)

asgsoft is just really niceasgsoft is just really niceasgsoft is just really niceasgsoft is just really niceasgsoft is just really nice


have you tried pressing on a link?

//edit

just checked and i see its fine

congrats
asgsoft is offline  
Old 04-01-2006, 06:02 AM   #11 (permalink)
New.Net Destroyer....
 
Zeeble's Avatar
 
Join Date: Feb 2005
Location: Devon - UK
Posts: 2,930
99.50 NP$ (Donate)

Zeeble is just really niceZeeble is just really niceZeeble is just really niceZeeble is just really nice

AIDS/HIV Third World Education Animal Cruelty
I'm currently using Cpanel.

The problem is still there. If you click on "New Posts" in DD.am...
__________________
“It is not from the benevolence of the butcher, the brewer, or the baker, that we expect our dinner, but from their regard to their own interest.” - Adam Smith
Zeeble is offline  
Old 04-01-2006, 07:24 AM   #12 (permalink)
NamePros Regular
 
Jim_'s Avatar
 
Join Date: Aug 2005
Posts: 585
285.40 NP$ (Donate)

Jim_ is a name known to allJim_ is a name known to allJim_ is a name known to allJim_ is a name known to allJim_ is a name known to allJim_ is a name known to all

Save The Children
Thats really strange. Most of the pages load fine except for showthread.php. The showthread page loads fine in certain circumstances, but other times, it gets sent as an attachment.

I suspect the problem is within the showthread.php file.

http://www.dd.am/showthread.php?goto=lastpost&t=503 <-- application/x-unknown-content-type :S
http://www.dd.am/showthread.php?t=503 <-- text/html
__________________
ask me about the internet

Last edited by Jim_; 04-01-2006 at 07:28 AM.
Jim_ is offline  
Old 04-01-2006, 09:10 PM   #13 (permalink)
Eating Pie
 
iNod's Avatar
 
Join Date: Nov 2004
Location: Canada
Posts: 2,289
126.05 NP$ (Donate)

iNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud of

Special Olympics AIDS/HIV Cystic Fibrosis Save The Children Baby Health Cystic Fibrosis
It is actually the server. Not missing mime type or anything. The PHP was not complied with Apache properly.

I find it strange however that some parts work and others don't.

Hrm.. I have never heard of this..

- Steve
__________________
I feel old.
iNod is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 04:38 PM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85