Page 21 of 81 FirstFirst ... 1119202122233171 ... LastLast
Results 201 to 210 of 808
  1. #201
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Sorting Manufacturers on Dynamic Filter Sidebox

    It's interesting, I just replaced the "includes/functions/functions_general.php" from the mod with my backed up file and it started working again.

    And I know there are differences between the two.
    Using Zen Cart 1.5.1

  2. #202
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Sorting Manufacturers on Dynamic Filter Sidebox

    Ya, but now you may have problems with users creating accounts or resetting passwords etc.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #203
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Sorting Manufacturers on Dynamic Filter Sidebox

    Quote Originally Posted by Kevin205 View Post
    It works, then it fails to function after clicking to test for filters. I get the white page.

    I am getting the following error message:
    [22-Feb-2013 21:50:56] PHP Fatal error: Cannot redeclare zen_create_random_value() (previously declared in
    /home/content/******/html/****/cart/includes/functions/functions_general.php:626) in
    /home/content/******/html/****/cart/includes/functions/password_funcs.php on line 86
    Any idea where it's coming from?
    You replied to my sorting manufactures post. Is this what you are having issues with? I only ask because I intended to post this as a new thread but it somehow ended up being part of this thread. Apologies if not and for any confusion.

    If it is regarding sorting manufacturers please post your code and ill take a look. I'm not site why that would cause any issues in those files you mentioned.
    Phil Rogers
    A problem shared is a problem solved.

  4. #204
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Sorting Manufacturers on Dynamic Filter Sidebox

    Quote Originally Posted by Kevin205 View Post
    It's interesting, I just replaced the "includes/functions/functions_general.php" from the mod with my backed up file and it started working again.

    And I know there are differences between the two.
    My 1.5.1 didn't merge very well. Try using the 1.5.1 original file as a template and use the properly merged code which seems to work provided by DrByte here:
    http://www.zen-cart.com/showthread.p...44#post1188244
    Phil Rogers
    A problem shared is a problem solved.

  5. #205
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Dynamic Filter [Support Thread]

    Hi Phil - I was replying to Dynamic Filter [Support Thread] and not to Sorting Manufacturers on Dynamic Filter Sidebox . Sorry I didn't realize the title could be revised.

    I am trying to install "Dynamic Filter v1.0" in a perfectly working Zen 1.5.1. I am having a terrible time trying to figure out what I am doing wrong!

    Following is the error I am getting, plus a nice white page on a previously working test site.
    PHP Code:
    [23-Feb-2013 13:46:13PHP Fatal error:  Cannot redeclare zen_create_random_value() (previously declared in 
    /home/content/***/html/cart/includes/functions/functions_general.php:626in 
    /home/content/***/html/cart/includes/functions/password_funcs.php on line 86 
    I had installed Products Listing Sorter v1.1 and I thought that was conflicting with Dynamic Filter v1.0. So I removed it and I am still getting the above error.

    I have followed exactly as per the instructions.

    DrByte replied saying that I have to merge the files in /includes/functions/functions_general.php

    As I am looking at the /includes/functions/functions_general.php file from Dynamic Filter v1.0 mod and comparing it to the original file of my working site, there is a vast amount code changes. And I don't think it's just a matter of doing a merge with some line of code.

    There is a lot of line of code otherwise, I would have copied it here.

    And I can't figure out where to start looking for other errors, if any?

    I am stuck.
    Using Zen Cart 1.5.1

  6. #206
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Dynamic Filter [Support Thread]

    Quote Originally Posted by Kevin205 View Post
    Hi Phil - I was replying to Dynamic Filter [Support Thread] and not to Sorting Manufacturers on Dynamic Filter Sidebox . Sorry I didn't realize the title could be revised.

    I am trying to install "Dynamic Filter v1.0" in a perfectly working Zen 1.5.1. I am having a terrible time trying to figure out what I am doing wrong!

    Following is the error I am getting, plus a nice white page on a previously working test site.
    PHP Code:
    [23-Feb-2013 13:46:13PHP Fatal error:  Cannot redeclare zen_create_random_value() (previously declared in 
    /home/content/***/html/cart/includes/functions/functions_general.php:626in 
    /home/content/***/html/cart/includes/functions/password_funcs.php on line 86 
    I had installed Products Listing Sorter v1.1 and I thought that was conflicting with Dynamic Filter v1.0. So I removed it and I am still getting the above error.

    I have followed exactly as per the instructions.

    DrByte replied saying that I have to merge the files in /includes/functions/functions_general.php

    As I am looking at the /includes/functions/functions_general.php file from Dynamic Filter v1.0 mod and comparing it to the original file of my working site, there is a vast amount code changes. And I don't think it's just a matter of doing a merge with some line of code.

    There is a lot of line of code otherwise, I would have copied it here.

    And I can't figure out where to start looking for other errors, if any?

    I am stuck.
    What files did dynamic filter override on your install?

    If I remember correctly on mine te main two were the functions general and the default filter (I think)

    Both I think were out of date from the 1.5.1 files ment they needed merging instead of simply replacing.

    Did you try using the clean 1.5.1 functions general file with DrBytes updated and merged function which affects dynamic filter in the post with link I made above?

    Failing this its got to be either a mod somewhere conflicting or you haven't merged a file correctly somewhere.

    Might be worth fully removing dynamic filter and starting over just to double check?

    I can confirm that I have it working fine on 1.5.1 the only change I had to make was the functions general code in that post (but this was just to rectify warnings not because it wasn't working) which is why I think you have something wrong going on
    Phil Rogers
    A problem shared is a problem solved.

  7. #207
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Dynamic Filter [Support Thread]

    I just noticed that even thought in the install section of the mod says

    Modified Core Files
    A few core Zen Cart files must be modified to work with the Dynamic Filter module.
    If any of the core files this distribution uses have already been modified (because of another third party module being installed for example) then the changes for the respective files should be applied manually by copying across the appropriate sections of code required for the Dynamic Filter module. These sections are clearly marked (with “// bof dynamic filter x of x” and “// eof dynamic filter x of x” comments) within the sample files provided in this distribution and should be easy enough to copy across, especially if a “diff” software package (such as DiffMerge or WinMerge) is used.
    The modified files can be found within the 'core file overrides' folder in the distribution as follows.
    Name:  Zen_0016.jpg
Views: 324
Size:  19.8 KB

    In the supplied mod file /includes/functions/functions_general.php there are other line with code changes. That are not commented with “// bof dynamic filter x of x” and “// eof dynamic filter x of x” comments. So I would not know what to merge.
    Using Zen Cart 1.5.1

  8. #208
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Dynamic Filter [Support Thread]

    Quote Originally Posted by Kevin205 View Post
    I just noticed that even thought in the install section of the mod says



    Name:  Zen_0016.jpg
Views: 324
Size:  19.8 KB

    In the supplied mod file /includes/functions/functions_general.php there are other line with code changes. That are not commented with “// bof dynamic filter x of x” and “// eof dynamic filter x of x” comments. So I would not know what to merge.
    The commented bit is the only bit that needs merging. Any other differences are because the file is an old version. So hence you need to use your fresh 1.5.1 copy of te file and just update the function detailed In The post linked in where DrByte amended the function that was commented as described above.

    If you still get problems it's because you have other mods that have modified the functions general file
    Phil Rogers
    A problem shared is a problem solved.

  9. #209
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Dynamic Filter [Support Thread]

    Phil back to rescue again. Wow. Thanks.

    Quote Originally Posted by philip937 View Post
    What files did dynamic filter override on your install?

    If I remember correctly on mine te main two were the functions general and the default filter (I think)

    Both I think were out of date from the 1.5.1 files ment they needed merging instead of simply replacing.

    Did you try using the clean 1.5.1 functions general file with DrBytes updated and merged function which affects dynamic filter in the post with link I made above?

    Failing this its got to be either a mod somewhere conflicting or you haven't merged a file correctly somewhere.

    Might be worth fully removing dynamic filter and starting over just to double check?

    I can confirm that I have it working fine on 1.5.1 the only change I had to make was the functions general code in that post (but this was just to rectify warnings not because it wasn't working) which is why I think you have something wrong going on
    I will try that and will post what code overrides are. Thank you.
    Using Zen Cart 1.5.1

  10. #210
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Dynamic Filter [Support Thread]

    Overrides are:

    The mod has the following overrides, which I have added.
    includes/classes/split_page_results.php
    includes/functions/functions_general.php
    includes/modules/pages/advanced_search_result/header_php.php
    includes/modules/pages/featured_products/header_php.php
    includes/modules/pages/products_all/header_php.php
    includes/modules/pages/products_new/header_php.php
    includes/modules/pages/specials/header_php.php
    includes/modules/pages/specials/main_template_vars.php
    It also askes you to add a template override includes/index_filters/YOUR_TEMPLATE/default_filter.php

    The only thing I have not done is to add
    PHP Code:
    [B]$excludeParams[] = DYNAMIC_FILTER_PREFIX 'Colour';[/B
    to includes/init_includes/init_canonical.php file, Since I am getting a white page, am not even there yet.
    Using Zen Cart 1.5.1

 

 
Page 21 of 81 FirstFirst ... 1119202122233171 ... 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