gmail:jaindynike
itx-technologies.com/dev/16grange/en/contact.php
look at the above link
when i enter an email address there then i get forwarded to error.php
this thing happens with groups link too
but rest of the links work fine
the problem MAYBE that (i will copy paste the explanation on chat)
joomla works with menu links
without SEF enables, we can see the menu URLs
8:13 PM index.php?view=article&id=64&itemid=72
id is the id of the article
itemid is the id of the menu link
but
8:14 PM the 2 menu items where it does not work are not "view=article" links, they are "option=com_forme" links, where com_forme is the internal name for the component RSForms, which is a component that creates contact forms (that's why these two links give 2 contact forms)
therefore
8:15 PM the newsletter component checks for the itemId of the link when you hit "subscribe", but since these 2 menu items for RSForms don't have itemid, it seems to create a bug
so we must find a way to fix this
me: excellent explanation!
now you only fixed the error page - i.e. you redirect the error page to the "successfully subscribed" page. That's 1 thing, but we need to have the saveSubscriber() and sendConfirmation() methods fired off
8:17 PM i don't know if the methods are called exactly like that but it looks like it
me: where is the code for these two functions...mayb i can also place them in error.htm
8:18 PM error.php