navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

.asp pages include lines

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> .asp pages include lines
Page: [1]
 
seagust

 

Posts: 13
Joined: 1/25/2004
Status: offline

 
.asp pages include lines - 6/2/2005 6:52:45   
Hi

I am new to this forum and wondered if anyone could solve a mystery for me please? I realise you may not have any past experience with this particular shopping cart but wondered if it was more to do with frontpage or the extensions on the server?

If it is anywhere on this forum and I have missed it please accept my apologies.

Some weeks ago I purchased an ecommercetemplate shopping cart. I have the frontpage, generic, asp version. I am using frontpage 2003. I published the site and connected the database etc. I then started adding the categories and products etc. When trying to look at the products and categories I had created, to see what design issues needed adjusting I couldn't see any of the items.
After lots of going backwards and forwards with ecommercetemplates they published the asp pages for me and all was ok? As I need to often republish these pages after making changes it was necessary to try to find out what was going on for me to be able to keep publishing over what they had done for me. I found that when I looked at the .asp pages in the remote view within frontpage, the 5 include code lines which I have to place in the body of the page do not, for some strange reasons, publish when I publish them.
I place the include lines where they have to go, I publish, but the place where I have placed them is blank when I view them in the remote view?? However, they did publish and could be viewed by me in remote view within frontpage when ecommercetemplates published them for me.
As I say, I couldn't just leave it at that as I have to publish over from time to time.
I got in touch with my host who couldn't get to the bottom of it. Because my old computer was very slow and kept hanging etc I have bought a new computer. I have a new version of windows xp professional and have installed a different copy of frontpage 2003.
I have redone much of the site. I decided to change hosts to one which appears to have experience of ecommerce templates.

I have just published 'the bones' of the site to see if all is ok, and lo and behold, the same problem. If you look at the code of the cart.asp and categories.asp etc you cannot see the 5 include lines? It is like they magically disappear during the publishing process! This is even more of a mystery as every bit of software and my host is now different to when I last had the problem?
I have contacted the new host and haven't heard as yet so thought a forum specifically for frontpage may be able to help? This is my last attempt to unravel the problem before having to admit defeat and give up on this shopping cart.
I don't understand it at all.
It's as though I am completely missing something.
I keep thinking I'm not doing some very little thing. I have used frontpage to design and publish many sites withouth shopping carts and without problems. The mystery is that it doesn't seem as if anybody else has ever had the same problem and I'm sure many people have bought this same template and use it with frontpage.
The 5 include lines I have to paste into the body of the asp pages are below. The last word in line 5 gets changed according to the specific page e.g. inccart.asp and incsearch.asp etc. I cannot think it is do with the code as ecommercetemplates publish the same thing ok.

<!--#include file="vsadmin/db_conn_open.asp"-->
<!--#include file="vsadmin/includes.asp"-->
<!--#include file="vsadmin/inc/languagefile.asp"-->
<!--#include file="vsadmin/inc/incfunctions.asp"-->
<!--#include file="vsadmin/inc/inccategories.asp"-->

If you have any idea what could be causing this I would be very, very, grateful. I have wasted about 3 weeks so far trying to find the answers. I look forward to hearing from you before they 'cart me off' literally. Thanks very much in advance. Denise

< Message edited by Spooky -- 6/2/2005 19:57:08 >
BeTheBall

 

Posts: 6381
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
RE: .asp pages include lines - 6/2/2005 9:23:53   
Welcome to OutFront!  Can you post the full code for one of the problem pages?

_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.

(in reply to seagust)
seagust

 

Posts: 13
Joined: 1/25/2004
Status: offline

 
RE: .asp pages include lines - 6/2/2005 9:42:38   
Hi Duane

Than you very much for your reply.  I have pasted the code for the cart.asp page below.  There is no actual content in any of the pages yet just the include lines and normal body and html tags etc.

Denise



<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<link href="style.css" rel="stylesheet" type="text/css">
<meta name="Microsoft Border" content="tlb">
</head>
<body>


<!--#include file="vsadmin/db_conn_open.asp"-->
<!--#include file="vsadmin/includes.asp"-->
<!--#include file="vsadmin/inc/languagefile.asp"-->
<!--#include file="vsadmin/inc/incfunctions.asp"-->
<!--#include file="vsadmin/inc/inccart.asp"-->





</body></html>

(in reply to BeTheBall)
BeTheBall

 

Posts: 6381
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
RE: .asp pages include lines - 6/2/2005 10:05:57   
Have you tried inserting the includes as the very first things on the page, i.e.,

<!--#include file="vsadmin/db_conn_open.asp"-->
<!--#include file="vsadmin/includes.asp"-->
<!--#include file="vsadmin/inc/languagefile.asp"-->
<!--#include file="vsadmin/inc/incfunctions.asp"-->
<!--#include file="vsadmin/inc/inccart.asp"-->
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<link href="style.css" rel="stylesheet" type="text/css">
<meta name="Microsoft Border" content="tlb">
</head>
<body>

</body>
</html>

Does that make a difference?


_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.

(in reply to seagust)
seagust

 

Posts: 13
Joined: 1/25/2004
Status: offline

 
RE: .asp pages include lines - 6/2/2005 10:30:52   
Hi Duane

Just tried your suggestion with no luck I'm afraid.

Denise

(in reply to BeTheBall)
BeTheBall

 

Posts: 6381
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
RE: .asp pages include lines - 6/2/2005 10:38:55   
Just to make sure I understand your problem.  Are you saying that if you put the code you posted above on a new page, save and publish, the lines that call the include files are somehow stripped out of the page that makes it to the server?

_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.

(in reply to seagust)
seagust

 

Posts: 13
Joined: 1/25/2004
Status: offline

 
RE: .asp pages include lines - 6/2/2005 11:10:49   
Hi Duane

Yes that is exactly it but.................

I have literally just had a reply from my host who suggested ensuring that no box was checked in the optimize html option. He suggested not even keeping the ones checked by default.

I have republished and I can't believe it may have worked. :)

I have spent hours and hours clicking every tab I could find. The whole problem has taken a few weeks and it may be something so stupidly simple!!

I am going to connect the database and add some products before speaking too soon but I cannot believe it.

Thank you very, very much for keep replying so quickly.  I will get back to the forum if it has not worked as I think.

I will also say for anyone falling upon this site that it is the best I have found.  Whilst looking for answers the other day before actually joining the forum I found some brilliant tutorials on css and include pages - again the best I have found so well done I will certainly recommend it.  I will try to send as many people here as possible.

Thanks Again


(in reply to BeTheBall)
Spooky

 

Posts: 26606
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: .asp pages include lines - 6/2/2005 15:38:19   
Yes - that optimize is a right PITA
What it does - is thinks that the includes are comments anr removes them. I wouldnt say its a known bug, but its one of the reasons you should NEVER use the optimize function :)

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to seagust)
seagust

 

Posts: 13
Joined: 1/25/2004
Status: offline

 
RE: .asp pages include lines - 6/2/2005 17:49:54   
Hi Spooky

I know that now.:)

Why couldn't you have been psychic and told me that weeks ago :)

I've often wondered why people are so quick to knock Frontpage. Still, I suppose as long as you get to know some of it's little quirks it's still a good package! 

I've warned people on the ecommercetemplate Forum in case they come across the problem - although I'm amazed at how many people are still using older versions and haven't yet upgraded.  I've also told them of this site and it's great tutorials.

I notice that the ecommercetemplates are sold on this site.  For anyone reading this, they are very good, exceptionally good value for money, easy to understand and their support Forum is also excellent. 

As far as I can see, with these two sites, anyone using Frontpage and wanting a shopping cart or templates need look no further.

Denise

(in reply to Spooky)
Spooky

 

Posts: 26606
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: .asp pages include lines - 6/2/2005 18:00:35   
Vince and Andy (the dudes behind ect) have been frequenting here for years. They are moderators here from way back, so I can fully recoomend them too.

The include issue is one I fell into about a year ago too (accidentally) I can only say, thank god for backups :)

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to seagust)
Andy from Spain

 

Posts: 922
From: Ipswich
Status: offline

 
RE: .asp pages include lines - 6/3/2005 7:36:37   
You called :)

Glad that was sorted, didn't realize about the optimizing HTML option in FP 2003 - does it just remove what are assumed to be "comments", or is there anything else?

Cheers
Andy

_____________________________

Ecommerce software | Website templates

(in reply to Spooky)
seagust

 

Posts: 13
Joined: 1/25/2004
Status: offline

 
RE: .asp pages include lines - 6/3/2005 7:49:42   
Hi Andy

What a coincidence. There is obviously a reason I chose this particular site :)

Actually all I really know is what Spooky has said on here apart from Justin at Cybersharks also saying it can sometimes strip code out.

It is just a shame it took so long to discover but hey, onwards and upwards, it's all a learning curve.

I'll try not to bother you too much on the other Forum. Mind you I'm a bit scared to touch anything now :)

Denise

(in reply to Andy from Spain)
Spooky

 

Posts: 26606
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: .asp pages include lines - 6/3/2005 7:58:33   
Andy, theres quite a few selectable things to remove.
Personally, I wouldnt use any and recommend to others the same.

For any optimizing of code, either do it yourself or use server compression to speed up your code

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to Andy from Spain)
Kitka

 

Posts: 2520
Joined: 1/31/2002
From: Australia
Status: offline

 
RE: .asp pages include lines - 6/3/2005 8:01:43   
If all else fails, use the following code to enclose the parts of your page coding you don't want FP to modify:

<!--webbot bot="HTMLMarkup" startspan -->

<!--#include file="vsadmin/db_conn_open.asp"-->
<!--#include file="vsadmin/includes.asp"-->
<!--#include file="vsadmin/inc/languagefile.asp"-->
<!--#include file="vsadmin/inc/incfunctions.asp"-->
<!--#include file="vsadmin/inc/inccategories.asp"-->

<!--webbot bot="HTMLMarkup" endspan -->

FP will politely leave it alone :)

_____________________________

Kitka
**It is impossible to make anything foolproof because fools are so ingenious.**


(in reply to seagust)
seagust

 

Posts: 13
Joined: 1/25/2004
Status: offline

 
RE: .asp pages include lines - 6/3/2005 8:36:31   
Another good piece of advice - thank you.

I think I'm going to like it here :)

Denise

(in reply to Kitka)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> .asp pages include lines
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts