Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2008
    Posts
    1
    Plugin Contributions
    0

    Default [Duplicate] 1.3.8 Query parameters missing.

    hey guys,

    just to let you know that your queries on new products and whats new are missing some parameters. On what's new, you're missing language parameter, so products get show as n new products, depending on n languages you have.

    Fix. add the language_id = '" . $_SESSION['languages_id'] " to the query and voila! :)

    the other one is new products, where you forgot to set the status flag check, so products get shown regardless of being active or not.

    Fix. Add products_status = 1 flag to the new products query.

    hope it helps.

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: 1.3.8 Query parameters missing.

    I think this has been posted somewhere in the announcement room already.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: [Duplicate] 1.3.8 Query parameters missing.

    Quote Originally Posted by JCakeC View Post
    hey guys,

    just to let you know that your queries on new products and whats new are missing some parameters. On what's new, you're missing language parameter, so products get show as n new products, depending on n languages you have.

    Fix. add the language_id = '" . $_SESSION['languages_id'] " to the query and voila! :)

    the other one is new products, where you forgot to set the status flag check, so products get shown regardless of being active or not.

    Fix. Add products_status = 1 flag to the new products query.

    hope it helps.
    Quote Originally Posted by yellow1912 View Post
    I think this has been posted somewhere in the announcement room already.
    Check here

 

 

Similar Threads

  1. Duplicate Mysql query
    By Pauls in forum Basic Configuration
    Replies: 20
    Last Post: 25 Jul 2016, 01:05 PM
  2. v154 functions_general.php: htmlspecialchars missing parameters?
    By lat9 in forum General Questions
    Replies: 1
    Last Post: 11 Jan 2015, 12:44 AM
  3. Replies: 9
    Last Post: 20 Jan 2014, 09:21 PM
  4. Hiding the Query Parameters in address bar?
    By Gunzanroses in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 Apr 2007, 05:32 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