URL Rewrite Issues in DEV mode

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
ggatel
Ensign (ENS)
Ensign (ENS)
Posts: 11
Joined: Thu Jun 22, 2006 12:10 pm

URL Rewrite Issues in DEV mode

Post by ggatel » Tue Feb 27, 2018 10:05 am

Using Gold R11 in DEV (127.0.0.1 and localhost) mode and some functions aren't working on pages that are rewritten, getting 404 errprs. For one, on product pages the more images pop-up box does not work. Instead when I click on the image the browser goes directly to the image. Also, the roll-over the thumbnail switch to the main image box is also not working. Wonder if this is peculiar to working in DEV mode only?

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: URL Rewrite Issues in DEV mode

Post by Katie » Wed Feb 28, 2018 3:39 am

Hello,

Never heard of these issues. The only difference between a DEV and LIVE license is that we strip out the customer information when orders are placed.

If you are getting 404 errors, then it's probably a server configuration issue, or maybe you moved this install and didn't get everything quite right.

Hope this helps
Katie
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

ggatel
Ensign (ENS)
Ensign (ENS)
Posts: 11
Joined: Thu Jun 22, 2006 12:10 pm

Re: URL Rewrite Issues in DEV mode

Post by ggatel » Wed Feb 28, 2018 9:09 am

Thanks for replying. For some reason the path to the scripts folder is getting messed up on the products pages using the url rewrites. This happens on two different machines. Here are the messages:

Failed to load resource: the server responded with a status of 404 (Not Found) . Here is the link generating the error: http://localhost/Motorcycle-Windshields ... min.all.js

Uncaught TypeError: $(...).mmenu is not a function: BMW-R1200RT-Replacement-Windshield.aspx

Here is what the link to the product page that has the url rewrite looks like: http://localhost/Motorcycle-Windshields ... hield.aspx

ggatel
Ensign (ENS)
Ensign (ENS)
Posts: 11
Joined: Thu Jun 22, 2006 12:10 pm

Re: URL Rewrite Issues in DEV mode

Post by ggatel » Wed Feb 28, 2018 9:48 am

Further testing: If I use the productid as the url rewrite it works p-xxxx.aspx. As soon as I add a directory it fails, i.e. windshield/p-xxxx.aspx.

ggatel
Ensign (ENS)
Ensign (ENS)
Posts: 11
Joined: Thu Jun 22, 2006 12:10 pm

Re: URL Rewrite Issues in DEV mode

Post by ggatel » Wed Feb 28, 2018 12:28 pm

My bad, I found the problem. I am trying to use a flyout menu and the slide out menu with the bootstrap theme. In the slidemenu.ascx file adding a leading forward slash to the path seems to fix it.
<script type="text/javascript" src="/Scripts/jquery.mmenu.min.all.js"></script>

Post Reply