Solved

PHP websit template not working with Netscape for Linux

Posted on 2002-06-19
2
202 Views
Last Modified: 2006-11-17
Our PHP website template works for nearly all browsers (at least on Windows). We've tested with MSIE 5, Opera 5, Netscape 4.75, Netscape 6. However, there's a problem with Netscape on Linux (don't know what version as I could not find it on Netscape running on Linux) Linux sys we tested with uses RedHat (ver. 7 I think)

When requesting the template file, Netscape on Linux just closes on loading file. No errors given and I've browsed over the template files and they seem syntactically correct. Could it be a Netscape for Linux bug or does our template have problems? Below are URLs to template code:

Problem files:
http://www.engr.sjsu.edu/daluu/tmp/index.txt
http://www.engr.sjsu.edu/daluu/tmp/template.txt
Template.txt is the culprit it seems. Index.txt just references it.

Working (under Linux) older version:
http://www.engr.sjsu.edu/daluu/tmp/index_old.txt
This file has the template.txt code already embedded in it but is an older version. Pretty much similar though.

Template viewable on web:
http://www.engr.sjsu.edu/coe/template/
View source to see intended output from template upon processing.


0
Comment
Question by:daluu
2 Comments
 
LVL 5

Accepted Solution

by:
Hamlet081299 earned 50 total points
ID: 7094319
I doubt it is a PHP issue specifically.

As far as Netscape is concerned it will just be getting HTML source.

Is there any conditional source that specifically recognises Netscape on Linux?

If not, and the source generated would be the same as for Netscape on Windows then try loading the page in Netscape on Windows, and then look at the generated source.

You may want to post that source (or a link to it).

My gut feeling is that it'll be a specific Netscape on Linux bug, but without seeing the output it's hard to know.
0
 
LVL 4

Author Comment

by:daluu
ID: 7097216
We are trying to gear our template to support most browsers and so far, it is at least acceptable. However, we do not use any conditional checks for browser type to send a tailored version to the user's browser. The template loads ok in Netscape for Windows. Just not on Linux. And it works in Mozilla and Konqueror browsers for Linux though.

I'll look into viewing the source under Netscape for Windows. You can see the source at: (which I already posted above)

http://www.engr.sjsu.edu/coe/template/ 
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question