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

Ceon URI Mapping V5.0

Views: 88,596

Results 381 to 392 of 392
18 Apr 2025, 11:05 AM
#381
nl2dav avatar

nl2dav

New Zenner

Join Date:
Jan 2005
Posts:
55
Plugin Contributions:
0

Ceon URI Mapping V5.0

torvista:

If you are using the updated version from my Github, please detail the problem in an issue there.

[18-Apr-2025 12:30:44 Europe/Berlin] PHP Parse error: syntax error, unexpected '|', expecting ';' or '{' in /admin/includes/classes/class.CeonURIMappingAdminProductPages.php on line 1111

[18-Apr-2025 12:30:44 Europe/Berlin] Request URI: /admin/index.php?cmd=product&cPath=11_13_18_23&product_type=1&pID=17&action=new_product, IP address: censored
--> PHP Parse error: syntax error, unexpected '|', expecting ';' or '{' in /admin/includes/classes/class.CeonURIMappingAdminProductPages.php on line 1111.

[18-Apr-2025 11:50:51 Europe/Berlin] PHP Fatal error: Cannot use 'null' as class name as it is reserved in /admin/includes/classes/observers/class.CeonURIMappingAdminCopyObserver.php on line 89

there should be a warning that your version is not compatible with PHP7.4 anymore

18 Apr 2025, 11:56 AM
#382
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

php 7.4 went obsolete in 2022. It's 2025.

php moves the goalposts and code has to be updated accordingly.
If you insist on php 7 you'll need to remove the type hints
e.g.

: bool|string

18 Apr 2025, 1:07 PM
#383
nl2dav avatar

nl2dav

New Zenner

Join Date:
Jan 2005
Posts:
55
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

I am aware of the PHP roadmap.

It's just some sort of chicken/egg problem. Zencart needs to be updated, therefore mariadb needs to be upgraded, PHP needs to be upgraded, template needs to be updated.. And... Plugins (/ 3rd party paying module ).

Some say you need to dive directly into the deep with directly installing ZC 2 or 2.1. I do not like that approach. I jump on a rock in-between which is 1.5.7d after I analysed https://docs.zen-cart.com/user/first_steps/server_requirements/ . Updating all plugins to at least 1.5.7 standards first. Because Ceon URI Mapping V5.1.1 is not being mentioned @the plugin section I'd just assumed it's 1.5.7 compatible. Due to minor version difference I assumed it was still 1.5.7 compatible.

18 Apr 2025, 1:49 PM
#384
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,956
Plugin Contributions:
8

Re: Ceon URI Mapping V5.0

torvista:

php 7.4 went obsolete in 2022. It's 2025.

php moves the goalposts and code has to be updated accordingly.
If you insist on php 7 you'll need to remove the type hints
e.g.

since you direct everyone to your github, the idea that at the top of your README.md, you have a list of requirements for the latest version is not unreasonable.

if you ever start making use of releases and tags (i only see 1 tag and 0 releases), which i recommend, you can add the requirements for each release there.

i am sure that within the 71 commits you have on your repo, there is a version compatible with 7.4 and zc1.5.7d (maybe not); but had you made use of releases and tags, it would allow users the opportunity to use a version that fits their specific needs.

browbeating a user is so beneath you; unless you decide to start offering a hosting package. in which case, on this forum, it is expected.

best.

28 May 2025, 6:21 AM
#385
diptimoy avatar

diptimoy

Zen Follower

Join Date:
Apr 2012
Location:
Bardhaman , Bharat
Posts:
217
Plugin Contributions:
1

Re: Ceon URI Mapping V5.0

want to integrate ceon in zencart 2.1.0 getting this

[28-May-2025 08:18:05 Europe/Berlin] PHP Fatal error: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in adminend\includes\classes\class.CeonURIMappingInstallOrUpgrade.php on line 467

7 Jun 2025, 10:27 PM
#386
nl2dav avatar

nl2dav

New Zenner

Join Date:
Jan 2005
Posts:
55
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

and what version do you use?

5.1 doesn't have that line on 467, neither the torvista variant (5.1.1)

26 Aug 2025, 8:34 AM
#387
ntestinfo11 avatar

ntestinfo11

New Zenner

Join Date:
Mar 2011
Posts:
39
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

Is it possible to add .html in every uri?

26 Aug 2025, 9:35 AM
#388
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Ceon URI Mapping V5.0

ntestinfo11:

Is it possible to add .html in every uri?

It's unnecessary, but yes. Has to be accounted for in the .htaccess file as described in the instructions.

21 Jan 2026, 5:35 PM
#389
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Ceon URI Mapping V5.0

just logged in to say thanks Torvista, just applied this as an upgrade from 1.5.8 to a 2.2alpha running php8.4 and works straight away.
Been running this module since the beginning, can't believe its been so long since Conor passed. Still a lot of his great code in my site, just requiring the odd tweaks as the php versions go up.

J

22 Jan 2026, 9:32 AM
#390
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 the thanks, GitHub now has a branch with stricter code, no fixes or functionality changes, to tighten things up before php does.

19 May 2026, 4:59 PM
#391
nl2dav avatar

nl2dav

New Zenner

Join Date:
Jan 2005
Posts:
55
Plugin Contributions:
0

Re: Ceon URI Mapping V5.0

after upgrading ZenCart 2.1 -> 2.2.2;

[19-May-2026 10:21:24 Europe/Amsterdam] Request URI: /admin/index.php?cmd=product&cPath=536&pID=86464&action=new_product_preview&page=25, IP address: x.x.x.x, Language id 4
#0 /includes/classes/class.CeonString.php(24): zen_debug_error_handler()
#1 /includes/classes/class.CeonString.php(24): require_once()
#2 /includes/classes/class.CeonURIMappingAdmin.php(585): require_once('...')
#3 /includes/classes/class.CeonURIMappingAdminCategoriesProducts.php(124): CeonURIMappingAdmin->_convertStringForURI()
#4 /includes/classes/class.CeonURIMappingAdminProducts.php(221): CeonURIMappingAdminCategoriesProducts->autogenCategoryOrProductURIMapping()
#5 /admin/includes/classes/class.CeonURIMappingAdminProductPages.php(405): CeonURIMappingAdminProducts->autogenProductURIMapping()
#6 /admin/includes/classes/observers/class.CeonURIMappingAdminProductsObserver.php(70): CeonURIMappingAdminProductPages->productPreviewProcessSubmission()
#7 /includes/classes/traits/NotifierManager.php(112): CeonURIMappingAdminProductsObserver->update()
#8 /admin/product.php(29): base->notify()
#9 /admin/index.php(16): require('...')
--> PHP Warning: require_once(/includes/classes/class.Transliteration.php): Failed to open stream: No such file or directory in /includes/classes/class.CeonString.php on line 24.

which is logical because "Transliteration" got removed from ZenCart 2.2.2. Does it needs to be reinitiated for Ceon purposes or what is going to be the approach?

edit: my bad.. Transliteration seemed to be part of Ceon itself; https://github.com/torvista/Zen_Cart-CEON_URI_Mapping/tree/main/files/includes/classes but for some reason it doesnt have the Ceon suffix

19 May 2026, 5:09 PM
#392
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

...becaues it was originally lifted from Drupal.