Page 33 of 81 FirstFirst ... 23313233343543 ... LastLast
Results 321 to 330 of 809
  1. #321
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Dynamic Filter - Left Col Boxes Misaligned

    Quote Originally Posted by dharrison View Post
    Hi

    Going through this, the whole site falls over with the core overrides in functions_general.php

    I am doing this on a fresh install and there is no mention of

    Code:
      if ( (SEARCH_ENGINE_FRIENDLY_URLS == 'true') && ($search_engine_safe == true) )
              {
    // die ('here');
                $get_url .= $key . '/' . rawurlencode(stripslashes($value)) . '/';
              }
              else
              {
    In the changes between the end of section 1 and beginning of section 2

    Log file displays the following:

    Code:
    [17-Jul-2013 09:23:52 UTC] PHP Fatal error:  Cannot redeclare zen_create_random_value() (previously declared in ...........\includes\functions\functions_general.php:626) in ...........\includes\functions\password_funcs.php on line 86
    Realistically you have to copy from the bof 1 of 3 section until just before

    Code:
    ////
    // Wrapper function for round()
    I hope this helps. I personally am still trying it.
    to which zc version are you referring?

  2. #322
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Re: Dynamic Filter - Left Col Boxes Misaligned

    As I originally mentioned, this is on a version 1.5.1. I used the updates on github

    And now everything would work all except for the box isn't listed in Layout > Boxes Controller
    Debbie Harrison
    DVH Design | Web Design blog

  3. #323
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Dynamic Filter - Left Col Boxes Misaligned

    Quote Originally Posted by dharrison View Post
    As I originally mentioned, this is on a version 1.5.1. I used the updates on github

    And now everything would work all except for the box isn't listed in Layout > Boxes Controller
    Ok, I will check on that.

  4. #324
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Re: Dynamic Filter - Left Col Boxes Misaligned

    Glad to be of help. ;)

    The seach box is there. That was an error on my part.

    However, it seems to ignore the option id on the one attribute that I have added (age)
    Debbie Harrison
    DVH Design | Web Design blog

  5. #325
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Re: Dynamic Filter - Left Col Boxes Misaligned

    Also its not just the issue I have with the filter not showing my attribute option for Age. How can I enable this to work on the home page as well?

    Please advise.
    Debbie Harrison
    DVH Design | Web Design blog

  6. #326
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Dynamic Filter - Left Col Boxes Misaligned

    Quote Originally Posted by DannyVarley View Post
    1. Ability to turn on/off product price sorter in config
    This option has been added to the latest version on github

  7. #327
    Join Date
    Oct 2011
    Posts
    168
    Plugin Contributions
    0

    Default Dynamic Filter - PHP Warning: trim() expects parameter 1 to be string

    I got a warning message in the log file as following:
    Code:
     PHP Warning:  trim() expects parameter 1 to be string, array given in H:\onlinestore\includes\functions\functions_general.php on line 63
    
     PHP Stack trace:
    
       1. {main}() H:\onlinestore\index.php:0
    
       2. require() H:\onlinestore\index.php:97
    
       3. require() H:\onlinestore\includes\templates\CPE02\common\tpl_main_page.php:74
    
       4. require() H:\onlinestore\includes\templates\CPE02\common\tpl_header.php:58
    
       5. zen_draw_hidden_field() H:\onlinestore\includes\templates\CPE02\templates\tpl_header_currencies.php:20
    
       6. zen_output_string() H:\onlinestore\includes\functions\html_output.php:469
    
       7. zen_parse_input_field_data() H:\onlinestore\includes\functions\functions_general.php:77
    
       8. trim() H:\onlinestore\includes\functions\functions_general.php:63
    I set 5 attributes as 5 filters. On the categories pages, the warning message repeated 5 times. On new products, all products and featured products, there is a extra filler - Categories, the message repeated 6 times.

    Is anyone can help?, or suggestion?

  8. #328
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Dynamic Filter - PHP Warning: trim() expects parameter 1 to be string

    Quote Originally Posted by su35 View Post
    I got a warning message in the log file as following:
    Code:
     PHP Warning:  trim() expects parameter 1 to be string, array given in H:\onlinestore\includes\functions\functions_general.php on line 63
    
     PHP Stack trace:
    
       1. {main}() H:\onlinestore\index.php:0
    
       2. require() H:\onlinestore\index.php:97
    
       3. require() H:\onlinestore\includes\templates\CPE02\common\tpl_main_page.php:74
    
       4. require() H:\onlinestore\includes\templates\CPE02\common\tpl_header.php:58
    
       5. zen_draw_hidden_field() H:\onlinestore\includes\templates\CPE02\templates\tpl_header_currencies.php:20
    
       6. zen_output_string() H:\onlinestore\includes\functions\html_output.php:469
    
       7. zen_parse_input_field_data() H:\onlinestore\includes\functions\functions_general.php:77
    
       8. trim() H:\onlinestore\includes\functions\functions_general.php:63
    I set 5 attributes as 5 filters. On the categories pages, the warning message repeated 5 times. On new products, all products and featured products, there is a extra filler - Categories, the message repeated 6 times.

    Is anyone can help?, or suggestion?
    can't help without having a lot more information, like ZC version, php version, module version etc

  9. #329
    Join Date
    Oct 2011
    Posts
    168
    Plugin Contributions
    0

    Default Re: Dynamic Filter - PHP Warning: trim() expects parameter 1 to be string

    Hi Design75

    Thanks for you replay. The zen-cart version is 1.5.1, php version is 5.4.7 and the DF version is 1.2

  10. #330
    Join Date
    Oct 2011
    Posts
    168
    Plugin Contributions
    0

    Default Re: Dynamic Filter - PHP Warning: trim() expects parameter 1 to be string

    Hi Design75

    I track back to tpl_header_currencies.php:20 and dump the $value, which should be a string, to the screen. There are exactly some non string element here.

    Name:  temp.jpg
Views: 292
Size:  49.1 KB

 

 
Page 33 of 81 FirstFirst ... 23313233343543 ... LastLast

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 20
    Last Post: 23 Apr 2025, 08:49 AM
  2. Empty Dynamic Filter
    By LadyoftheCave in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 6 Jun 2016, 12:47 PM
  3. v150 Dynamic filter
    By Dinoleix in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 13 Aug 2013, 10:23 AM
  4. v150 Dynamic filter - All pages
    By Okkwebmedia in forum Addon Sideboxes
    Replies: 0
    Last Post: 8 Jul 2013, 08:52 AM
  5. v138a Dynamic Filter
    By SoftCorpse in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 18 Jun 2012, 01:32 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