Re: Ceon URI Mapping v4.x
PHP 7.3.0
Error is
[10-Jan-2019 19:48:38 Europe/Berlin] PHP Fatal error: Cannot use 'String' as class name as it is reserved in ..\includes\classes\class.String.php on line 57
line 57 is class String
How to fix?
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
diptimoy
PHP 7.3.0
Error is
[10-Jan-2019 19:48:38 Europe/Berlin] PHP Fatal error: Cannot use 'String' as class name as it is reserved in ..\includes\classes\class.String.php on line 57
line 57 is class String
How to fix?
My suggestion would be to look at the github repo provided by torvista, though since you are on php 7.3, would mostly expect the version downloadable from this website to work with a possible modification as described in the last couple of pages.
Back when the code was developed, it was possible to use a class that had the same name as what has become a restricted (reserved) word. The class and all references to it need to be modified away from string, which I would think would become ceon_string instead, but may have become something else for now...
Re: Ceon URI Mapping v4.x
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
diptimoy
Thanks a lot
Not sure what happened to the remainder of the original message but to perform miniimal modification to the software I added into includes/classes/class.CeonURIMappingAdminProducts.php
At line 31:
Code:
define('CEON_URI_MAPPING_GENERATION_ATTEMPT_FOR_PRODUCT_WITH_NO_MODEL',##-3);
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
diptimoy
Thanks a lot
Not sure what happened to the remainder of the original message but to perform miniimal modification to the software I added into includes/classes/class.CeonURIMappingAdminProducts.php
At line 31:
Code:
define('CEON_URI_MAPPING_GENERATION_ATTEMPT_FOR_PRODUCT_WITH_NO_MODEL',##-3);
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
mc12345678
Not sure what happened to the remainder of the original message but to perform miniimal modification to the software I added into includes/classes/class.CeonURIMappingAdminProducts.php
At line 31:
Code:
define('CEON_URI_MAPPING_GENERATION_ATTEMPT_FOR_PRODUCT_WITH_NO_MODEL',##-3);
Thanks for all.
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
mc12345678
Not sure what happened to the remainder of the original message but to perform miniimal modification to the software I added into includes/classes/class.CeonURIMappingAdminProducts.php
At line 31:
Code:
define('CEON_URI_MAPPING_GENERATION_ATTEMPT_FOR_PRODUCT_WITH_NO_MODEL',##-3);
Note that because of my browser, #'s were inadvertently added to the above, the code should be without the #'s, like hopefully below will appear:
Code:
define('CEON_URI_MAPPING_GENERATION_ATTEMPT_FOR_PRODUCT_WITH_NO_MODEL', -3);
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
mc12345678
Note that because of my browser, #'s were inadvertently added to the above, the code should be without the #'s, like hopefully below will appear:
Code:
define('CEON_URI_MAPPING_GENERATION_ATTEMPT_FOR_PRODUCT_WITH_NO_MODEL', -3);
Oho , OK , I will fix in my end
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
diptimoy
Oho , OK , I will fix in my end
I'm glad I said something.
Browser sometimes adds "invisible" characters when copy/pasting that get turned into #'s after posting. Seeing their presence in your response brought me back here to correct it.
Re: 500 error, ZC 1.5.6 and CEON 4.5.5
mc12345678,
Is this version compatable with ZenCart 1.5.6?