View Single Post
  #1  
Old 10-15-2004, 05:42 AM
  jds580s's Avatar 
jds580s jds580s is offline
 

Advanced Member
  
Join Date: Oct 2004
Posts: 38
 

Default news letter subscription, getting 404

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.
__________________
animator for hire
onthez.com
------------------------
x-cart v4.0.5 Linux
_________________
Reply With Quote