Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    131
    Plugin Contributions
    0

    Default Lots of log files

    177.000 logs at the moment for some weeks.
    They all are very similar.
    Could you take a look please?

    Code:
    [27-May-2024 13:00:36 Europe/Berlin] Request URI: /index.php?main_page=index&cPath=66_74_139, IP address: 52.167.144.16, Language id 43
    #0 /includes/classes/observers/auto.prioritize_search_match_in_name.php(14): zen_debug_error_handler()
    #1 /includes/init_includes/init_observers.php(54): zcObserverPrioritizeSearchMatchInName->__construct()
    #2 /includes/autoload_func.php(43): require_once('...')
    #3 /includes/application_top.php(255): require('...')
    #4 /index.php(26): require('...')
    --> PHP Deprecated: Creation of dynamic property zcObserverPrioritizeSearchMatchInName::$order_by is deprecated in /includes/classes/observers/auto.prioritize_search_match_in_name.php on line 14.
    My Zen-Cart Vespa Shop.
    GDPR compliant Webhosting in Germany.

  2. #2
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    131
    Plugin Contributions
    0

    Default Re: Lots of log files

    with PHP 8.2.18
    My Zen-Cart Vespa Shop.
    GDPR compliant Webhosting in Germany.

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,850
    Plugin Contributions
    124

    Default Re: Lots of log files

    This is a plugin that needs to be updated.

    Post to
    https://www.zen-cart.com/showthread....upport-Thread/

    The update is quite straightforward. In ./includes/classes/observers/auto.prioritize_search_match_in_name.php above the _construction function, add

    private $order_by;
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    131
    Plugin Contributions
    0

    Default Re: Lots of log files

    I remember I installed it years ago.
    I'll take a look at this.

    Thank you very much!
    Last edited by Shop Suey; 27 May 2024 at 12:29 PM.
    My Zen-Cart Vespa Shop.
    GDPR compliant Webhosting in Germany.

  5. #5
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    131
    Plugin Contributions
    0

    Default Re: Lots of log files

    like this?

    Code:
    class zcObserverPrioritizeSearchMatchInName extends base {
    private $order_by;
      public function __construct() {
        $this->order_by = '';
        $this->attach ($this, array ('NOTIFY_SEARCH_SELECT_STRING', 'NOTIFY_SEARCH_ORDERBY_STRING'));
        
      }
    My Zen-Cart Vespa Shop.
    GDPR compliant Webhosting in Germany.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,653
    Plugin Contributions
    88

    Default Re: Lots of log files

    Quote Originally Posted by Shop Suey View Post
    like this?

    Code:
    class zcObserverPrioritizeSearchMatchInName extends base {
    private $order_by;
      public function __construct() {
        $this->order_by = '';
        $this->attach ($this, array ('NOTIFY_SEARCH_SELECT_STRING', 'NOTIFY_SEARCH_ORDERBY_STRING'));
        
      }
    That'll work, but I'll be changing Prioritize Matching Names (https://www.zen-cart.com/downloads.php?do=file&id=2038) to
    Code:
    class zcObserverPrioritizeSearchMatchInName extends base {
      protected string $order_by;
      public function __construct() {
        $this->order_by = '';
        $this->attach ($this, array ('NOTIFY_SEARCH_SELECT_STRING', 'NOTIFY_SEARCH_ORDERBY_STRING'));
        
      }
    Note that, thanks to this report, I've just updated the plugin to v1.0.1 to correct this (and one other) issue.

  7. #7
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    131
    Plugin Contributions
    0

    Default Re: Lots of log files

    I changed it.
    Thank you very much!
    My Zen-Cart Vespa Shop.
    GDPR compliant Webhosting in Germany.

 

 

Similar Threads

  1. v155 1.5.5f log files not writing to log folder
    By delia in forum General Questions
    Replies: 22
    Last Post: 19 May 2019, 08:29 AM
  2. v154 Excessive Log Files
    By Man from Mars in forum General Questions
    Replies: 12
    Last Post: 21 Nov 2018, 12:48 AM

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