locked
All listings go inactive after a couple hours RRS feed

  • Question

  • User1371822439 posted

    I recently changed the default number of days to list an ad to 45 and removed the other options completely. After i did that the website started inactivating the ads very randomly. generally every 2-3 hours.

    i made the following change in SiteSettings.vb:

    s.MaxAdRunningDays = 45

    i also changed MaxAdRunningDays in site-config.xml

    <MaxAdRunningDays>45</MaxAdRunningDays>

    my new code in postad.aspx was as follows:

    <asp:DropDownList ID="NumDaysList" Runat="server">

    <asp:ListItem Value="45" Selected="True">45 days</asp:ListItem>

    </asp:DropDownList>

    I've also changed all of the administrator passwords and made sure that users don't have access to admin functions. Does anyone know what might be triggering this problem?

    Monday, April 6, 2009 1:52 PM

All replies

  • User730446648 posted

    Post an ad and look at the database base itself for what date is entered in ExpirationDate.

    It sounds like it's not setting it right, and when the maintenance timer goes off it catches the expired ad.

    Monday, April 6, 2009 9:19 PM