Page 2 of 8 FirstFirst 1234 ... LastLast
Results 11 to 20 of 78
  1. #11
    Join Date
    Sep 2008
    Posts
    54
    Plugin Contributions
    0

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    I have recently uploaded this plugin on 3 of my 5 zencart based eshops.

    All 3 of them are being constantly injected with trojan viruses since then. Not sure how it´s possible, but I didn´t make any other changes to the sites and as I said, those that have not been upgraded with this mod are clear. I´m using v1.1

  2. #12
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,589
    Plugin Contributions
    30

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    All 3 of them are being constantly injected with trojan viruses since then.
    How are these viruses being detected on your remote sites?
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  3. #13
    Join Date
    Sep 2008
    Posts
    54
    Plugin Contributions
    0

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    They are detected by my antivirus (this is what you were asking, right?)

  4. #14
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,589
    Plugin Contributions
    30

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    "my antivirus"
    This is unclear.
    I mean which antivirus software flags the trojan and where do you see the warning:
    - when you access the sites through a browser (which browser)?
    - some sort of notification from your hosting service?
    - on your local development server?
    Details....screenshots....etc.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  5. #15
    Join Date
    Sep 2008
    Posts
    54
    Plugin Contributions
    0

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    Trojans are detected by my antivirus (Eset), I see this when accessing sites through all browsers

    multiple files are affected (index.html, various php files, etc, files that are not linked only to this plugin) and malicious code is inserted into it. I manually clean each and every file, so I´m very sure it´s there.

    I don´t have crystal clear proof this is happening because of this plugin, but:
    1.) I didn´t make any changes in last year except of this one
    2.) Those sites that are nut upgraded with this plugin are still clear

    So I assume, there has to be a link between these.

  6. #16
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,589
    Plugin Contributions
    30

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    So I assume, there has to be a link between these.
    Logical...but I can't see how...so more info needed..

    So, ESET flags a trojan and then you examine the page on the hosting server and find a load of extra code in it which you clean out and ESET is then happy?
    What version of Zen Carts are you using on these sites?

    and a link to an infected site by private message please.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  7. #17
    Join Date
    Sep 2008
    Posts
    54
    Plugin Contributions
    0

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    I´m using both 1.38 and 1.50 versions, will PM you url of sites

  8. #18
    Join Date
    Aug 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    Hello, thank you for this mod, however I cannot seem to get it going, I have installed all the files, but get the following error if I select one of the menu items in the dropdown except -Reset- which works fine:

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by p.products_sort_order, pd.products_name limit 0, 15' at line 18
    in:
    [SELECT DISTINCT p.products_model, p.products_image, p.products_quantity , m.manufacturers_id, p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_price_sorter, p.products_qty_box_status, p.master_categories_id FROM (products p LEFT JOIN manufacturers m USING(manufacturers_id), products_description pd, categories c, products_to_categories p2c ) LEFT JOIN meta_tags_products_description mtpd ON mtpd.products_id= p2c.products_id AND mtpd.language_id = 1 WHERE (p.products_status = 1 AND p.products_id = pd.products_id AND pd.language_id = 1 AND p.products_id = p2c.products_id AND p2c.categories_id = c.categories_id AND ((pd.products_name LIKE '%speed%' OR p.products_model LIKE '%speed%' OR m.manufacturers_name LIKE '%speed%' OR (mtpd.metatags_keywords LIKE '%speed%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%speed%' AND mtpd.metatags_description !='')) )) order by m.manufacturers_name order by p.products_sort_order, pd.products_name limit 0, 15]

    What and which file should I edit to change it to the correct syntax?

  9. #19
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,589
    Plugin Contributions
    30

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    I assume you are using the current v2.0?

    order by m.manufacturers_name order by p.products_sort_order, pd.products_name limit 0, 15]
    The problem is there are two order clauses.

    This is on the product listing?

    What do you have defined here?
    \includes\languages\english\extra_definitions\product_listing_sorter_en.php

    PHP Code:
    define('PRODUCT_LISTING_SORTER_LIST''
          Name (asc)d.products_name;
          Name (desc)d.products_name DESC;
          Model (asc).products_model;
          Model (desc).products_model DESC;
          Price (low to high).products_price_sorter;
          Price (high to low).products_price_sorter DESC;
          Manufacturer:m.manufacturers_name;
          Newest.products_date_added DESC;
          Most Popular: p.products_ordered DESC
          '
    ); 
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  10. #20
    Join Date
    Aug 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: Product Listing Sorter Drop-Down [Support Thread]

    Yes, version 2.0, there is no file called product_listing_sorter_en.php only one named product_listing_sorter.php and it is the default one from the zipped package.

    define('PRODUCT_LISTING_SORTER_LIST', '
    Name (asc)d.products_name;
    Name (desc)d.products_name DESC;
    Model (asc).products_model;
    Model (desc).products_model DESC;
    Price (low to high).products_price_sorter;
    Price (high to low).products_price_sorter DESC;
    Manufacturer:m.manufacturers_name;
    Newest.products_date_added DESC;
    Most Popular: p.products_ordered DESC
    ');
    Last edited by SoftCorpse; 8 Nov 2013 at 03:30 PM.

 

 
Page 2 of 8 FirstFirst 1234 ... LastLast

Similar Threads

  1. v155 Product Sorter [Support Thread]
    By balihr in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 19 May 2016, 04:35 AM
  2. Replies: 8
    Last Post: 21 Oct 2008, 09:27 PM
  3. remove product listing drop down
    By godt in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 18 Sep 2006, 06:19 AM
  4. Sort Drop Down in Product Listing?
    By Ryk in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 May 2006, 07:03 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR