Zen Cart Logo
Forums / All Other Contributions/Addons / Ceon URI Mapping V5.0

Ceon URI Mapping V5.0

Views: 88,600

Results 321 to 340 of 392
1 Feb 2024, 12:51 PM
#321
bruce1952 avatar

bruce1952

Totally Zenned

Join Date:
Aug 2008
Location:
Sydney Australia
Posts:
828
Plugin Contributions:
0

Ceon URI Mapping V5.0

simon1066:

Ceon.net have kindly released a new version of Ceon URI Mapping compatible with ZC v1.5.8

Version 5.1.1 was released on 4 Jan 2024

https://ceon.net

Do I have to pay again because the emails that you sent me were confusing.

One said to download from the invoice and the other required invoice information which was sent and I have not received a return email since.

Please confirm the correct information download from my invoice, or do I have to Pay again?

1 Feb 2024, 1:18 PM
#322
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

Bruce1952:

Do I have to pay again because the emails that you sent me were confusing.

One said to download from the invoice and the other required invoice information which was sent and I have not received a return email since.

Please confirm the correct information download from my invoice, or do I have to Pay again?

My post was simply a heads up to the ZC community that an update of Ceon URI Mapping was available outside of this support site, the stand alone (free) version, which this thread is regarding.

I have no idea about the commercial Ceon URI Mapping: UMM Edition - as mentioned in your previous posts.

2 Feb 2024, 11:52 PM
#323
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping V5.0

Bruce1952:

Do I have to pay again because the emails that you sent me were confusing.

One said to download from the invoice and the other required invoice information which was sent and I have not received a return email since.

Please confirm the correct information download from my invoice, or do I have to Pay again?

From what I've gathered if the new release has the same primary version (5.xxx) then the update is part of the original download/agreement.

I would think to try downloading from whatever account was used and verify that it contains new files.. Not sure why being asked about the invoice number would mandate additional transactions.

I mean, to be blatantly cheeky, if asked how tall you were would that mean you need to change the sole thickness of whatever shoes you may be wearing?

10 Feb 2024, 6:40 PM
#324
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: Ceon URI Mapping V5.0

FYI: If you previously purchased the Mapping Manager from Ceon, that is also updated (11/01/2024: UMM 2.2 and URI Mapping 5.1.1 are in the same .zip download), which you can download from the original order details in your account.

I don't understand why there was no announcement here nor any email notification.

I've just done merging the two with my dev site and personal fixes, what a pain in the arse. I see the majority of issues have been addressed (without communication to the effect) but this plugin should have a single Ceon-managed public Github to centralise issues. There are various public and private Githubs which are not the way to manage this complex pile of files.

The sooner this functionality is in core the better.

11 Feb 2024, 6:27 PM
#325
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: Ceon URI Mapping V5.0

As I've already found bugs, I've re-started a previous repository for URI Mapping:

https://github.com/torvista/Zen-Cart_CEON-URI-Mapping

I've restructured the files to make it easier for comparisons.

Feel free to report Issues there.

23 Feb 2024, 9:10 PM
#326
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: Ceon URI Mapping V5.0

So, I have a new version of a product, and I want urls pointing to the old version of the product to redirect 301 to the new product.

How should I do that, bearing in mind old urls out there in the wild are friendly style?

Just a RewriteRule / nothing to be done in Ceon Uri?

25 Feb 2024, 1:43 AM
#327
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping V5.0

torvista:

So, I have a new version of a product, and I want urls pointing to the old version of the product to redirect 301 to the new product.

How should I do that, bearing in mind old urls out there in the wild are friendly style?

Just a RewriteRule / nothing to be done in Ceon Uri?

So want the old URI to direct to a new product and want the new product designation to also point to the new product? And don't want to allow access to the old product itself?

Seems like could expire the current uri of the old product (within admin delete the uri from the product), then create a static alias for another static URI (configuration section of instructions section 11) so that the old URI points to the new URI using the redirect code of choice: 301, 302, 303 or 307.

Or could bypass that database record and enter information in the .htaccess to redirect away. Whatever works for you, I would think the database option would be better so that it would remain with the store as the store moved and it simplifies the .htaccess file and maintenance.

25 Feb 2024, 10:14 AM
#328
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,872
Plugin Contributions:
7

Re: Ceon URI Mapping V5.0

Thanks for that.
I tried manually adding the entry to the mappings table as described but it did not work...and as the table has no unique column it's hard to debug further with phpmyadmin, so maybe my error.

I'd already spent an inordinate amount of time trying to get htaccess rules to work, due to a couple of gotchas (something to be added to ZC documentation). But working now, and better for me as it's in plain view.

8 Mar 2024, 8:50 PM
#329
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
Plugin Contributions:
56

Re: Ceon URI Mapping V5.0

Update on this plugin: the Github repo button on the plugin library page has been pointed to https://github.com/torvista/Zen-Cart_CEON-URI-Mapping

Thanks to @torvista for his support of this plugin.

24 Mar 2024, 2:31 AM
#330
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

v1.5.7b CEON v5.1.0

I have this error being thrown every 4 minutes or so for hundreds of products so these are examples of a much repeated error log with the variations being the product uri and filename affected (as per the types in the .php) - I have checked the file /includes/extra_datafiles/ceon_uri_mapping_product_pages.php and it seems to be OK, matches my file copy of the v5.1.0 download but not sure if there have been any subsequent mods to the file since downloading (same file exists in the v5.0.0 version) - am stumped as to what the issue may be and would really appreciate some assistance.
cheers, Mike

[24-Mar-2024 13:14:42 Australia/Sydney] Request URI: /sterling-silver-clip-on-earrings/clip-on-earrings-unique-artisan-crafted-in-sterling-silver/review?reviews_id=19, IP address: 47.128.117.243
#1 include(/includes/extra_datafiles/ceon_uri_mapping_product_pages.php) called at [/includes/init_includes/init_file_db_names.php:80]
#2 require(/includes/init_includes/init_file_db_names.php) called at [/includes/application_top.php:185]
#3 require(/includes/application_top.php) called at [/index.php:25]
--> PHP Warning: Use of undefined constant FILENAME_DOCUMENT_GENERAL_INFO - assumed 'FILENAME_DOCUMENT_GENERAL_INFO' (this will throw an Error in a future version of PHP) in /includes/extra_datafiles/ceon_uri_mapping_product_pages.php on line 24.

[24-Mar-2024 13:14:42 Australia/Sydney] Request URI: /sterling-silver-clip-on-earrings/clip-on-earrings-unique-artisan-crafted-in-sterling-silver/review?reviews_id=19, IP address: 47.128.117.243
#1 include(/includes/extra_datafiles/ceon_uri_mapping_product_pages.php) called at [/includes/init_includes/init_file_db_names.php:80]
#2 require(/includes/init_includes/init_file_db_names.php) called at [/includes/application_top.php:185]
#3 require(/includes/application_top.php) called at [/index.php:25]
--> PHP Warning: Use of undefined constant FILENAME_DOCUMENT_PRODUCT_INFO - assumed 'FILENAME_DOCUMENT_PRODUCT_INFO' (this will throw an Error in a future version of PHP) in /includes/extra_datafiles/ceon_uri_mapping_product_pages.php on line 25.

copy of my installed /includes/extra_datafiles/ceon_uri_mapping_product_pages.php

<?php

/**
 * Ceon URI Mapping Product Page Definitions.
 *
 * Contains arrays with the list of the product pages and product related pages this store uses.
 *
 * @package     ceon_uri_mapping
 * @author      Conor Kerr <[email protected]>
 * @copyright   Copyright 2008-2019 Ceon
 * @copyright   Copyright 2003-2007 Zen Cart Development Team
 * @copyright   Portions Copyright 2003 osCommerce
 * @link        http://ceon.net/software/business/zen-cart/uri-mapping
 * @license     http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version     $Id: ceon_uri_mapping_product_pages.php 1027 2012-07-17 20:31:10Z conor $
 */

/**
 * If the store has any custom product page types, add their info page definitions to the list.
 */
if (empty($ceon_uri_mapping_product_pages)) $ceon_uri_mapping_product_pages = array();

$ceon_uri_mapping_product_pages = array_merge(array(
	FILENAME_DOCUMENT_GENERAL_INFO,
	FILENAME_DOCUMENT_PRODUCT_INFO,
	FILENAME_PRODUCT_INFO,
	FILENAME_PRODUCT_BOOK_INFO,
	FILENAME_PRODUCT_FREE_SHIPPING_INFO,
	FILENAME_PRODUCT_MUSIC_INFO
	), $ceon_uri_mapping_product_pages);

if (empty($ceon_uri_mapping_product_related_pages)) $ceon_uri_mapping_product_related_pages = array();
	
$ceon_uri_mapping_product_related_pages = array_merge(array(
	FILENAME_PRODUCT_REVIEWS,
	FILENAME_PRODUCT_REVIEWS_INFO,
	FILENAME_PRODUCT_REVIEWS_WRITE
	), $ceon_uri_mapping_product_related_pages);

if (defined('FILENAME_TELL_A_FRIEND')) {
	$ceon_uri_mapping_product_related_pages[] = FILENAME_TELL_A_FRIEND;
}
if (defined('FILENAME_ASK_A_QUESTION')) {
	$ceon_uri_mapping_product_related_pages[] = FILENAME_ASK_A_QUESTION;
}
25 Mar 2024, 12:34 AM
#331
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping V5.0

shags38:

v1.5.7b CEON v5.1.0

I have this error being thrown every 4 minutes or so for hundreds of products so these are examples of a much repeated error log with the variations being the product uri and filename affected (as per the types in the .php) - I have checked the file /includes/extra_datafiles/ceon_uri_mapping_product_pages.php and it seems to be OK, matches my file copy of the v5.1.0 download but not sure if there have been any subsequent mods to the file since downloading (same file exists in the v5.0.0 version) - am stumped as to what the issue may be and would really appreciate some assistance.
cheers, Mike

[24-Mar-2024 13:14:42 Australia/Sydney] Request URI: /sterling-silver-clip-on-earrings/clip-on-earrings-unique-artisan-crafted-in-sterling-silver/review?reviews_id=19, IP address: 47.128.117.243
#1 include(/includes/extra_datafiles/ceon_uri_mapping_product_pages.php) called at [/includes/init_includes/init_file_db_names.php:80]
#2 require(/includes/init_includes/init_file_db_names.php) called at [/includes/application_top.php:185]
#3 require(/includes/application_top.php) called at [/index.php:25]
--> PHP Warning: Use of undefined constant FILENAME_DOCUMENT_GENERAL_INFO - assumed 'FILENAME_DOCUMENT_GENERAL_INFO' (this will throw an Error in a future version of PHP) in /includes/extra_datafiles/ceon_uri_mapping_product_pages.php on line 24.

[24-Mar-2024 13:14:42 Australia/Sydney] Request URI: /sterling-silver-clip-on-earrings/clip-on-earrings-unique-artisan-crafted-in-sterling-silver/review?reviews_id=19, IP address: 47.128.117.243
#1 include(/includes/extra_datafiles/ceon_uri_mapping_product_pages.php) called at [/includes/init_includes/init_file_db_names.php:80]
#2 require(/includes/init_includes/init_file_db_names.php) called at [/includes/application_top.php:185]
#3 require(/includes/application_top.php) called at [/index.php:25]
--> PHP Warning: Use of undefined constant FILENAME_DOCUMENT_PRODUCT_INFO - assumed 'FILENAME_DOCUMENT_PRODUCT_INFO' (this will throw an Error in a future version of PHP) in /includes/extra_datafiles/ceon_uri_mapping_product_pages.php on line 25.

> 
> copy of my installed /includes/extra_datafiles/ceon_uri_mapping_product_pages.php
> ```
<?php

/**
 * Ceon URI Mapping Product Page Definitions.
 *
 * Contains arrays with the list of the product pages and product related pages this store uses.
 *
 * @package     ceon_uri_mapping
 * @author      Conor Kerr <[email protected]>
 * @copyright   Copyright 2008-2019 Ceon
 * @copyright   Copyright 2003-2007 Zen Cart Development Team
 * @copyright   Portions Copyright 2003 osCommerce
 * @link        http://ceon.net/software/business/zen-cart/uri-mapping
 * @license     http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version     $Id: ceon_uri_mapping_product_pages.php 1027 2012-07-17 20:31:10Z conor $
 */

/**
 * If the store has any custom product page types, add their info page definitions to the list.
 */
if (empty($ceon_uri_mapping_product_pages)) $ceon_uri_mapping_product_pages = array();

$ceon_uri_mapping_product_pages = array_merge(array(
	FILENAME_DOCUMENT_GENERAL_INFO,
	FILENAME_DOCUMENT_PRODUCT_INFO,
	FILENAME_PRODUCT_INFO,
	FILENAME_PRODUCT_BOOK_INFO,
	FILENAME_PRODUCT_FREE_SHIPPING_INFO,
	FILENAME_PRODUCT_MUSIC_INFO
	), $ceon_uri_mapping_product_pages);

if (empty($ceon_uri_mapping_product_related_pages)) $ceon_uri_mapping_product_related_pages = array();
	
$ceon_uri_mapping_product_related_pages = array_merge(array(
	FILENAME_PRODUCT_REVIEWS,
	FILENAME_PRODUCT_REVIEWS_INFO,
	FILENAME_PRODUCT_REVIEWS_WRITE
	), $ceon_uri_mapping_product_related_pages);

if (defined('FILENAME_TELL_A_FRIEND')) {
	$ceon_uri_mapping_product_related_pages[] = FILENAME_TELL_A_FRIEND;
}
if (defined('FILENAME_ASK_A_QUESTION')) {
	$ceon_uri_mapping_product_related_pages[] = FILENAME_ASK_A_QUESTION;
}

Do you have the file includes/extra_datafiles/ceon_uri_mapping_database_tables.php in place? That file contains the definition that appears to be missing. It appears though that because the file handlers that process the associated directories don't use the glob function that perhaps sorting is not accomplished and therefore the file reporting the issue is loaded before the file desired to be loaded earlier.

Unfortunate, but that's the design chosen to perform the Laravel file loading. Looks like some additional unnecessary logic would need to be incorporated if you're answer to the above is that the file is present. If the file is not present, then wonder what other files are missing, which I would have thought would be identified in the installation check or whatever it is that reports extra files and potentially missing files.

26 Mar 2024, 1:03 AM
#332
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

mc12345678:

Do you have the file includes/extra_datafiles/ceon_uri_mapping_database_tables.php in place? That file contains the definition that appears to be missing. It appears though that because the file handlers that process the associated directories don't use the glob function that perhaps sorting is not accomplished and therefore the file reporting the issue is loaded before the file desired to be loaded earlier.

Unfortunate, but that's the design chosen to perform the Laravel file loading. Looks like some additional unnecessary logic would need to be incorporated if you're answer to the above is that the file is present. If the file is not present, then wonder what other files are missing, which I would have thought would be identified in the installation check or whatever it is that reports extra files and potentially missing files.

Hi MC - the file includes/extra_datafiles/ceon_uri_mapping_database_tables.php is in place and I have checked installed files against the downloaded fileset copy and all files are correct. The issue only started 3 days ago on two sites with CEON 5.1.0 installed - prior to this there were no error logs - 3 days ago I did change the PHP version from 7.1 to 7.4

So after everything else checked out I reverted to PHP 7.1 and that did the trick, the errors ceased.

Now I need to find out why changing php would create the issue and imporatantly how to fix it.

Reason for PHP change - I have one hosting account with 3 active sites 2 had been upgraded to 157 a couple of years ago but one was still a v155f and I had to use code in the .htaccess to have the server assume 7.1 to get it to work, until I upgraded it in the last few days to v157 - hence now I could change PHP to the higher 7.4 as all sites were now v157.

So in respect to your query about the file includes/extra_datafiles/ceon_uri_mapping_database_tables.php infering a possible database issue - it seems to me that installation of CEON is relative to the server PHP version at time of installation.

Q - So how can I get CEON to accept the PHP change?? (aside from an uninstall and then new install if possible to avoid it)

I couldn't find anything in the CEON documentation specifically, other than this in the 157 installation;

Automatically update the database and configuration
This software comes with some intelligent upgrade and error checking functionality which makes it easy to keep the database and configuration up to date.
Go to Modules > Ceon URI Mapping (SEO) Config in the Zen Cart Admin and the module will be updated automagically!

I changed PHP back from 7.1 to 7.4 and followed the above in the hope it would detect the change but it did not.

cheers, Mike

3 Apr 2024, 2:50 AM
#333
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

Not sure if it is a bug, a wrong setting on my hands or normal but i am getting the following "issue":

the plug-in works as intended:

https://www.abc.com/index.php?main_page=product_info&cPath=167&products_id=2807

becomes

https://www.abc.com/awesome-product

However if the product is accessed thru a linked category ( same product in multiple categories) , it shows

https://www.abc.com/awesome-product?cPath=25&

a ?cPath= is being added to the end of the url.

Is this normal behavior?

How can I stop this from happening?

Thank you

3 Apr 2024, 4:11 AM
#334
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping V5.0

nicksab:

Not sure if it is a bug, a wrong setting on my hands or normal but i am getting the following "issue":

the plug-in works as intended:

https://www.abc.com/index.php?main_page=product_info&cPath=167&products_id=2807

becomes

https://www.abc.com/awesome-product

However if the product is accessed thru a linked category ( same product in multiple categories) , it shows

https://www.abc.com/awesome-product?cPath=25&

a ?cPath= is being added to the end of the url.

Is this normal behavior?

How can I stop this from happening?

Thank you

Normal behavior. The base name represents the master category, the added cPath parameter identified and supports processing that the product is linked. Take note of the html source code to see that both have the same canonical link.

Tongue-in-cheek, to stop having that additional parameter could stop linking product alternatively could code the parameter away, but then what good would linking the product do other than supporting sale pricing configuration?

Another way of is that the additional parameter gives the little bit of information necessary to show the product in the desired hierarchy.

3 Apr 2024, 10:35 PM
#335
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

mc12345678:

Normal behavior. The base name represents the master category, the added cPath parameter identified and supports processing that the product is linked. Take note of the html source code to see that both have the same canonical link.

Tongue-in-cheek, to stop having that additional parameter could stop linking product alternatively could code the parameter away, but then what good would linking the product do other than supporting sale pricing configuration?

Another way of is that the additional parameter gives the little bit of information necessary to show the product in the desired hierarchy.

Thank you MC for clearing this out.

I assumed it was normal behavior but needed confirmation.

I am having issues with category specific stylesheet and thoughts it could have been the culprit.

When the cpath ( from linked category) is added, the category specific stylesheet is not loaded for some unknown reasons.

3 Apr 2024, 11:01 PM
#336
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping V5.0

nicksab:

Thank you MC for clearing this out.

I assumed it was normal behavior but needed confirmation.

I am having issues with category specific stylesheet and thoughts it could have been the culprit.

When the cpath ( from linked category) is added, the category specific stylesheet is not loaded for some unknown reasons.

Besides the typical request to address the posting tips, how are the category specific stylesheets named and what examples are available where a product's master category and a separate product's linked category both are the same category?

1 Jul 2024, 1:23 AM
#337
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

Does anyone knows if Ceon URI is compatible with ZC 2.0.1?

Thank you

1 Jul 2024, 3:27 AM
#338
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,682
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

I don't think so.

nicksab:

Does anyone knows if Ceon URI is compatible with ZC 2.0.1?

Thank you