Page 4 of 34 FirstFirst ... 2345614 ... LastLast
Results 31 to 40 of 332
  1. #31
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping V5.0

    Quote Originally Posted by jeking View Post
    There's only one entry in that table: http://prntscr.com/o76ypz

    I checked another site and it's got only one entry in this table as well. Slightly different, but about the same.
    Yeah, there would be one entry (row) of data, the question was related to what fields are in that table.

    Now that I've looked at the correct version of the code (I was looking at some 4.x version), might I suggest executing the following in tools->Install SQL Patches and then a little navigation?
    Code:
    ALTER TABLE ceon_uri_mapping_configs DROP language_code_add;
    Then, navigate to the Ceon URI Mapping (SEO) Config (likely will fault again), add ?check-config=1 to the end of the browser path and move forward with that address. Looks like should get a success install/upgrade. If not, then perhaps there is more to the error log? Have the files been removed that are directed in the instructions? Code seems to direct insertion of the field that is considered missing and to do so in a step-by-step sequence.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #32
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,549
    Plugin Contributions
    28

    Default Re: Ceon URI Mapping V5.0

    Quote Originally Posted by mc12345678 View Post
    Yeah, there would be one entry (row) of data, the question was related to what fields are in that table.

    Now that I've looked at the correct version of the code (I was looking at some 4.x version), might I suggest executing the following in tools->Install SQL Patches and then a little navigation?
    Code:
    ALTER TABLE ceon_uri_mapping_configs DROP language_code_add;
    Then, navigate to the Ceon URI Mapping (SEO) Config (likely will fault again), add ?check-config=1 to the end of the browser path and move forward with that address. Looks like should get a success install/upgrade. If not, then perhaps there is more to the error log? Have the files been removed that are directed in the instructions? Code seems to direct insertion of the field that is considered missing and to do so in a step-by-step sequence.
    Ding, ding, ding....we have a winner. I did get the success message and looks like it's all set now. Thank you for helping out.

  3. #33

    Default Re: Ceon URI Mapping V5.0

    Custom Product Types

    Hi Guys,

    Just want to put this in here in case it helps anyone in the future as I could not find the answer in the docs.

    If you have made any custom product types (e.g product_car) you will need to add that into the file /includes/extra_datafiles/ceon_uri_mapping_product_pages.php or else these will not output on your page correctly.

    For Example

    PHP Code:
    $ceon_uri_mapping_product_pages array_merge(array(
        
    FILENAME_DOCUMENT_GENERAL_INFO,
        
    FILENAME_DOCUMENT_PRODUCT_INFO,
        
    FILENAME_PRODUCT_INFO,
        
    FILENAME_PRODUCT_CAR_INFO,
        
    FILENAME_PRODUCT_BOOK_INFO,
        
    FILENAME_PRODUCT_FREE_SHIPPING_INFO,
        
    FILENAME_PRODUCT_MUSIC_INFO
        
    ), $ceon_uri_mapping_product_pages); 

  4. #34
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping V5.0

    Quote Originally Posted by DannyVarley View Post
    Custom Product Types

    Hi Guys,

    Just want to put this in here in case it helps anyone in the future as I could not find the answer in the docs.

    If you have made any custom product types (e.g product_car) you will need to add that into the file /includes/extra_datafiles/ceon_uri_mapping_product_pages.php or else these will not output on your page correctly.

    For Example

    Code:
    $ceon_uri_mapping_product_pages = array_merge(array(
        FILENAME_DOCUMENT_GENERAL_INFO,
        FILENAME_DOCUMENT_PRODUCT_INFO,
        FILENAME_PRODUCT_INFO,
        FILENAME_PRODUCT_CAR_INFO,
        FILENAME_PRODUCT_BOOK_INFO,
        FILENAME_PRODUCT_FREE_SHIPPING_INFO,
        FILENAME_PRODUCT_MUSIC_INFO
        ), $ceon_uri_mapping_product_pages);
    Or you could do something that doesn't require modifying the existing code (which would likely be included on some future update) like adding another file: includes/extra_datafiles/ceon_uri_mapping_added_product_pages.php or:
    includes/extra_datafiles/ceon_uri_mapping_car_product_pages.php
    Code:
    <?php
    /**
     * These are pages in addition to those assigned to support Ceon URI Mapping.
     **/
    
    // ensure the variable is declared with expectation of it being an array already.
    if (empty($ceon_uri_mapping_product_pages)) $ceon_uri_mapping_product_pages = array();
    
    $ceon_uri_mapping_product_pages[] = FILENAME_PRODUCT_CAR_INFO;
    Regardless which order the files are loaded, the information would be added together and when/if the Ceon software is updated again in the future, no file merge specifically necessary. For a Zen Cart rebuild, would be an additional file to review for necessity in transferring based on what is installed to the new site. But guess everyone has their preferred method and style.

    I like to look for changes and then the impact those changes have on other things, in this area of code if there are no changes that seem to affect the loading of product type pages, then I would not expect to have to search for things that I may have modified/added to support additional product types.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #35

    Default Re: Ceon URI Mapping V5.0

    Quote Originally Posted by mc12345678 View Post
    Or you could do something that doesn't require modifying the existing code (which would likely be included on some future update) like adding another file: includes/extra_datafiles/ceon_uri_mapping_added_product_pages.php or:
    includes/extra_datafiles/ceon_uri_mapping_car_product_pages.php
    Yep good idea, Im no good with code so I didn't have a clue to do it like this. Only reason I did it my way was it said so in the file

    "If the store has any custom product page types, add their info page definitions to the list."

    Thanks for the better understanding.

  6. #36
    Join Date
    Jan 2008
    Location
    San Diego, CA - USA
    Posts
    11
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping V5.0

    Testing an install of Ceon URI Mapping v5.0 on a fresh install of Zen Cart v1.5.6c
    When enabled, the catalog crashes with the following error code: ERR_TOO_MANY_REDIRECTS
    The part of the module that seems to be generating those redirects is located at:
    includes/classes/class.CeonURIMappingHandlerBase.php
    ... between lines 403 and 406.
    Any idea on how to fix that?
    - WDV -

  7. #37
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping V5.0

    Quote Originally Posted by wvasconcelos View Post
    Testing an install of Ceon URI Mapping v5.0 on a fresh install of Zen Cart v1.5.6c
    When enabled, the catalog crashes with the following error code: ERR_TOO_MANY_REDIRECTS
    The part of the module that seems to be generating those redirects is located at:
    includes/classes/class.CeonURIMappingHandlerBase.php
    ... between lines 403 and 406.
    Any idea on how to fix that?
    What is in the .htaccess at the root of the store and/or above?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #38
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,401
    Plugin Contributions
    87

    Default Re: Ceon URI Mapping V5.0

    Is there a GitHub repository for this?

  9. #39
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,401
    Plugin Contributions
    87

    Default Re: Ceon URI Mapping V5.0

    Noting that the override to /admin/includes/javascript_loader.php is using the zc156 version (with jQuery 3.3.1). That file was updated in zc156b to use jQuery 3.4.0.

  10. #40
    Join Date
    Jan 2008
    Location
    San Diego, CA - USA
    Posts
    11
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping V5.0

    Quote Originally Posted by mc12345678 View Post
    What is in the .htaccess at the root of the store and/or above?
    Following is the content of my .htaccess file:
    Code:
    ## BEGIN CEON URI MAPPING REWRITE RULE
    
    RewriteEngine On
    
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
    RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
    # Don't rewrite any URIs for some, popular specific file format extensions,
    #   which are not covered by main file extension condition above
    RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264|woff2)$ [NC]
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !^/manager [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/editors/ [NC]
    # Don't rewrite logs directory
    RewriteCond %{REQUEST_URI} !^/logs/ [NC]
    # Don't rewrite readme directory
    RewriteCond %{REQUEST_URI} !^/readme/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* index.php [QSA,L]
    
    ## END CEON URI MAPPING REWRITE RULE
    - WDV -

 

 
Page 4 of 34 FirstFirst ... 2345614 ... LastLast

Similar Threads

  1. Ceon URI Mapping v4.x
    By conor in forum All Other Contributions/Addons
    Replies: 2444
    Last Post: 7 Oct 2020, 03:13 AM
  2. v139d Ceon uri mapping, how to generate uri mapping for bulk bulk-imported products?
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 8 Jan 2013, 06:52 AM
  3. CEON URI Mapping
    By jmkent in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 22 Nov 2012, 04:28 PM
  4. Ceon URI Mapping v4
    By conor in forum All Other Contributions/Addons
    Replies: 110
    Last Post: 14 Aug 2011, 02:51 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