marty.net 1001 Postcards Love Love Love Meep Meep ZenZodiac DailyQuotation

YOU ARE HERE:
SSI - What am I missing?

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « SSI - What am I missing? »
Welcome, Guest. Please Login or Register.
12/14/17 at 22:52:22
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   SSI - What am I missing?
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: SSI - What am I missing?  (Read 614 times)
aliengrey
Guest

E-Mail
SSI - What am I missing?
« on: 06/07/04 at 10:10:44 »
Reply with quote Modify message

Hi Marty -

I just installed the script which works - with exception of the includes.

Since I have the same type of setup  with another store (which works perfectly) I followed it example - only I can't get the includes to include. All paths are absolute so I can't figure out what I'm missing.

When you find a free moment, I'd appreciate your thoughts.

Page Sample:
http://www.route12.us/cgi-bin/store/type_tshirt_white

SSI sample:
<!--#INCLUDE VIRTUAL="/includes/header.htm" -->
Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: SSI - What am I missing?
« Reply #1 on: 06/07/04 at 10:13:12 »
Reply with quote Modify message

Put your template in a web-accessible directory, and refer to your template as a URL.  That will allow your web server to interpret the SSI before cpshop gets it.
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
aliengrey
Guest

E-Mail
Re: SSI - What am I missing?
« Reply #2 on: 06/07/04 at 11:19:45 »
Reply with quote Modify message

Okay. Tried that. Still no includes.

Template location:
/store/templates/temp01.shtml

Referred to template in cpadmin (type_tshirt_white)
Default HTML Template:
/home/route12/public_html/store/templates/temp01.shtml

What I can't figure out is why it works for my other store (with templates in cgi-bin) but not this one - same server, etc. (the other site is alien-technology.com)

Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: SSI - What am I missing?
« Reply #3 on: 06/07/04 at 12:11:48 »
Reply with quote Modify message

Don't leave out the domain name and the protocol.  Make sure it's a fully-formed URL.

http://www.route12.us/store/templates/temp01.shtml
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
aliengrey
Guest

E-Mail
Re: SSI - What am I missing?
« Reply #4 on: 06/07/04 at 12:18:26 »
Reply with quote Modify message

Give that man a cigar! We have a winner.

Thanks. You're dope.
Logged
Pages: 1 Reply Notify of replies Send the topic Print 
Jump to:


marty.net message board (http://www.marty.net/cgi/marty/board/messageboard)

Powered by YaBB 1 Gold - Release (Yet Another Bulletin Board)
Copyright © 2000-2001, X-Null. All Rights Reserved.