Page 147 of 163 FirstFirst ... 4797137145146147148149157 ... LastLast
Results 1,461 to 1,470 of 1622
  1. #1461
    Join Date
    Apr 2007
    Location
    Manchester, NH
    Posts
    52
    Plugin Contributions
    0

    Default Re: Ultimate SEO 2.200+ (new features)

    Hello zenniac seo url'ers,

    I have updated zen to 1.5.7c today, and have noticed that it broke usu.php in admin/includes/functions/extra_functions/usu.php

    That file invokes a call to zen_product_in_parent_category(), but this does not exist in its paths.

    I had to add it to usu.php (and moved it to general.php) to make the categories/products area work in the admin.

    Did I perhaps miss an updatee to admin general.php that defined this function for usu.php to call?

  2. #1462
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by CarolineBogart View Post
    Hello zenniac seo url'ers,

    I have updated zen to 1.5.7c today, and have noticed that it broke usu.php in admin/includes/functions/extra_functions/usu.php

    That file invokes a call to zen_product_in_parent_category(), but this does not exist in its paths.

    I had to add it to usu.php (and moved it to general.php) to make the categories/products area work in the admin.

    Did I perhaps miss an updatee to admin general.php that defined this function for usu.php to call?
    That's a function that is/was missing from the Zen Cart V1.5.7 includes/functions/functions_categories.php.

    https://github.com/zencart/zencart/b....php#L231-L258
    Code:
      function zen_product_in_category($product_id, $cat_id) {    global $db;
        $in_cat=false;
        $category_query_raw = "select categories_id from " . TABLE_PRODUCTS_TO_CATEGORIES . "
                               where products_id = '" . (int)$product_id . "'";
    
        $category = $db->Execute($category_query_raw);
    
        while (!$category->EOF) {
          if ($category->fields['categories_id'] == $cat_id) $in_cat = true;
          if (!$in_cat) {
            $parent_categories_query = "select parent_id from " . TABLE_CATEGORIES . "
                                        where categories_id = '" . $category->fields['categories_id'] . "'";
    
            $parent_categories = $db->Execute($parent_categories_query);
    //echo 'cat='.$category->fields['categories_id'].'#'. $cat_id;
            while (!$parent_categories->EOF) {
              if (($parent_categories->fields['parent_id'] !=0) ) {
                if (!$in_cat) $in_cat = zen_product_in_parent_category($product_id, $cat_id, $parent_categories->fields['parent_id']);
              }
              $parent_categories->MoveNext();
            }
          }
          $category->MoveNext();
        }
        return $in_cat;
      }
    Last edited by mc12345678; 16 Jan 2021 at 01:43 AM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #1463
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,474
    Plugin Contributions
    88

    Default Re: Ultimate SEO 2.200+ (new features)

    I've created a GitHub issue (https://github.com/lat9/usu/issues/41) to track the changes needed for the issue identified by @CarolineBogart.

  4. #1464
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,684
    Plugin Contributions
    9

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by CarolineBogart View Post
    Hello zenniac seo url'ers,

    I have updated zen to 1.5.7c today, and have noticed that it broke usu.php in admin/includes/functions/extra_functions/usu.php

    That file invokes a call to zen_product_in_parent_category(), but this does not exist in its paths.

    I had to add it to usu.php (and moved it to general.php) to make the categories/products area work in the admin.

    Did I perhaps miss an updatee to admin general.php that defined this function for usu.php to call?
    interesting....
    Last edited by carlwhat; 16 Jan 2021 at 04:51 PM.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #1465
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,684
    Plugin Contributions
    9

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by CarolineBogart View Post

    That file invokes a call to zen_product_in_parent_category(), but this does not exist in its paths.
    Quote Originally Posted by mc12345678 View Post
    Code:
      function zen_product_in_category($product_id, $cat_id) {    
    ...
    mc,
    2 different functions. usu accounts for the missing function of which you speak. the issue identified is a function loaded on the catalog side but not on the admin side.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

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

    Default Re: Ultimate SEO 2.200+ (new features)

    I've just submitted v3.0.8 of USU for the Zen Cart moderators' review; I'll post back here when it's available for download.

    This release contains changes associated with GitHub issue #41 (Missing zen_product_in_parent_category during admin processing).

  7. #1467
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,474
    Plugin Contributions
    88

    Default Re: Ultimate SEO 2.200+ (new features)

    Quote Originally Posted by lat9 View Post
    I've just submitted v3.0.8 of USU for the Zen Cart moderators' review; I'll post back here when it's available for download.

    This release contains changes associated with GitHub issue #41 (Missing zen_product_in_parent_category during admin processing).
    Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=132

  8. #1468
    Join Date
    Apr 2007
    Location
    Manchester, NH
    Posts
    52
    Plugin Contributions
    0

    Default Re: Ultimate SEO 2.200+ (new features)

    Thanks very much. The only change is to add the conditional function zen_product_in_parent_category? I did that so I think we're all set.

  9. #1469
    Join Date
    Mar 2016
    Location
    Marietta GA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Ultimate SEO 2.200+ (new features)

    Hello, using plugin ver 3.0.8 on Z-C ver 1.5.5e.

    Is there something I need to do for the alternate URLs to be generated? I switched Enable alternate URLs? = True, and am clicking through my site. I see no change in any of the URLs. Will the plugin "crawl" my site and gen the SEO friendly URLs?

    Debug is turned on, and looking in the log, I'm seeing no errors, only a series of messages like this:

    =====> URL Generation Log Started, for page: /<ADMIN_DIR>/configuration.php?gID=42&cID=1453&action=edit.

    Request sent to href_link('index', '', 'NONSSL', true, true, false, true)
    Generated URL: https://australianbakerycafe.com/

    Request sent to href_link('index', '', 'NONSSL', true, true, false, true)
    Generated URL: https://australianbakerycafe.com/

    The only thing that changes in the messages is the bolded part and sometimes it is like so: gID=42&cID=1451. (no "&action=edit.")

    Thanks.
    Last edited by greg_beyer; 13 Feb 2021 at 04:19 PM. Reason: typo

  10. #1470
    Join Date
    Mar 2016
    Location
    Marietta GA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Ultimate SEO 2.200+ (new features)

    About an hour later, I just got word that our site is down, with this message showing to customers:

    The page isn’t redirecting properly

    An error occurred during a connection to australianbakerycafe.com.

    This problem can sometimes be caused by disabling or refusing to accept cookies.

    Checking logs, I find no fatal errors, but this is a new one:

    Request sent to href_link('checkout_process', '', 'SSL', true, true, false, true)
    Page (checkout_process) was not in the list of pages to rewrite, URI not generated!

    Which to me means that a URI was not generated as the checkout page was not included to be re-written. No biggie, I think, certainly not a reason for the whole site not to load.

    If I click "Storefront" button in Admin, site opens fine (https://australianbakerycafe.com/ind...ain_page=index) Of course, visitors just type in the domain name, which results in the above error.

    I set Enable alternate URLs = false, tried domain name along, no joy. Reverted the .htaccess to pre-install of plugin, and site comes back. Thus there must be something wrong with .htaccess.

 

 

Similar Threads

  1. Ultimate Fade-In Slidehow Support thread
    By outeredge2 in forum All Other Contributions/Addons
    Replies: 158
    Last Post: 4 Feb 2017, 03:10 AM
  2. Ultimate Cross Sell [Support Thread]
    By ultimate_zc in forum All Other Contributions/Addons
    Replies: 239
    Last Post: 17 May 2015, 03:25 AM
  3. Ultimate Content Glider [Support Thread]
    By ultimate_zc in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 4 Sep 2012, 05:16 AM
  4. Re: Simple SEO URL [support thread]
    By creamcrackers in forum General Questions
    Replies: 2
    Last Post: 16 Aug 2009, 03:02 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