![]() |
Adding the Small shopping cart - ERROR |
Post Reply ![]() |
Author | |
St_Pierce ![]() Groupie ![]() Joined: 14-December-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 18-October-2009 at 4:20pm |
Hi Guys,
I've searched this in the archieves but couldn't find anything, so I figured I post.
Here is what's happening when I try to add the SmallShoppingCart.asp include...
I'm adding it to Header.asp as so...
<div id="pcHeader08Center">
<!--#include file="SmallShoppingCart.asp"--> </div> Here is the error I'm getting...
Microsoft VBScript compilation error '800a0411'
Name redefined
/store/pc/SmallShoppingCart.asp, line 5
dim vcCartArr, vcCartIndex, v, scantidadCart7, vcTotal, vcItems
----^ I haven't modified the SmallShoppingCart.asp code in any way. Any help would be greatly appreciated.
Thanks!
St_Pierce
|
|
![]() |
|
Matt ![]() Moderator Group ![]() Joined: 20-July-2006 Location: United States Status: Offline Points: 73 |
![]() ![]() ![]() ![]() ![]() |
Did you include it twice? Name redefined means that "vcCartArr" was used twice. That usually happens when you include the file twice.
|
|
![]() |
|
St_Pierce ![]() Groupie ![]() Joined: 14-December-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Thanks Matt!! You da' man!!
That's exactly what it was, I forgot I had it in the left side menu when I wanted to mess around with the header.
Thanks again
![]() |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |