Page 229 of 245 FirstFirst ... 129179219227228229230231239 ... LastLast
Results 2,281 to 2,290 of 2445
  1. #2281
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,571
    Plugin Contributions
    30

    Default Re: Ceon URI Mapping v4.x

    I cast an eye over this thread but get dizzy with the details.

    I would say that back in the day it was this mod that required me to use virtual hosts for local development work as detailed in my previous posts. No other method (alias) would work.

    Long ago I updated this code for php7 and other bits, and to keep it alive posted it on Github.

    I see someone has posted a "new" version in the plugins.
    This I have not compared to mine so I cannot vouch for it.

    I know mine works....so maybe you should compare it.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  2. #2282
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by torvista View Post
    I cast an eye over this thread but get dizzy with the details.

    I would say that back in the day it was this mod that required me to use virtual hosts for local development work as detailed in my previous posts. No other method (alias) would work.

    Long ago I updated this code for php7 and other bits, and to keep it alive posted it on Github.

    I see someone has posted a "new" version in the plugins.
    This I have not compared to mine so I cannot vouch for it.

    I know mine works....so maybe you should compare it.
    Well I have four domain names on the verge of going live which have exactly the same installations on them. I gave them a look over and have realised one of those can actually go into a live status and it wouldn't take me too long to generate the URL's on that particular domain name, which wouldn't cause too many issues. So I am going to push it live, however if the problem remains I will take it offline again then will have a look at your version.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  3. #2283
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by mc12345678 View Post
    I neglected to also state that the specific error encountered in includes/functions/functions_general.php when trying whatever uri on the store was attempted is not directly associated with this plugin as it would have occurred regardless of being installed or not. The cause of getting a page not found error may have been a result of some aspect of its installation (possibly incomplete), incorrect use, or other some other factor, but there has not been sufficient information provided to identify why a page not found response was provided.

    Generally speaking when using Zen Cart, it is expected that the uri to the store would be a "full" uri, not one using an ip address/temp folder. There are other threads in the forum where this is discussed and it is not necessarily associated with this plugin. I encourage seeking assistance with this aspect in either an existing thread directly related to the issue or by beginning a new one. Note that while this forum contains a lot of useful information that there are many Internet search tools outside of it that may find related discussions better than the forum's search tool. The recent recommendation of others is to add Zen Cart to the end of any such search.
    I've now pushed one of the domain names live and still the problem of a blank installation check page exists. So obviously its nothing to do with the tilde.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  4. #2284
    Join Date
    Jul 2012
    Posts
    16,719
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by Nick1973 View Post
    I've now pushed one of the domain names live and still the problem of a blank installation check page exists. So obviously its nothing to do with the tilde.
    So you're saying that the error generated is still:
    Code:
    [04-Sep-2018 16:53:54 UTC] Request URI: /~MYWEBSITEDIRECTORY/, IP address: 00.00.00.000
    #1  preg_match() called at [/home/MYWEBSITEDIRECTORY/public_html/includes/functions/functions_general.php:1031]
    #2  zen_back_link() called at [/home/MYWEBSITEDIRECTORY/public_html/includes/templates/template_default/templates/tpl_page_not_found_default.php:54]
    #3  require(/home/MYWEBSITEDIRECTORY/public_html/includes/templates/template_default/templates/tpl_page_not_found_default.php) called at [/home/MYWEBSITEDIRECTORY/public_html/includes/templates/venturezen/common/tpl_main_page.php:179]
    #4  require(/home/MYWEBSITEDIRECTORY/public_html/includes/templates/venturezen/common/tpl_main_page.php) called at [/home/vgd/public_html/index.php:97]
    
    [04-Sep-2018 16:53:54 UTC] PHP Warning:  preg_match(): Unknown modifier 'v' in /home/MYWEBSITEDIRECTORY/public_html/includes/functions/functions_general.php on line 1031
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #2285
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by torvista View Post
    I cast an eye over this thread but get dizzy with the details.

    I would say that back in the day it was this mod that required me to use virtual hosts for local development work as detailed in my previous posts. No other method (alias) would work.

    Long ago I updated this code for php7 and other bits, and to keep it alive posted it on Github.

    I see someone has posted a "new" version in the plugins.
    This I have not compared to mine so I cannot vouch for it.

    I know mine works....so maybe you should compare it.
    I've managed to try your version and it works!
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  6. #2286
    Join Date
    Jul 2012
    Posts
    16,719
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by torvista View Post
    I cast an eye over this thread but get dizzy with the details.

    I would say that back in the day it was this mod that required me to use virtual hosts for local development work as detailed in my previous posts. No other method (alias) would work.

    Long ago I updated this code for php7 and other bits, and to keep it alive posted it on Github.

    I see someone has posted a "new" version in the plugins.
    This I have not compared to mine so I cannot vouch for it.

    I know mine works....so maybe you should compare it.
    I know I had compared the two which was where I found that changes had been made that prevented operation in php versions less than 7.x and also that the work done to use the ZC 1.5.5 notifier in zen_href_link and subsequently ensure the bread-crumbs had the rewritten uri were not adopted.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #2287
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by mc12345678 View Post
    I know I had compared the two which was where I found that changes had been made that prevented operation in php versions less than 7.x and also that the work done to use the ZC 1.5.5 notifier in zen_href_link and subsequently ensure the bread-crumbs had the rewritten uri were not adopted.
    I have a working version sort of which is the main thing. It looks like some modifications appear to be missing though from some files that aren't included unless they are in the installation instructions, so I am going to work through the list in a moment and come back to this thread.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  8. #2288
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by torvista View Post
    I cast an eye over this thread but get dizzy with the details.

    I would say that back in the day it was this mod that required me to use virtual hosts for local development work as detailed in my previous posts. No other method (alias) would work.

    Long ago I updated this code for php7 and other bits, and to keep it alive posted it on Github.

    I see someone has posted a "new" version in the plugins.
    This I have not compared to mine so I cannot vouch for it.

    I know mine works....so maybe you should compare it.
    Is this important? Its in 1.5.5e/includes/templates/MYTEMPLATE/html_header.php

    Code:
    //steve bof CEON uri mapping
            //CEON uri mapping produces a canonical link with no extra parameters: so no "?" after the url.
            //To create the alternate urls for hreflang use, for all pages (apart from the home page), '&amp;language=' is appended to the canonical url. This gets a page not found (in the Google Search Console) as the "&amp;" needs to be a "?" as there are no other parameters.
            //Since the $canonicalLink is already created, it needs to be checked for the presence of a "?". If so, ok, if not use the "?" instead of "&amp;".
            //echo '<link rel="alternate" href="' . ($this_is_home_page ? zen_href_link(FILENAME_DEFAULT, 'language=' . $key, $request_type) : $canonicalLink . '&amp;language=' . $key) . '" hreflang="' . $key . '" />' . "\n";
            echo '<link rel="alternate" href="' . ($this_is_home_page ? zen_href_link(FILENAME_DEFAULT, 'language=' . $key, $request_type) : $canonicalLink . (strpos($canonicalLink, '?') ? '&amp;' : '?') . 'language=' . $key) . '" hreflang="' . $key . '" />' . "\n";//steve as per https://github.com/zencart/zencart/pull/1314/files
      }
      // EOF hreflang for multilingual sites
    Just it breaks my site and I get a white page when I try to load the home page.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  9. #2289
    Join Date
    Jul 2012
    Posts
    16,719
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by Nick1973 View Post
    Is this important? Its in 1.5.5e/includes/templates/MYTEMPLATE/html_header.php

    Code:
    //steve bof CEON uri mapping
            //CEON uri mapping produces a canonical link with no extra parameters: so no "?" after the url.
            //To create the alternate urls for hreflang use, for all pages (apart from the home page), '&amp;language=' is appended to the canonical url. This gets a page not found (in the Google Search Console) as the "&amp;" needs to be a "?" as there are no other parameters.
            //Since the $canonicalLink is already created, it needs to be checked for the presence of a "?". If so, ok, if not use the "?" instead of "&amp;".
            //echo '<link rel="alternate" href="' . ($this_is_home_page ? zen_href_link(FILENAME_DEFAULT, 'language=' . $key, $request_type) : $canonicalLink . '&amp;language=' . $key) . '" hreflang="' . $key . '" />' . "\n";
            echo '<link rel="alternate" href="' . ($this_is_home_page ? zen_href_link(FILENAME_DEFAULT, 'language=' . $key, $request_type) : $canonicalLink . (strpos($canonicalLink, '?') ? '&amp;' : '?') . 'language=' . $key) . '" hreflang="' . $key . '" />' . "\n";//steve as per https://github.com/zencart/zencart/pull/1314/files
      }
      // EOF hreflang for multilingual sites
    Just it breaks my site and I get a white page when I try to load the home page.
    In what way does it break your site? Ie. what is in the error message?

    It was determined to be important in some way which is why it was added.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #2290
    Join Date
    Jul 2012
    Posts
    16,719
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by Nick1973 View Post
    I've now pushed one of the domain names live and still the problem of a blank installation check page exists. So obviously its nothing to do with the tilde.
    The error message likely was the same as identified by wmorris where (at least) the file YOUR_ADMIN/includes/classes/class.CeonURIMappingInstallationCheck.php line 2173 uses the null coalesce operator of ?? (available first in PHP 7.0) in:
    Code:
    $path = $old_file_or_dir['file'] ?? $old_file_or_dir['dir'];
    was used instead of the pre-PHP 7.0 release:
    Code:
    $path = isset($old_file_or_dir['file']) ? $old_file_or_dir['file'] : $old_file_or_dir['dir'];
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. 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
  2. CEON URI Mapping
    By jmkent in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 22 Nov 2012, 04:28 PM
  3. Ceon URI Mapping (SEO)
    By conor in forum All Other Contributions/Addons
    Replies: 2906
    Last Post: 9 Sep 2011, 08:31 AM
  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