I am editing news.tpl and getting a 404 error when a user trys to subscribe.
Code:
<FORM action="{$xcart_web_dir}/mail/subscribe.php" name="subscribeform">
<INPUT type="hidden" name="redirect" value="{$redirect}">
<table width="400" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="44" class="maintext">Email*</td>
<td width="356"><INPUT type="text" name="newsemail" size="45"></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>
{include file="buttons/subscribe_menu.tpl"}
<INPUT type="image" src="../images/Button_Submit.gif" border="0" onclick="javascript:document.subscribeform.submit()">
</td>
</tr>
<tr>
<td></td>
<td>
to unsubscribe please click here</td>
</tr>
</table>
</form>
I left the original submit button in there until everything is working, but it gives the same error. The 404 is looking for the error page
/xcart/mail/error_message.php instead of just in the /xcart folder but I'm not sure exactly where the error is. Any help would be appreciated.