Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > CSS > BOOK: CSS Instant Results
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: CSS Instant Results
This is the forum to discuss the Wrox book CSS Instant Results by Richard York; ISBN: 9780471751267
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: CSS Instant Results section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 28th, 2006, 07:45 AM
Registered User
 
Join Date: Oct 2006
Location: Wijnegem, , Belgium.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default IE7 script not working on linux server

Dear Mr. York,

First of all, thanks for the wonderfull work delivered and the clear syntax.
Question :
I develop on a Windows platform , but host my sites on a Linux server. I used the ie7-standard-p.js for the multi-column layout and it works like a charm under Windows. When posting my site on the Linux server it comes back with a 404-Page not found. Do you have any idea how to resolve this ?
Thanks in advance for your cooperation.

With best wishes,
Wim Paulussen
Reply With Quote
  #2 (permalink)  
Old October 28th, 2006, 09:36 AM
AGS AGS is offline
Wrox Technical Editor
Points: 245, Level: 4
Points: 245, Level: 4 Points: 245, Level: 4 Points: 245, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2005
Location: Russia
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Wim,

404 Not found generally means just that - Not found. Linux is case sensitive. Are you sure you've written URLs referencing your resources correctly i.e. case of the letters is matched exactly?
Reply With Quote
  #3 (permalink)  
Old October 28th, 2006, 10:02 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 5 Times in 5 Posts
Default

If you have a URL to where you've uploaded the project, I might be able to help you troubleshoot.



Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html
Reply With Quote
  #4 (permalink)  
Old October 29th, 2006, 06:40 AM
Registered User
 
Join Date: Oct 2006
Location: Wijnegem, , Belgium.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Thanks for the replies.
Forgot to mention that it works well with Firefox. Url is as follows :
http://www.asgc.be/sion/index.html (this works fine). Click on the leftmost language flag and you will see that the website comes up and then generates a 404 error.

To AGS,

I picked up that the ie7 script creates its own urls and that this effect causes my problem. It should not work in Firefox either, or am I missing something ?

Thanks for any help in advance.

With best wishes,
Wim


Reply With Quote
  #5 (permalink)  
Old October 29th, 2006, 11:37 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 5 Times in 5 Posts
Default

The IE7 script doesn't work in Firefox, but you should still include it using conditional comments so that other browsers don't even see the script. It doesn't offer any functionality for other browsers anyway, since it is a CSS compliance patch for IE6 that is intended to bring IE6 up to the same level of CSS compatibility as is found in other browsers.

I've tried to load up IE7's test page to no avail. Can you please send me a link to the test.html file, which should be present in the IE7 install directory.

A listing of that directory should look something like this:
Code:
blank.gif              ie7-css3-selectors.js      ie7.gif          ie7-load.htc     ie7-server.css     test.html
ie7-base64.php         ie7-css-strict.js          ie7-graphics.js  ie7-object.htc   ie7-squish.js      test-trans.png
ie7-content.htc        ie7-dhtml.js               ie7-html4.js     ie7-overflow.js  ie7-standard-p.js
ie7-core.js            ie7-dynamic-attributes.js  ie7-ie5.js       ie7-quirks.js    ie7-xml-extras.js
ie7-css2-selectors.js  ie7-fixed.js               ie7-layout.js    ie7-recalc.js    README.txt
Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html
Reply With Quote
  #6 (permalink)  
Old October 29th, 2006, 01:00 PM
AGS AGS is offline
Wrox Technical Editor
Points: 245, Level: 4
Points: 245, Level: 4 Points: 245, Level: 4 Points: 245, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2005
Location: Russia
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

As far as I understand the problem is caused by ie7-load.htc file. It is the file which raises 404 error. The reason is probably that Apache Web server doesn't have correct MIME type mapped to .htc files.
There is a link to Microsoft article regarding this subject and configuration needed for Apache server:
http://support.microsoft.com/kb/306231

Reply With Quote
  #7 (permalink)  
Old October 30th, 2006, 01:51 AM
Registered User
 
Join Date: Oct 2006
Location: Wijnegem, , Belgium.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks guys,

It works now. I included all the files (initially only installed te ie7-standard-p.js script). The result can be viewed on the abovementioned link.

I will do the necessary to upload the english text so you can start booking your holidays in Saint Tropez ...

With best wishes,
Wim


Reply With Quote
  #8 (permalink)  
Old January 25th, 2007, 09:28 PM
Registered User
 
Join Date: Jan 2007
Location: Collingswood, NJ, .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Looks like I am having the same problem with the IE script on the Linux server. I have double and triple checked my coding putting the contents under the root of the domain as well as a copy under the directory where the project resides. The bottom status bar of IE shows the files are loading but the iframe does not display.

One note: my hosting provider is shared so I have no ability to restart APACHE. I have added the meta type for the htc file but with no restart am I "dead in the water"? Other than move to Windows hosting are there any other suggestions?

Files at http://www.go2technologies.net/WroxC...ect1/Wrox.html

Thanks!
Reply With Quote
  #9 (permalink)  
Old January 25th, 2007, 10:49 PM
Registered User
 
Join Date: Jan 2007
Location: Collingswood, NJ, .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by Collwood13
 Looks like I am having the same problem with the IE script on the Linux server. I have double and triple checked my coding putting the contents under the root of the domain as well as a copy under the directory where the project resides. The bottom status bar of IE shows the files are loading but the iframe does not display.

One note: my hosting provider is shared so I have no ability to restart APACHE. I have added the meta type for the htc file but with no restart am I "dead in the water"? Other than move to Windows hosting are there any other suggestions?

Files at http://www.go2technologies.net/WroxC...ect1/Wrox.html

Thanks!
This was a coding issue with a misplaced space. Always best to use the code from the CD to verify! This helped locate the error. All is fine now.
Reply With Quote
  #10 (permalink)  
Old February 1st, 2016, 06:35 AM
spiringwriter
Guest
 
Posts: n/a
Default

Weird on Linux has 90% of all servers, should work either way, check the paths
Reply With Quote
Reply


Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image preview not working in IE7.Please help subhasps8 ASP.NET 2.0 Professional 0 October 3rd, 2007 12:35 AM
IE7 and parent.location not working? Camer Javascript How-To 2 April 24th, 2007 09:30 AM
problem in tomcat working in linux frozen84 Apache Tomcat 1 January 2nd, 2007 12:56 AM
POST method not working in LINUX Server , but work cnilashis Beginning PHP 2 August 19th, 2003 08:13 AM
Form posting not working on Win32 but OK on linux synergz BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 July 21st, 2003 11:37 AM



All times are GMT -4. The time now is 02:34 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.