SSI problems
I joined up with free prohosting because they offer a cgi bin and ssi. So the time finally comes that I want to use SSI and i cant get the damn thing to work. I want to include 2 columns of a table on each page. One on each side for naviagtion. As i dont want to go and change every page every time i change something in the 2 columns, I was told SSI was good. This is my code.
<body bgcolor="#FFFFFF">
<table border="0" width="100%">
<tr>
<td align="center" valign="top" width="15%"><!--#include file="http://lightning.prohosting.com/~tminton/left.txt"--></td>
<td valign="top" width="70%"><p align="center"><img
src="javamain.jpg" width="304" height="110"></p>
</td>
<td align="center" valign="top" width="15%"><!--#include file="http://lightning.prohosting.com/~tminton/right.txt"--></td>
</tr>
</table>
</body>
</html>
When I view the page absolutely noothing happens. No 2 columns anywhere, just a blank page with one image which is broken but as this is a tester i dont care.
Could someone see if they can see any probs with it?
thanks
------------------
Thomas Minton
The JavaScript Place
Get paid $20 - $160 for viewing adverts
Rob Pengelly posted this at 19:53 — 19th January 2000.
They have: 850 posts
Joined: Jul 1999
Did you try just
<!--#include file="left.txt"-->
------------------
A cow produces about 65 pounds of crap a day.
minton posted this at 20:02 — 19th January 2000.
They have: 314 posts
Joined: Nov 1999
I have just tried that code but no change. It definatly says in bold "Run CGI/SSI scripts". The reason I had the full url is because if it does work I am going to use it on my proper website. Anyone have anymore clues? This would be highly helpful.
------------------
Thomas Minton
The JavaScript Place
Get paid $20 - $160 for viewing adverts
Thomas
The JavaScript Place
The JavaScript Place Forums
Rob Pengelly posted this at 20:42 — 19th January 2000.
They have: 850 posts
Joined: Jul 1999
I am not %100 positive, but I do not think that you can call up a file, on a different server with SSI. SSI only works locally.
------------------
A cow produces about 65 pounds of crap a day.
http://www.thehungersite.com - http://www.therainforestsite.com
http://www.ratemymullet.com - Beauty is only mullet deep.
Orpheus posted this at 20:50 — 19th January 2000.
They have: 568 posts
Joined: Nov 1999
you could use PHP if you have it installed.
minton posted this at 21:52 — 19th January 2000.
They have: 314 posts
Joined: Nov 1999
I don't think PHP is installed and the prospect of having to change those files manually is beginning to scare me. Thing is, free prohosting do offer ssi.
I'm not sure i made myself clear though. I uploaded the file calling for the other 2 files onto free prohosting along with the 2 other files. Therefore the <!--#include file="right.txt"--> should have worked. Why it didn't I dont know. The only reason I did the http://blah blah was because that is how I want to use the code so that the files are dragged to http://www.javaplace.co.uk from http://lightning.prohosting.com/~tminton/right or left.txt
------------------
Thomas Minton
The JavaScript Place
Get paid $20 - $160 for viewing adverts
Thomas
The JavaScript Place
The JavaScript Place Forums
orlando_5 posted this at 03:18 — 23rd January 2000.
They have: 123 posts
Joined: Dec 1999
did you have an .shml extension? Check the path of your ssi include file.
minton posted this at 12:20 — 23rd January 2000.
They have: 314 posts
Joined: Nov 1999
I finally got it working yesterday but it completely mucked up the page. Luckily I did a test first and not on my real site. I have a tabel with a column to the right and left, both 15% big. I purt the ssi calling in each of the two coloumns (include file left.txt in left etc). when I loaded the page it was all mucked up.... Everything was everywhere.
Anyway, it doesnt matter now, im changing the layout. Thanks everyone that helped anyway.
------------------
Thomas Minton
The JavaScript Place
Get paid $20 - $160 for viewing adverts
Thomas
The JavaScript Place
The JavaScript Place Forums
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.