in

dashCommerce

An ASP.NET Open Source e-Commerce Application

Not all products show up

Last post 08-04-2008 5:39 PM by jimmidude. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-04-2008 9:16 AM

    • tomer
    • Top 500 Contributor
    • Joined on 07-14-2008
    • Posts 4

    Not all products show up

    Hello again,

     

    I upgraded to the latest version, ran the 2 update scripts but for some reason there is still something weird with the site.

    Some products don't show up. For example, when viewing the category page it says:

    "showing 1-3 results"

    but only shows 2 products.

    In the admin panel, I can see the following error:

    System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
       at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
       at System.Drawing.Image.Save(String filename, ImageFormat format)
       at System.Drawing.Image.Save(String filename)
       at MettleSystems.dashCommerce.Core.ImageProcess.ResizeAndSave(Stream fileStream, String fileName, String finalPath, Int32 maxWidth, Int32 maxHeight) in C:\Website\Core\ImageProcess.cs:line 121
       at MettleSystems.dashCommerce.Web.controls.catalogList.dlCatalog_ItemDataBound(Object sender, DataListItemEventArgs e) in C:\Website\Web\controls\catalogList.ascx.cs:line 167
       at System.Web.UI.WebControls.DataList.OnItemDataBound(DataListItemEventArgs e)
       at System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)
       at System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource)
       at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e)
       at System.Web.UI.WebControls.BaseDataList.DataBind()
       at MettleSystems.dashCommerce.Web.controls.catalogList.Page_Load(Object sender, EventArgs e) in C:\Website\Web\controls\catalogList.ascx.cs:line 117

     

    Anyone got any ideas?

  • 08-04-2008 5:39 PM In reply to

    Re: Not all products show up

    I have seen a similar problem with a very similar error message.  The problem was when the database says the product has a photo but the program cannot load the photo, or write the new thumbnail, I am not sure which one.  I fixed my issue by fixing the folder permissions on the repository folder where the photos are stored.

Page 1 of 1 (2 items)