Page 17 of 17 FirstFirst ... 7151617
Results 161 to 164 of 164
  1. #161
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,956
    Plugin Contributions
    96

    Default Re: News Box Manager v3.0.0 [Support Thread]

    The box_news_id field of the box_news table is defined as an auto_increment field (see /admin/includes/init_includes/news_box_manager_install.php):
    Code:
    // ----
    // Create each of the database tables for the news-box records.
    //
    $sql = "CREATE TABLE IF NOT EXISTS " . TABLE_BOX_NEWS . " (
        `box_news_id` int(11) NOT NULL auto_increment,
        `news_added_date` datetime NOT NULL default '0001-01-01 00:00:00',
        `news_modified_date` datetime default NULL,
        `news_start_date` datetime default NULL,
        `news_end_date` datetime default NULL,
        `news_status` tinyint(1) default 0,
        `news_content_type` tinyint(1) NOT NULL default 1,
        PRIMARY KEY  (`box_news_id`)
    )";
    ... as such, that field has an implicit MySQL-calculated default value.

    I'll suggest that you review the structure of the box_news and box_news_content tables via phpMyAdmin to ensure that the structures match that installed by the module referenced above.

  2. #162
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: News Box Manager v3.0.0 [Support Thread]

    Thank you, and sorry for belated reply.
    I am away, as soon as I get back I'll check, and update.

  3. #163
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: News Box Manager v3.0.0 [Support Thread]

    Quote Originally Posted by lat9 View Post
    I'll suggest that you review the structure of the box_news and box_news_content tables via phpMyAdmin to ensure that the structures match that installed by the module referenced above.
    I don't know why, but indeed the "primary key", and "auto increment" were missing.
    Fixed, and works as it used to.

    Thank you.

  4. #164
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,956
    Plugin Contributions
    96

    Default Re: News Box Manager v3.0.0 [Support Thread]

    News Box Manager v3, version 3.2.2 is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2264

    This release contains changes for these GitHub issues:

    #38: Enable integration with the ZCA Bootstrap template
    #40: Correct PHP warning when no content is shown in news listings.
    #41: Remove unwanted MoveNext in sidebox foreach loops (causes articles to be missed).

 

 
Page 17 of 17 FirstFirst ... 7151617

Similar Threads

  1. v151 Log Manager [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 4 Jul 2025, 02:40 PM
  2. Link Manager 3.0 Support Thread
    By clydejones in forum Addon Sideboxes
    Replies: 1987
    Last Post: 6 Aug 2021, 02:56 PM
  3. Testimonial Manager Support Thread
    By clydejones in forum All Other Contributions/Addons
    Replies: 1500
    Last Post: 4 Feb 2021, 04:12 PM
  4. v154 News Box Manager v2.0.0 [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 84
    Last Post: 19 Jan 2021, 04:17 PM
  5. Poll Manager Support Thread
    By boudewijn in forum Addon Sideboxes
    Replies: 148
    Last Post: 27 Jan 2016, 09:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg