Re: Ceon URI Mapping V5.1.1
Quote:
Originally Posted by
torvista
If you are using the updated version from my Github, please detail the problem in an issue there.
Quote:
[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
Re: Ceon URI Mapping V5.1.1
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.
Re: Ceon URI Mapping V5.1.1
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..._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.
Re: Ceon URI Mapping V5.1.1
Quote:
Originally Posted by
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.