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

Ceon URI Mapping V5.0

Views: 88,596

Results 21 to 40 of 392
13 Jun 2019, 2:46 PM
#21
enginarat avatar

enginarat

New Zenner

Join Date:
Mar 2011
Location:
Marco Island, FL
Posts:
71
Plugin Contributions:
0

Ceon URI Mapping V5.0

Hi everyone,
Has this been 1.5.6b tested?.
I am working on a fresh install & no other moudules on site yet (of course except payment and shipping)
I am familiar with earlier versions of this module.
Do we have a go for it?
Thanks!

13 Jun 2019, 2:54 PM
#22
swguy avatar

swguy

Administrator

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

Re: Ceon URI Mapping V5.0

Works like a champ. Just be sure to visit the upgrade page as noted earlier in this thread.

20 Jun 2019, 1:57 PM
#23
dannyvarley avatar

dannyvarley

Zen Follower

Join Date:
Dec 2011
Posts:
287
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

Thumbs up for the plugin, Upgraded and followed instructions and works like a charm on 1.5.6a :D

25 Jun 2019, 1:03 PM
#24
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

I'm upgrading a site that was using 3.6.3. Installation went smoothly, but I get:
--> PHP Fatal error: 1054:Unknown column 'manage_product_reviews_info_mappings' in 'field list' ::

When accessing Admin>Modules>CEON URI Mapping (SEO) Config

26 Jun 2019, 9:47 PM
#25
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Ceon URI Mapping V5.0

jeking:

I'm upgrading a site that was using 3.6.3. Installation went smoothly, but I get:
--> PHP Fatal error: 1054:Unknown column 'manage_product_reviews_info_mappings' in 'field list' ::

When accessing Admin>Modules>CEON URI Mapping (SEO) Config
After attempting to access that page, if you add to the Web address:

?check-config=1

Does that make it successful?

26 Jun 2019, 9:58 PM
#26
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

mc12345678:

After attempting to access that page, if you add to the Web address:

?check-config=1

Does that make it successful?

Thanks for the suggestion, but no. I get the same error.

Just to clarify, if needed, the page displays WARNING: An Error occurred, please refresh the page and try again. The error I reported is from the logs folder.

26 Jun 2019, 10:36 PM
#27
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Ceon URI Mapping V5.0

jeking:

Thanks for the suggestion, but no. I get the same error.

Just to clarify, if needed, the page displays WARNING: An Error occurred, please refresh the page and try again. The error I reported is from the logs folder.

That's what I was guessing (the message and logs folder entry). Are you able to look at the database tables to see if the field: mapping_clash_action is already in the table? I was looking through the table check code and well, seems that no initial action changes were made to affect upgrade from 3.6.3, the 3.6.3 code doesn't look like it has that field, but then again swiping through my mobile doesn't mean I could easily find it. :)

26 Jun 2019, 11:08 PM
#28
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

mc12345678:

That's what I was guessing (the message and logs folder entry). Are you able to look at the database tables to see if the field: mapping_clash_action is already in the table? I was looking through the table check code and well, seems that no initial action changes were made to affect upgrade from 3.6.3, the 3.6.3 code doesn't look like it has that field, but then again swiping through my mobile doesn't mean I could easily find it. :)

I figured you had the errors straight, just wanted to be sure.

These are the three ceon tables I see: http://prntscr.com/o7699q

And in ceon_uri_mapping_prp_uri_parts, I see: http://prntscr.com/o769v1

27 Jun 2019, 12:07 AM
#29
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Ceon URI Mapping V5.0

It looks like the table in question would be ceon_uri_mapping_configs

27 Jun 2019, 12:32 AM
#30
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

mc12345678:

It looks like the table in question would be ceon_uri_mapping_configs

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.

27 Jun 2019, 3:25 PM
#31
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Ceon URI Mapping V5.0

jeking:

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?

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.

27 Jun 2019, 3:56 PM
#32
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

mc12345678:

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?

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. :D
6 Jul 2019, 11:42 AM
#33
dannyvarley avatar

dannyvarley

Zen Follower

Join Date:
Dec 2011
Posts:
287
Plugin Contributions:
0

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

$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);
6 Jul 2019, 6:41 PM
#34
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Ceon URI Mapping V5.0

DannyVarley:

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

$ceon_uri_mapping_product_pages = array_merge(array(
FILENAME_DOCUMENT_GENERAL_INFO,
FILENAME_DOCUMENT_PRODUCT_INFO,
FILENAME_PRODUCT_INFO,
[B]FILENAME_PRODUCT_CAR_INFO,[/B]
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
<?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.
10 Jul 2019, 3:57 PM
#35
dannyvarley avatar

dannyvarley

Zen Follower

Join Date:
Dec 2011
Posts:
287
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

mc12345678:

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.

18 Jul 2019, 8:52 PM
#36
wvasconcelos avatar

wvasconcelos

New Zenner

Join Date:
Jan 2008
Location:
San Diego, CA - USA
Posts:
11
Plugin Contributions:
12

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?

20 Jul 2019, 2:46 AM
#37
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Ceon URI Mapping V5.0

wvasconcelos:

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?

22 Jul 2019, 3:00 PM
#38
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,081
Plugin Contributions:
56

Re: Ceon URI Mapping V5.0

Is there a GitHub repository for this?

22 Jul 2019, 3:16 PM
#39
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,081
Plugin Contributions:
56

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.

22 Jul 2019, 3:27 PM
#40
wvasconcelos avatar

wvasconcelos

New Zenner

Join Date:
Jan 2008
Location:
San Diego, CA - USA
Posts:
11
Plugin Contributions:
12

Re: Ceon URI Mapping V5.0

mc12345678:

What is in the .htaccess at the root of the store and/or above?

Following is the content of my .htaccess file:

## 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