<html><body bgcolor="#FFFFFF"><div>Did you clear the menu cache?&nbsp;<br><br><div><br></div></div><div><br>On Jan 30, 2011, at 2:56 PM, John Mitchell &lt;<a href="mailto:mitchelljj98@gmail.com">mitchelljj98@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>I added a hook_menu function (see below) to my product_type custom module but when I go to "<a href="https://mydomain/"><a href="https://mydomain/">https://mydomain/</a></a><b>cart/refreshcart</b><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup">
</div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style>"<br>
it says "The requested page could not be found.".&nbsp; I have directly called other urls that were defined within the hook_menu function for the ubercart/uc_cart/uc_cart.module file and they came back fine like "<a href="https://mydomain/admin/store/settings/cart"><a href="https://mydomain/admin/store/settings/cart">https://mydomain/admin/store/settings/cart</a></a>".&nbsp; <br>
<br>Any idea why this would not work? <br><br>Thanks,<br><br>John<br><br>/**<br>&nbsp;* Implementation of hook_menu().<br>&nbsp;*/<br><br>function product_type_menu() {<br>&nbsp; $items = array();<br><br>&nbsp; $items['<b><i>cart/refreshcart</i></b>'] = array(<br>
&nbsp;&nbsp;&nbsp; 'title' =&gt; 'Refresh Shopping Cart',<br>&nbsp;&nbsp;&nbsp; 'description' =&gt; 'Refresh Shopping Cart',<br>&nbsp;&nbsp;&nbsp; 'page callback' =&gt; 'uc_cart_block',<br>&nbsp;&nbsp;&nbsp; 'access callback' =&gt; TRUE, <br>
&nbsp;&nbsp;&nbsp; 'type' =&gt; MENU_CALLBACK,<br>&nbsp;&nbsp;&nbsp; 'file' =&gt; 'ubercart/uc_cart/uc_cart.module',<br>&nbsp; );<br><br>&nbsp; return $items;<br>}<br>
</div></blockquote></body></html>