LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-22-2010, 04:28 PM   #16
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 436

Original Poster
Rep: Reputation: 30

Quote:
Originally Posted by Jim Bengtson View Post
First thing, can he even access the server? Have him ping the server by servername and by IP address...it's possible that a firewall setting (perhaps on his laptops, or on the network node he's on) prevents him from even seeing the server.

If he can ping the server, put a simple HTML page ("Hello World") on that server and see if he can open it with his browser.

If he can see the server and open the simple HTML file, put a simple PHP file ("Hello World") at the same location as the HTML file he opened, and see if he can open the PHP file.

If he can access the server, the HTML file, and the PHP file, then it's something in your Drupal configuration.

If he can access the server and the HTML file, but not the PHP file, then it's something in how your server is serving PHP (because you've said he can access a PHP file on a different server).

If he can ping the server by IP address but not by name, then it's a DNS issue.

If he can't ping the server by IP address then it's a network issue.
Yes.

As I've stated, he can access the server. When he tries to access the php pages that things start to fall apart.

So yes, it's a php issue.

but quite how has got me foxed.
 
Old 01-22-2010, 04:31 PM   #17
sneakyimp
Senior Member
 
Registered: Dec 2004
Posts: 1,056

Rep: Reputation: 78
so he can access a simple html file and see its contents?
 
Old 01-22-2010, 06:18 PM   #18
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 436

Original Poster
Rep: Reputation: 30
Yes.

He can see the Apache "It Works!" pages
 
Old 01-22-2010, 06:44 PM   #19
sneakyimp
Senior Member
 
Registered: Dec 2004
Posts: 1,056

Rep: Reputation: 78
Are you *certain* that he's accessing YOUR 'it works' page?

Have you tried a php that just does contains this code:
Code:
<?php
echo "Yes you have reached the right page";
?>
With nothing fancy going on, it might just work.

If it doesn't, something really strange must be going on. Short of using his computer yourself, I imagine it would be very difficult to figure out what exactly. It could be a firewall thing where he's accessing your site from some over-protective or badly maintained network. It could be a mime thing where somehow his machine thinks that a PHP file is something else and cannot render it properly. It could be a cache problem where his browser refuses to reload the page and keeps referencing the cache (which has an empty file).

If you can use his machine, you could install firefox and firebug and learn a lot more about what is happening. Firebug would let you see request headers and redirects and that sort of thing.

Have you asked him to try a different browser?
 
Old 01-22-2010, 09:51 PM   #20
Jim Bengtson
Member
 
Registered: Feb 2009
Location: Iowa
Distribution: Ubuntu 9.10
Posts: 164

Rep: Reputation: 38
For that matter, it may be useful to use an entirely different OS/Browser on his computer. Try booting from a Linux Live CD...it'll start Linux from the CD, rather than whatever OS is on his hard drive, so no harm to his computer. Then use the firefox browser from the Live CD to access the server. If there is an issue tied to this physical computer (i.e., something blocking traffic based on his MAC address), you'll see the same problem. If it's just his laptop, the problem is on his hard drive, and the Live CD should work.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
BIOS page stalls until mouse initialized wcc1776 Linux - Hardware 6 06-03-2008 07:05 PM
page load time ygloo LQ Suggestions & Feedback 5 10-04-2006 11:03 AM
PPP stalls under moderate CPU load Alucard243 Linux - Networking 2 07-09-2005 02:46 PM
php page will not load kaplan71 Linux - Software 6 09-11-2004 07:37 AM
page load emulation aizkorri Linux - Software 4 06-25-2003 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration