You have no items in your shopping cart.

Profile: bcdiesel

Avatar
Statistics
    Bugs

    Yes it’s quite easy to replicate the problem. I have the plugin on two of my sites and they both have the same problem. If you’re wondering how to make it crash, just simply do the following:

    1) Log out of the store
    2) Add a product to the cart
    3) Go to Checkout
    4) Enter in your user login information (using the EMAIL address, not the username)
    5) Click login - Crash.

    The important thing is that if you go through that procedure and login with the username instead of the email, it will login with no problem. That’s probably the area to look into.


    Cheers

    6 years ago
    Bugs

    Any ideas? We seem to be getting this error a lot.. would like to clear it up ASAP. If you need access to the store then please let me know.


    Thanks

    6 years ago
    Bugs

    I did as requested - no change. Still crashes. :(

    6 years ago
    Bugs

    Support wrote:

    We have fixed it.
    Please try it.

    Version 1.02 - February 07, 2018
    - fixed bug with multistore (link).


    I’m sorry, but the problem still exists. The update did not fix the problem.

    Also, when I uninstalled the old version and re-installed the updated version, it erased the registered serial number. I tried to find it in my customer account on your website but I cannot find it. Can you please send me a PM with the serial number or attach it somehow to my customer profile? The order number was 33547.

    I did a little more investigating to try and pinpoint the problem with the plugin. It seems that the problem is narrowed down to when NopCommerce brings you to the customer login page via the shopping cart when the user tries to checkout without being logged in. However, if the user adds a part to the shopping cart and then logs into their account BEFORE they select checkout, then it does not crash, and it transfers the part to their users shopping cart as it properly should.

    The bug is somewhere in the process of the shopping cart being in checkout mode and the login page that Nop automatically sends you to if you’re not logged in.

    Thanks
    6 years ago
    Bugs

    Hi, we use this plugin on our site because we accidentally enabled usernames when we didn't really need to.

    Unfortunately, there looks like there may be a bug in this problem - could you try and recreate the issue on your store or a demo? It seems to be appearing in our log quite a bit.

    The store crashes if a customer does the following:
    - A logged out user or guest loads up a guest shopping cart with a few items
    - Goes to the shopping cart, then confirms the order
    - Nop sends him to the login/register page
    - Customer logs in with username information - no problem. BUT,
    - If customer tries to log in with e-mail address (instead of user name) - CRASH.

    I've disabled the plugin and it seems to work fine as long as it's not enabled.. I'm guessing that maybe there isn't a mapping route in Nop that's supposed to map the e-mail address instead of the existing username when being sent to the cart with existing items?

    Thanks,
    Travis

    Here is the error:

    [quote]Server Error in '/' Application.
    Value cannot be null.
    Parameter name: toCustomer
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentNullException: Value cannot be null.
    Parameter name: toCustomer

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    [ArgumentNullException: Value cannot be null.
    Parameter name: toCustomer]
       Nop.Services.Orders.ShoppingCartService.MigrateShoppingCart(Customer fromCustomer, Customer toCustomer, Boolean includeCouponCodes) +716
       Nop.Web.Controllers.CustomerController.Login(LoginModel model, String returnUrl, Boolean captchaValid) +575
       lambda_method(Closure , ControllerBase , Object[] ) +250
       System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +229
       System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35
       System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +39
       System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +67
       System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +42
       System.Web.Mvc.Async.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() +72
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +385
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +385
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +385
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +385
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +385
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +385
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +385
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +385
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +385
       System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +385
       System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42
       System.Web.Mvc.Async.<>c_

    6 years ago

    Support wrote:

    Yes....
    Plugin registers new routes

                routes.MapLocalizedRoute("sitemap-images.xml",
                                "sitemap-images.xml",
                                new { controller = "ImageSitemap", action = "SitemapXml" },
                                new[] { "FoxNetSoft.Plugin.Misc.ImageSitemap.Controllers" });



    and priority 10

    Maybe one of plugins changes it....

    I can increase the priority ....

    I have the last question.
    Maybe you blocked static URLs? Can you check it?


    I don’t believe that our site blocks static URL’s, but I don’t recall seeing an option to unless I’m mistaken.

    Would it make any difference whether our images were stored in the database vs the file system?
    6 years ago

    Support wrote:

    Maybe someone removed static route ....

    Can you try to open direct URL for controller?

    http://www.yourstore.com/ImageSitemap/SitemapXml
    or
    http://www.yourstore.com/en/ImageSitemap/SitemapXml



    Ok, yes, both of those URLs generate an XML file with image names and urls.. guess there’s a disconnect somewhere..
    6 years ago

    Support wrote:

    Download new release and try. Thank you for inform about this problem.

    Version 1.01 - February 05, 2018

    - fixed bug for multistore stores. Plugin didn't create XML file if you disabled it for all stores and enabled for on store.


    Sorry to burst the bubble, but no luck.

    Uninstalled/reinstalled.. enabled plugin. Debugging stays on now no log file is generated (sends me to widget menu). No XML output that I can see.


    Sorry! :(
    6 years ago

    Support wrote:

    1. What nopcommerce version do you use?
    2. Did you enable plugin on plugin configure page?
    3. Can I connect to your PC using TeamViewer or another program? I want to check myself.


    1. 3.9 w/ Nop-templates Traction theme & 2 Langs (eng/fre)
    2. Yes, plugin is enabled.
    3. Truthfully, I’d rather not... Sorry... I was just curious what info might have been generated by the plugin.. at this time it’s definitely not high priority enough to put resources towards making credentials and debugging.

    Anyways, if it helps, enabling debugging inside the plugin doesn’t seem to function either.. I hit the checkbox to enable debugging and then save. The first time that the screen refreshes, it still shows that debugging is enabled, but when refreshed a second time, it disabled itself. When I do get the chance to download the log file, it just throws me over to the widgets configuration page.

    Weird..


    Cheers,
    Travis
    6 years ago

    That’s what I mean.. I clicked the link and it comes up with a 404 not found error. I also tried one of the localization folder folder links (/en/), and no dice.

    6 years ago

    Powered by nopCommerce

    Copyright © 2023 FoxNetSoft. All rights reserved