Close

Bugs

embryo
12 years ago
#1130 Quote
Avatar
  • 55
I just installed the electronics 2.65 theme on a fresh install of nopcommerce 2.65 and immediately after clicking save, the admin pages will not load. I can browse to the store URL and see it functioning with the new theme, but admin pages won't load.

Should I have run the included 2.60 to 2.65 upgrade script first?

I did not think it was applicable since I had a new installation of nopcommerce 2.65 and had never installed this theme before.

I also just noticed that the cart pages don't work either..

EDIT:  maybe I should also mention that my site is running at localhost and my database is running on SQL Azure-

Thanks for any help!
Support
12 years ago
#1133 Quote
Avatar
  • Moderator
  • 1044
joster wrote:
I just installed the electronics 2.65 theme on a fresh install of nopcommerce 2.65 and immediately after clicking save, the admin pages will not load. I can browse to the store URL and see it functioning with the new theme, but admin pages won't load.

Should I have run the included 2.60 to 2.65 upgrade script first?

I did not think it was applicable since I had a new installation of nopcommerce 2.65 and had never installed this theme before.

I also just noticed that the cart pages don't work either..

EDIT:  maybe I should also mention that my site is running at localhost and my database is running on SQL Azure-

Thanks for any help!


Hi joster,

There is no need to run any upgrade scripts on a clean install.
If you rebuild your solution or modify your Global.asax file will fix this as this will make MVC to find the new controllers of the plugins (Global.asax is modified internally when a new plugin is installed but it doesn't always work) and find the Settings pages in the administration respectfully. You mention that the Save doesn't work. Can you specify which Save is not working i.e for which plugin?

We have't tried nopCommerce with SQL Azure. Is there a separate branch of nopCommerce or it is the regular branch but it can also work on Azure.

The cart pages should work as the theme is upgrade for nopCommerce 2.65.
What is the error you receive?

Update:We just noticed that the Add to Cart button on a category page is not working right after a clean installation but once we go to a product page it is working fine. That is quite strange and we will investigate it. Please let us know if you have any problems with the Ajax Cart. Maybe Ctrl + F5 is required to update the browser cache.

Best Regards,
Nop-Templates Support Team
embryo
12 years ago
#1137 Quote
Avatar
  • 55
Support wrote:

Hi joster,

There is no need to run any upgrade scripts on a clean install.
If you rebuild your solution or modify your Global.asax file will fix this as this will make MVC to find the new controllers of the plugins (Global.asax is modified internally when a new plugin is installed but it doesn't always work) and find the Settings pages in the administration respectfully. You mention that the Save doesn't work. Can you specify which Save is not working i.e for which plugin?

We have't tried nopCommerce with SQL Azure. Is there a separate branch of nopCommerce or it is the regular branch but it can also work on Azure.

The cart pages should work as the theme is upgrade for nopCommerce 2.65.
What is the error you receive?

Update:We just noticed that the Add to Cart button on a category page is not working right after a clean installation but once we go to a product page it is working fine. That is quite strange and we will investigate it. Please let us know if you have any problems with the Ajax Cart. Maybe Ctrl + F5 is required to update the browser cache.

Best Regards,
Nop-Templates Support Team


Hello, and thank you for your response.

The problem began when I clicked on the SAVE button to apply the new theme from my General Settings. I changed the store name and theme and a few default SEO parameters, clicked save and after a few seconds got a DNS error..page can't be reached.. and I get a DNS-type error when I try to access the admin area with a new browser session, or after I add items when I go to view my shopping cart...

EDIT: As I said before, the values I specified in the general settings worked..the theme was applied and default meta tags, etc....and I have looked at my web.config, and it was definitely modified by the app when I clicked save...many new "add key" entries...it just seems that something didn't go quite right.

I am using the normal 2.65 version of nopcommerce.
I initially installed nopcommerce using a local installation of SQL Server 2008 R2, then created a SQL Azure database. I used the SQL Aure migration assistant program to copy all the tables and queries to the new Azure database. I then changed the connectionstring in my App_Data/Settings.txt to point to the Azure database...it worked perfectly. The next day we bought the electronic theme, and here we are...

I do have Visual Studio 2010, but I JUST got it, so I don't yet know how to "rebuild the solution."

My global.asax looks like this:

<%@ Application Codebehind="Global.asax.cs" Inherits="Nop.Web.MvcApplication" Language="C#" %>

Can you point me in the right direction for modifying it please?
[email protected]
12 years ago
#1138 Quote
Avatar
  • 6
I think styles.css contains style elements for topmenu, but it should be top-menu.
At least, then the menu renders correct if you disable the CategoryMenu.
[email protected]
12 years ago
#1139 Quote
Avatar
  • 6
portrait images in product grid are enlarged outside picture div, so only the top of the image is visible:

.product-grid .item .picture img, .featured-product-grid .item .picture img
{
  width: 150px;
}
Support
12 years ago
#1142 Quote
Avatar
  • Moderator
  • 1044
[email protected] wrote:
I think styles.css contains style elements for topmenu, but it should be top-menu.
At least, then the menu renders correct if you disable the CategoryMenu.


Hi,

Thank you for reporting this. It seems that the class has been renamed in nopCommerce 2.65. It is fixed now and you can download the latest version of the theme and update the styles.css file.

Many thanks
Support
12 years ago
#1143 Quote
Avatar
  • Moderator
  • 1044
[email protected] wrote:
portrait images in product grid are enlarged outside picture div, so only the top of the image is visible:

.product-grid .item .picture img, .featured-product-grid .item .picture img
{
  width: 150px;
}


Hi,

Yes, you are right there is no need for this css for the images.
But please note that the product boxes also have width set to 150px, which is made on purpose as otherwise you can't fit three products per line in the center column. By default the category images are 125px, so you can increase them up to 150px. If they are bigger only part of the picture is shown, so that all the product boxes are aligned. You can safely remove the width for the images (the code above) and your images won't be enlarged to 150px if they are smaller.

Many thanks again for reporting these issues.

Best Regards,
Nop-Templates Support Team
embryo
12 years ago
#1145 Quote
Avatar
  • 55
joster wrote:

Hi joster,

There is no need to run any upgrade scripts on a clean install.
If you rebuild your solution or modify your Global.asax file will fix this as this will make MVC to find the new controllers of the plugins (Global.asax is modified internally when a new plugin is installed but it doesn't always work) and find the Settings pages in the administration respectfully. You mention that the Save doesn't work. Can you specify which Save is not working i.e for which plugin?

We have't tried nopCommerce with SQL Azure. Is there a separate branch of nopCommerce or it is the regular branch but it can also work on Azure.

The cart pages should work as the theme is upgrade for nopCommerce 2.65.
What is the error you receive?

Update:We just noticed that the Add to Cart button on a category page is not working right after a clean installation but once we go to a product page it is working fine. That is quite strange and we will investigate it. Please let us know if you have any problems with the Ajax Cart. Maybe Ctrl + F5 is required to update the browser cache.

Best Regards,
Nop-Templates Support Team

Hello, and thank you for your response.

The problem began when I clicked on the SAVE button to apply the new theme from my General Settings. I changed the store name and theme and a few default SEO parameters, clicked save and after a few seconds got a DNS error..page can't be reached.. and I get a DNS-type error when I try to access the admin area with a new browser session, or after I add items when I go to view my shopping cart...

EDIT: As I said before, the values I specified in the general settings worked..the theme was applied and default meta tags, etc....and I have looked at my web.config, and it was definitely modified by the app when I clicked save...many new "add key" entries...it just seems that something didn't go quite right.

I am using the normal 2.65 version of nopcommerce.
I initially installed nopcommerce using a local installation of SQL Server 2008 R2, then created a SQL Azure database. I used the SQL Aure migration assistant program to copy all the tables and queries to the new Azure database. I then changed the connectionstring in my App_Data/Settings.txt to point to the Azure database...it worked perfectly. The next day we bought the electronic theme, and here we are...

I do have Visual Studio 2010, but I JUST got it, so I don't yet know how to "rebuild the solution."

My global.asax looks like this:

<%@ Application Codebehind="Global.asax.cs" Inherits="Nop.Web.MvcApplication" Language="C#" %>

Can you point me in the right direction for modifying it please?


Again, I am not sure what you mean by "modify your Global.asax file will fix this"
In what way does it need modification? What should it look like?
Support
12 years ago
#1146 Quote
Avatar
  • Moderator
  • 1044
joster wrote:

Again, I am not sure what you mean by "modify your Global.asax file will fix this"
In what way does it need modification? What should it look like?


Hi joster,

You simply need to open the file and add some blank spaces at the end and save it.
You can read more about this problem in this post.

Thanks
embryo
12 years ago
#1147 Quote
Avatar
  • 55
I read that and tried it before posting my question...I'm at a loss and would really appreciate some help figuring this out...

To be certain that this wasn't the problem, I deleted my Temporary ASP.NET files, (re)edited my Global.asax file, and opened up the site with a fresh browser. I then refreshed my explorer window displaying my temporary ASP.NET temp files and opened up the newly created folder....I then browsed to the MVC-ControllerTypeCache.xml file and see no changes...the 7spikes plugins are all listed just as before-

EXAMPLE:
  <assembly name="SevenSpikes.Theme.Electronics, Version=2.65.3.4324, Culture=neutral, PublicKeyToken=null">
    <module versionId="56039c4b-bc00-4ee4-b40a-aa4d2e313fa7">
      <type>SevenSpikes.Theme.Electronics.Controllers.ElectronicsThemeAdminController</type>
      <type>SevenSpikes.Theme.Electronics.Controllers.ElectronicsThemeCatalogController</type>
      <type>SevenSpikes.Theme.Electronics.Controllers.ElectronicsThemeCommonController</type>
      <type>SevenSpikes.Theme.Electronics.Controllers.ElectronicsThemeController</type>
    </module>

And the site still loads in a browser with no problem..I can browse to categories, no problem..search with no problem, add items to cart with no problem, etc..etc..etc...

However, if I click on Login, or Register, or Shopping Cart..I get this:


Internet Explorer cannot display the webpage

What you can try:

Diagnose Connection Problems

More information

This problem can be caused by a variety of issues, including:
•Internet connectivity has been lost.
•The website is temporarily unavailable.
•The Domain Name Server (DNS) is not reachable.
•The Domain Name Server (DNS) does not have a listing for the website's domain.
•There might be a typing error in the address.
•If this is an HTTPS (secure) address, click Tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.



Again, the site was only running for a couple of days prior to the theme installation, but I hadn't had any problems with it. Also, it is running at local host if that gives you a clue.

I'm pretty well stuck since I can no longer access the admin area, so I'd appreciate ANY suggestions.

Thanks!