enigmabunny Posted October 17, 2007 Share Posted October 17, 2007 Hey guys, ive only just noticed this problem, but for some reason when you view a product and you put in the E-Mail address to tell a friend, when you press submit, it adds the product to the basket instead. any ideas on why this could be happening? cheers guys.. Link to comment Share on other sites More sharing options...
enigmabunny Posted October 19, 2007 Author Share Posted October 19, 2007 ive still been looking, but still cant see whats wrong. Link to comment Share on other sites More sharing options...
Guest Posted October 19, 2007 Share Posted October 19, 2007 ive still been looking, but still cant see whats wrong. is this happening on the tell_a_friend.php, where you add the description and everything for the e-mail, or is this happening in the box on the left hand side? Link to comment Share on other sites More sharing options...
enigmabunny Posted October 19, 2007 Author Share Posted October 19, 2007 in the box on the right hand side. Link to comment Share on other sites More sharing options...
enigmabunny Posted October 20, 2007 Author Share Posted October 20, 2007 i notice that when i roll my mouse over the tell a friend button in the status bar at the bottom of the screen it the action is add product. Link to comment Share on other sites More sharing options...
enigmabunny Posted October 31, 2007 Author Share Posted October 31, 2007 any ideas anyone? ive been trying but still cant figure it out. Link to comment Share on other sites More sharing options...
germ Posted October 31, 2007 Share Posted October 31, 2007 Look in your HTML source... 4 <FORM> tags, only 3 </FORM> tags... Hmmmm... :unsure: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
enigmabunny Posted November 6, 2007 Author Share Posted November 6, 2007 sorry do you mean i could be missing closing tag? Link to comment Share on other sites More sharing options...
germ Posted November 6, 2007 Share Posted November 6, 2007 :thumbsup: That's hitting the nail on the head... If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
enigmabunny Posted November 6, 2007 Author Share Posted November 6, 2007 lol! fair enough, just done a search of all my site (PHPS) and i have 6 <form> and 208 </form> Link to comment Share on other sites More sharing options...
germ Posted November 6, 2007 Share Posted November 6, 2007 I helped someone else with the very same problem. Without matching <form> </form> tags, it gets confused... :lol: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
enigmabunny Posted November 6, 2007 Author Share Posted November 6, 2007 ok im still confised as to what you are saying then. Link to comment Share on other sites More sharing options...
germ Posted November 6, 2007 Share Posted November 6, 2007 Without the same number of <form> </form> tags on the page (and they need to be in the right place) it doesn't know which form to use. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
enigmabunny Posted November 6, 2007 Author Share Posted November 6, 2007 ah ok, i see. thnx Link to comment Share on other sites More sharing options...
Guest Posted November 27, 2007 Share Posted November 27, 2007 OK, I see the </form> tag missing in the HTML. I added it manually to the html file directly and it worked fine, but how do you get the php file to create the html file correctly? My site is http://portrait-shopping.com/catalog/ Link to comment Share on other sites More sharing options...
germ Posted November 27, 2007 Share Posted November 27, 2007 I couldn't find a page with a missing form tag? :unsure: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
enigmabunny Posted February 6, 2008 Author Share Posted February 6, 2008 hey guys, i never did get this sorted, been giving it another go today to see what could be wrong, but no luck. any ideas? Link to comment Share on other sites More sharing options...
germ Posted February 6, 2008 Share Posted February 6, 2008 Same as before. You have 3 "begin form" tags: <form name=blah..blah> And only two "end form" tags: </form> If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
enigmabunny Posted February 7, 2008 Author Share Posted February 7, 2008 where exacty are you looking at these tags? and if the tell a friend is done in php document, how would i correct it? the code looks something like this... $info_box_contents = array(); $info_box_contents[] = array('form' => tep_draw_form('tell_a_friend', tep_href_link(FILENAME_TELL_A_FRIEND, '', 'NONSSL', false), 'get'), Link to comment Share on other sites More sharing options...
germ Posted February 7, 2008 Share Posted February 7, 2008 Actually, it's the </form> at the end of your product_info.php that is missing. Post that file between CODE tags. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
enigmabunny Posted February 7, 2008 Author Share Posted February 7, 2008 ahhh! finally, thankyou so much, and it was as simple as entering 4 letters lol! Link to comment Share on other sites More sharing options...
germ Posted February 7, 2008 Share Posted February 7, 2008 :thumbsup: :lol: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
enigmabunny Posted February 7, 2008 Author Share Posted February 7, 2008 really sorry i have another problem now!! when inputing the friends email addy etc and sending it, it says it is sent ok, but nothing still coming through, any idea on what the settings need to be? Link to comment Share on other sites More sharing options...
germ Posted February 7, 2008 Share Posted February 7, 2008 It worked for me. Although it was in my SPAM folder. Check your SPAM folder. And since when does "</form>" = 4 letters? :unsure: Must be that "new math"! :D If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
enigmabunny Posted February 7, 2008 Author Share Posted February 7, 2008 ah ok, i think its something to do with the fact im sending it to a hotmail addy, ive heard sometimes theres problems with that. thanks for your help Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.