You have no items in your shopping cart.

Wednesday, April 24, 2024 9:56:02 PM

problem after installing other plugin

Posted: 9 years ago

#350 Quote
Hello-

Yesterday, I installed a plugin from another developer ( http://www.nopcommerce.com/p/1106/calculate-print-usps-labels.aspx ).

Now, I cannot access the articles list or articles group list in the administration area. Page not found...404.
I can access the configure screen OK, and the public pages work OK, too.

I tried un-installing the other plugin, but the problem remains.

Do you have a suggestion for me?

Thanks,
Steve

Posted: 9 years ago

#351 Quote
It is me again, but with my boss's login.

I now realize that all of my foxnetsoft plugins were affected in the same way.
I can access the configuration screens, but I cannot access any lists...always  page not found...and no errors in the log.

examples:
/Admin/ArticleGroup/List
/Admin/Article/List
/Admin/BannedIpAddress/List
/Admin/SmartCampaign/List
/Admin/SocialWidgetSettings/List

Posted: 9 years ago

#352 Quote
OK...problem solved.
I completely removed the new plugin and restarted my server, now everything is working again.

I am still very curious...do you know why/how this could happen?

Steve

Posted: 9 years ago

#353 Quote

Support

Posted: 9 years ago

#353 Quote
We try to install this plugin and we'll answer you.

Posted: 9 years ago

#354 Quote

Support

Posted: 9 years ago

#354 Quote
Plugin has bad code in RouteProvider.cs

route.DataTokens["Namespaces"] = new[] { "Nop.Admin.Controllers", "Nop.Plugin.Shipping.Endicia.Controllers" };


It's not good.

You should replace with new code

            Route route;
            route = (Route)routes["Admin_default"];
            if (route != null)
            {
                if (route.DataTokens["Namespaces"] == null)
                {
                    route.DataTokens["Namespaces"] = new string[] { "Nop.Plugin.Shipping.Endicia.Controllers" };
                }
                else
                {
                    string[] DataNamespaces = (string[])route.DataTokens["Namespaces"];
                    Array.Resize(ref DataNamespaces, DataNamespaces.Length + 1);
                    DataNamespaces[DataNamespaces.Length - 1] = "Nop.Plugin.Shipping.Endicia.Controllers";
                    route.DataTokens["Namespaces"] = DataNamespaces;
                }
            }


What do you want from this plugin?

Posted: 9 years ago

#355 Quote
OK, thank you for finding that problem!

We want to try it because in our business we already use endicia to print our shipping labels, but we must copy/paste the shipment info from nopcommerce order screen into endicia screen for each shipment in order to generate the labels. This plugin has the label generator within nopcommerce so you can print labels without leaving the nopcommerce admin screen...

Posted: 9 years ago

#356 Quote

Support

Posted: 9 years ago

#356 Quote
I can recompile this plugin if you want to use it.

Posted: 9 years ago

#357 Quote
That would be very helpful!

Thank you!

Posted: 9 years ago

#359 Quote
Hello-

My site is 3.40 and we do not plan to upgrade.

When I view the Description.txt file of the newly compiled endicia plugin, it shows Supported Version: 3.50.
Did you compile for only 3.50? Or will it still work in my 3.40 version site?

Thanks again!
Steve

Posted: 9 years ago

#360 Quote

Support

Posted: 9 years ago

#360 Quote
We have added plugin for  version 3.40 too.
www.foxnetsoft.com/content/files/Shipping.Endicia.zip

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved