PDA

View Full Version : Wtf Happened To My Code?



Chewie
03-13-2004, 01:19 AM
I've started building myself a small site (not dynamic pages) using DW and it's all working here on the HDD, but when I upload to the server, the files get changed and pictures are removed from the code...

Original index.html code:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>www.chewie.org.uk - please choose your site...</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>

<body>
<table width="770" border="0" align="left">
 <tr>
   <td><p align="center">www.chewie.org.uk is home to the following sites:</p>
     <p align="center"><a href="ccs/index.html"><img src="ccs/images/ccs_banner1.jpg" alt="The CCS website will open very soon" width="468" height="60" border="0" /></a><br />
     Please click on the image above to enter the CCS website...</p>
     <hr />
     <p align="center"> Please click on the image below to enter the Sambo support
       site<br />
       <a href="Sambo/index.html"><img src="Sambo/banner.gif" alt="Dedicated to Sambo White" width="234" height="60" border="0" align="middle" /></a></p>
     <hr /></td>
 </tr>
 <tr>
   <td><div align="center"><font size="1">Website design & layout ©
       Chewie 2003</font></div></td>
 </tr>
</table>
</body>
</html>

Ssame page after uploading:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>www.chewie.org.uk - please choose your site...</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>

<body>
<table width="770" border="0" align="left">
 <tr>
   <td><p align="center">www.chewie.org.uk is home to the following sites:</p>
     <p align="center"><a href="ccs/index.html"></a><br />
     Please click on the image above to enter the CCS website...</p>
     <hr />
     <p align="center"> Please click on the image below to enter the Sambo support
       site<br />
       <a href="Sambo/index.html"></a></p>
     <hr /></td>
 </tr>
 <tr>
   <td><div align="center"><font size="1">Website design & layout ©
       Chewie 2003</font></div></td>
 </tr>
</table>
</body>
</html>

I've not seen this happen before - I had a site up for about 18months.
Anyone know WTF is going on?

NightStalker
03-13-2004, 01:33 AM
If you could, post a URL to where the script is located..

Chewie
03-13-2004, 01:35 AM
Originally posted by NightStalker@13 March 2004 - 01:33
If you could, post a URL to where the script is located..
http://www.chewbakke.pwp.blueyonder.co.uk
or
http://www.chewie.org.uk

NightStalker
03-13-2004, 01:39 AM
I see the top banner.. The bottom one looks like it dosn't exist...

Chewie
03-13-2004, 02:25 AM
Well bugger me if it wasn't NIS removing it - ;looks like I gotta do some poking around to sort that one out!
As regards the bottom image, DW isn't spotting dead links properly - I'd changed the folder from 'Sambo' to 'sambo'.

benxuk
03-20-2004, 04:59 AM
NIS did that, the dirty piece of shit, it keeps raping my ocx plugins too the bastardo (mexican for bastard)

:01: