Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Corrupted the project dwt file
Author « Topic »  

Potts
Starting Member

United Kingdom
7 Posts

Pre-sales questions only
(More Details...)

Posted - 03/14/2018 :  01:52:16  
Just updated my site and the Indoors template is as from the original download except I have attached the database. I have altered the project file in Dreamweaver but when I upload it the original template is still showing in the browser. I have checked the file by retrieving from the server and it is the one I have made changes to except it is not showing images and the layout correctly. It is on mplsales.co.uk

Dave

Andy
ECT Moderator

95440 Posts

Posted - 03/14/2018 :  01:55:02  
Hi Dave

When you make a change to the dwt file it should update all your front end store pages with the changes. Those will then need uploading to the server, the dwt file is just a design tool and doesn't necessarily need uploading.

Andy

Please feel free to review / rate our software

Potts
Starting Member

United Kingdom
7 Posts

Pre-sales questions only
(More Details...)

Posted - 03/14/2018 :  02:17:37  
That was quick Andy...The pages are updating ok but now the site is not showing as it should, if you can have a look I am sure you will know why !! Can you please look it is mplsales.co.uk

Dave

Andy
ECT Moderator

95440 Posts

Posted - 03/14/2018 :  02:22:21  
It seems a lot of the paths are pointing to your hard drive eg

<link href="file:///C|/Users/t/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="file:///C|/Users/t/js/html5.js"></script>
<link rel="stylesheet" href="file:///C|/Users/t/css/responsivemobilemenu.css">
<script src="file:///C|/Users/t/js/jquery-1.9.1.min.js"></script>
<script src="file:///C|/Users/t/js/responsivemobilemenu.js"></script>
<link href='https://fonts.googleapis.com/css?family=Exo+2:400,400italic,700' rel='stylesheet' type='text/css'>
<link href="file:///C|/Users/t/css/ectcart.css" rel="stylesheet" type="text/css" />

That's causing the problem. Are you using Dreamweaver or Expression Web?

Andy

Please feel free to review / rate our software

Potts
Starting Member

United Kingdom
7 Posts

Pre-sales questions only
(More Details...)

Posted - 03/14/2018 :  02:25:11  
It looks like css to me..this is the code on the project file

<meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1" />
<link href="file:///C|/Users/t/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="file:///C|/Users/t/js/html5.js"></script>
<link rel="stylesheet" href="file:///C|/Users/t/css/responsivemobilemenu.css">
<script src="file:///C|/Users/t/js/jquery-1.9.1.min.js"></script>
<script src="file:///C|/Users/t/js/responsivemobilemenu.js"></script>
<link href='https://fonts.googleapis.com/css?family=Exo+2:400,400italic,700' rel='stylesheet' type='text/css'>
<link href="file:///C|/Users/t/css/ectcart.css" rel="stylesheet" type="text/css" />

Should the source be my hardrive file?

Dave

Potts
Starting Member

United Kingdom
7 Posts

Pre-sales questions only
(More Details...)

Posted - 03/14/2018 :  02:26:21  
Funny, you spotted that as I was making my post I'ts Dreamweaver

Dave

Andy
ECT Moderator

95440 Posts

Posted - 03/14/2018 :  02:31:14  
OK; can you make sure you have defined the Site within Dreamweaver, Site > New Site from the top menu - you will still probably have to tidy up those paths though via the dwt file.

Andy

Please feel free to review / rate our software

Potts
Starting Member

United Kingdom
7 Posts

Pre-sales questions only
(More Details...)

Posted - 03/14/2018 :  02:38:23  
Site is defined and updating, I have made these changes but not sure about one line..


<meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1" />
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="file:///C|/Users/t/js/html5.js"></script>
<link rel="stylesheet" href="../css/responsivemobilemenu.css">
<script src="../jquery-1.9.1.min.js"></script>
<script src="../responsivemobilemenu.js"></script>
<link href='https://fonts.googleapis.com/css?family=Exo+2:400,400italic,700' rel='stylesheet' type='text/css'>
<link href="../css/ectcart.css" rel="stylesheet" type="text/css" />

Dave

Potts
Starting Member

United Kingdom
7 Posts

Pre-sales questions only
(More Details...)

Posted - 03/14/2018 :  03:24:48  
Can I go back...all links to hard drive files sorted. I think it is something to do with the css which I have not touched, any ideas you can point me to try out?

Dave

Andy
ECT Moderator

95440 Posts

Posted - 03/14/2018 :  03:26:55  
This line

<script type="text/javascript" src="file:///C|/Users/t/js/html5.js"></script>

should be

<script type="text/javascript" src="../js/html5.js"></script>

Can you let me know what you mean about "go back"?

Andy

Please feel free to review / rate our software

Marshall
Ecommerce Template Guru

USA
1916 Posts

Posted - 03/14/2018 :  05:51:33  
Not sure if Dream Weaver has the same quirk as Expression Web, but saving any page in Design View or adding a base URL can cause those files to change to your computer path. As a safety measure, always save pages in Code View.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 03/14/2018 :  11:53:48  
Hi Dave, I noticed the chimneyandflue site has a mix of links some point to https://chimneyandflue (s-steel)while others point to https://www.chimneyandflue (black) the links need to be consistent or customers will lose items in their cart as www and non-www create different sessions.

1. In the .dwt file set the links a relative so that they are like:

<li><a href="/category/Twin-Wall-Chimney-S-Steel">Twin Wall Chimney S/Steel</a></li>
<li><a href="/category/Twin-Wall-Chimney-Black">Twin Wall Chimney Black</a></li>

2. It looks like the admin store url is setup using www, check with your host on how to re-direct traffic to the www version of the domain using a .htaccess directive. There is a sample by ITZAP here https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=106851 To test that the redirect is working clear your browser history and cache then browse to the your site https://yourdomain.com and it should redirect you to https://www.yourdomain.com you can also google your domain and click on a link that does not have the www to make sure it goes to https://www.yourdomain.com

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

Potts
Starting Member

United Kingdom
7 Posts

Pre-sales questions only
(More Details...)

Posted - 03/16/2018 :  02:40:29  
Appreciate the good advice Marshall and Sinbad, will try your suggestions and fingers crossed.

Dave
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000