Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Pascal 6 posts 26 karma points
    May 18, 2011 @ 09:20
    Pascal
    0

    Trouble with catalog in uCommerce Store

    Hi,

    I have installed uCommerce 1.5 and the uCommerce store but I am having trouble browsing the catalog in the front-end website. The store generates links like "/ucommerce/c-23/c-67" which when I follow them result in a 404. I have tried republishing the nodes a couple of times but to no avail. The products have display names.

    Any advice would be appreciated. What am I doing wrong?

    Thanks

    Pascal

  • Søren Spelling Lund 1797 posts 2786 karma points
    May 18, 2011 @ 10:42
    Søren Spelling Lund
    0

    Hi Pascal,

    Are you on IIS6 by any chance?

  • Pascal 6 posts 26 karma points
    May 18, 2011 @ 10:44
    Pascal
    0

    Hi Søren,

    Thanks for the quick response. No, this is IIS 7. I can send you the link to the site & admin via pm or email if you wish?

    Pascal

  • Søren Spelling Lund 1797 posts 2786 karma points
    May 18, 2011 @ 10:47
    Søren Spelling Lund
    0

    Are you getting any information in the umbracoLog table in the database?

  • Pascal 6 posts 26 karma points
    May 18, 2011 @ 10:52
    Pascal
    0

    Nothing other than "The uCommerce license file is either empty or missing." which is correct (this is a dev setup to evaluate upgrading to 1.5)

  • Søren Spelling Lund 1797 posts 2786 karma points
    May 18, 2011 @ 11:00
    Søren Spelling Lund
    0

    Does your /config/UrlRewriting.config contain the following rules?

        <add name="DefaultCategoryProductRewrite" virtualUrl="(.*)/c-([0-9]+)/c-([0-9]+)/p-([0-9]+)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/shop/product.aspx?catalog=$2&amp;category=$3&amp;product=$4" ignoreCase="true" xmlns="" />
        <add name="DefaultProductRewrite" virtualUrl="(.*)/c-([0-9]+)/p-([0-9]+)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/shop/product.aspx?catalog=$2&amp;product=$3" ignoreCase="true" xmlns="" />
        <add name="DefaultCategoryRewrite" virtualUrl="(.*)/c-([0-9]+)/c-([0-9]+)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/shop/catalog.aspx?catalog=$2&amp;category=$3" ignoreCase="true" xmlns="" />
        <add name="DefaultCatalogRewrite" virtualUrl="(.*)/c-([0-9]+)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/shop/catalog.aspx?catalog=$2" ignoreCase="true" xmlns="" />
  • Pascal 6 posts 26 karma points
    May 18, 2011 @ 11:23
    Pascal
    0

    Yes, the lines are there, but now that you have pointed it out, it does seem there is a problem with the URL rewriting. Thanks for the tip, I will look into it closer.

  • Christian Wendler 46 posts 155 karma points
    May 18, 2011 @ 13:53
    Christian Wendler
    0

    Ensure that this URLs are reachable, otherwise rewriting won't work:

    <yourdomain>/shop/product.aspx

    <yourdomain>/shop/catalog.aspx

     

  • Pascal 6 posts 26 karma points
    May 18, 2011 @ 13:56
    Pascal
    0

    The URLs are reachable but it seems the rewriting itself never takes place. IIS goes off looking for "c-23" or whatever and fails, given a 404. 

  • Søren Spelling Lund 1797 posts 2786 karma points
    May 18, 2011 @ 15:56
    Søren Spelling Lund
    0

    Maybe UrlRewriting.NET is not registered in the proper section?

    Make sure that your <system.webServer><modules runAllManagedModulesForAllRequests="true"> section in web.config contains the following module:

    <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" />
  • Christian Wendler 46 posts 155 karma points
    May 18, 2011 @ 16:07
    Christian Wendler
    0

    Pascal,

    are you running your web in classic or integrated pipeline mode?

  • Søren Spelling Lund 1797 posts 2786 karma points
    May 19, 2011 @ 12:45
    Søren Spelling Lund
    0

    Hi Pascal,

    Did you get it going?

  • Thomas Ottosen 14 posts 34 karma points
    Sep 28, 2011 @ 21:30
    Thomas Ottosen
    0

    Hi,

    Having the same problem. Running in classic mode.

    <mydomain>/ucommerce/c-23  - fails

    <mydomain>/catalog.aspx?catalog=uCommerce  -  works fine

     

    Thomas

  • Søren Spelling Lund 1797 posts 2786 karma points
    Sep 29, 2011 @ 08:56
    Søren Spelling Lund
    0

     

    Take a look at the Is ucommerce working under windows xp? topic. It deals with the same issue.

     

Please Sign in or register to post replies

Write your reply to:

Draft