The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
picserve.cgi generating broken links
Author Message
Reply with quote
Post picserve.cgi generating broken links 
So the background is, I got Agora 4 working marginally well but decided I wanted the features of 5. I installed 5, got things working (in an human chair cushion-backwards way, I will glady admit) for the most part except for one key problem. This problem is, the variable %%URLofImages%% is now resulting in a broken link. All of the template images loaded in properly, but for some reason %%URLofImages%% is actually delivering "picserve.cgi?picserve=" directly into the SRC field, meaning a broken link.

Here's what the template has:

<!--BEGIN SELECT QUANTITY BUTTON-->

<TABLE>
<TR ALIGN="CENTER">
<TD VALIGN="MIDDLE">%%QtyBox%%</TD>
<TD VALIGN="MIDDLE"><INPUT TYPE="IMAGE"
NAME="add_to_cart_button" VALUE="Add To Cart"
SRC="%%URLofImages%%/add_to_cart.gif" BORDER="0">
</TD>
</TR>
</TABLE>
<!--END SELECT QUANTITY BUTTON-->


...And here's what the code outputs as:

<!--BEGIN SELECT QUANTITY BUTTON-->

<TABLE>
<TR ALIGN="CENTER">
<TD VALIGN="MIDDLE"><input type=text name="item-00011|Theraflex|28.95|Theraflex Sports Therapy|~lt~IMG SRC=~qq~%%URLofImages%%/notavailable.gif~qq~ BORDER=0~gt~|4.55" size="3" maxlength="4" value="1"></TD>
<TD VALIGN="MIDDLE"><INPUT TYPE="IMAGE"
NAME="add_to_cart_button" VALUE="Add To Cart"
SRC="picserve.cgi?picserve=/add_to_cart.gif" BORDER="0">
</TD>

</TR>
</TABLE>
<!--END SELECT QUANTITY BUTTON-->


Furthermore, the add to cart button says it has added the item to the cart, but when I go to checkout, it's nowhere to be seen.

Here's a link to the work in progress (some of the layout is still broken) if you want to see it for yourself in context:

http://nabobrx.net/agora/agora.cgi?xm=on&product=Theraflex

I dislike kinda sorta maybe asking questions in forums but to be honest I've been horrified by the lack of documentation after getting used to the deep documentation I found running a wordpress site.

/Kit

View user's profile Send private message
Reply with quote
Post  
excuse me, here's the correct link:

http://nabobrx.net/agora/agora.cgi?xm=on&product=Theraflex

View user's profile Send private message
Reply with quote
Post  
Kit,
I can't see any products on the site, so I can't verify your problem nor can I give a solution.
However, double check the picserve.cgi file and make sure that its permissions are set to 755.

The other part may be to remove the forward slash after the %%URLofImages%% token.

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum