The 2.1 code is the same, but I imagine if you just add
$html_output_mods_present = true;
after the snippet you have posted, it will override that check and continue on it's merry way none the wiser.
Printable View
The 2.1 code is the same, but I imagine if you just add
$html_output_mods_present = true;
after the snippet you have posted, it will override that check and continue on it's merry way none the wiser.
v1.5.7b CEON V.5.0.0 PHP 7.4.13
I'm having an issue when adding a new product. Initially upon preview I see the ceon mapping uri shown - if I go back to make any ammendments to the page then preview it again the ceon uri mapping disappears and the box that normally shows that uri states no mapping.
I noticed an error show up (have error logs plugin installed - great app) so this is what it showed - I can only assume it was thrown due to the situation described however I reapeated the process and got the same error.
Any assistance would be appreciated.
cheers,
Mike
Code:[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 118
[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 135
[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 143
[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 167
[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 169
[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 169
[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 171
[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 172
[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 172
[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 174
[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 175
[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 175
[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 175
[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 177
[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 178
[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 178
[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 179
[26-Jan-2021 14:03:55 Australia/Sydney] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /includes/classes/class.Transliteration.php on line 179
Yes v.5.0.0 as per my first post.
I was also taken aback .... and yes I did change the PHP version from 7.4 to 7.3 before I read your post - subsequently the problem still exists without that error being thrown, so obviously it is something else.
Here is another hint possibly, maybe not - worked fine when I created a new product earlier - then I wanted to check Sitemaps - found that SiteMapXML wasn't listed under admin/configuration or admin/tools so I checked admin/modules/plugin manager and it showed to my shock that SiteMapXML v.4.0 wasn't installed which it previously was, so I clicked install and it returned. The only change at all to SiteMapXML was to a file in this post https://www.zen-cart.com/showthread....49#post1377049 - after making that change all was fine.
I have not made any changes at all to any files in ZC or plugins since then (22/1).
So then I had to reconfigure SiteMapXML in accordance with this in the CEON installation readme;
As I said - still the problem exists - my workaround at present is to manually generate each url, i.e. untick the auto generate box type it in.HTML Code:OPTIONAL but RECOMMENDED] Configure the SitemapXML (formerly “Google Sitemap”) Module
If the store uses the SitemapXML (Google Sitemap) module, it needs to be configured to work better with static URIs.
Otherwise, the store's rankings may be penalised because of links in the sitemap redirecting to other links.
Go to Configuration > Sitemap XML in the Zen Cart Admin.
Newer versions of the module have the option “Using parameter language in links”. If this option exists, make sure to set it to “false”.
Older versions of the module have the option “Generate language_id for default language”. If this option exists, make sure to set it to “false”.
cheers, Mike
Again I am unsure as to whether this error has any bearing on the reported issue - found this when fighting my way through 3099 error files before deleting them carte blanche (99.9% of them generated by a code issue with IH5 in how it handles SiteMapXML 4.0) . The first instance of this error was on 25-Jan-2021 09:00:00 and the last one was the one below;
Code:[25-Jan-2021 16:48:59 Australia/Sydney] Request URI: /dazzlers/index.php?cmd=orders&page=1&oID=550&action=update_order&language=en, IP address: 115.166.19.58
#1 CeonURIMappingLinkBuildAdmin->updateNotifySEFUInterceptAdmcathref() called at [/home2/dazzler3/public_html/includes/classes/class.base.php:118]
#2 base->notify() called at [/home2/dazzler3/public_html/dazzlers/includes/functions/html_output.php:71]
#3 zen_catalog_href_link() called at [/home2/dazzler3/public_html/includes/classes/observers/CheckoutOneEmailObserver.php:79]
#4 CheckoutOneEmailObserver->update() called at [/home2/dazzler3/public_html/includes/classes/class.base.php:118]
#5 base->notify() called at [/home2/dazzler3/public_html/includes/functions/functions_osh_update.php:89]
#6 zen_update_orders_history() called at [/home2/dazzler3/public_html/dazzlers/orders.php:254]
#7 require(/home2/dazzler3/public_html/dazzlers/orders.php) called at [/home2/dazzler3/public_html/dazzlers/index.php:11]
--> PHP Warning: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' (this will throw an Error in a future version of PHP) in /home2/dazzler3/public_html/dazzlers/includes/classes/observers/class.CeonURIMappingLinkBuildAdmin.php on line 46.
[25-Jan-2021 16:48:59 Australia/Sydney] Request URI: /dazzlers/index.php?cmd=orders&page=1&oID=550&action=update_order&language=en, IP address: 115.166.19.58
#1 CeonURIMappingLinkBuildAdmin->updateNotifySEFUInterceptAdmcathref() called at [/home2/dazzler3/public_html/includes/classes/class.base.php:118]
#2 base->notify() called at [/home2/dazzler3/public_html/dazzlers/includes/functions/html_output.php:71]
#3 zen_catalog_href_link() called at [/home2/dazzler3/public_html/includes/classes/observers/CheckoutOneEmailObserver.php:80]
#4 CheckoutOneEmailObserver->update() called at [/home2/dazzler3/public_html/includes/classes/class.base.php:118]
#5 base->notify() called at [/home2/dazzler3/public_html/includes/functions/functions_osh_update.php:89]
#6 zen_update_orders_history() called at [/home2/dazzler3/public_html/dazzlers/orders.php:254]
#7 require(/home2/dazzler3/public_html/dazzlers/orders.php) called at [/home2/dazzler3/public_html/dazzlers/index.php:11]
--> PHP Warning: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' (this will throw an Error in a future version of PHP) in /home2/dazzler3/public_html/dazzlers/includes/classes/observers/class.CeonURIMappingLinkBuildAdmin.php on line 46.
[25-Jan-2021 16:48:59 Australia/Sydney] Request URI: /dazzlers/index.php?cmd=orders&page=1&oID=550&action=update_order&language=en, IP address: 115.166.19.58
#1 CeonURIMappingLinkBuildAdmin->updateNotifySEFUInterceptAdmcathref() called at [/home2/dazzler3/public_html/includes/classes/class.base.php:118]
#2 base->notify() called at [/home2/dazzler3/public_html/dazzlers/includes/functions/html_output.php:71]
#3 zen_catalog_href_link() called at [/home2/dazzler3/public_html/includes/functions/functions_osh_update.php:119]
#4 zen_update_orders_history() called at [/home2/dazzler3/public_html/dazzlers/orders.php:254]
#5 require(/home2/dazzler3/public_html/dazzlers/orders.php) called at [/home2/dazzler3/public_html/dazzlers/index.php:11]
--> PHP Warning: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' (this will throw an Error in a future version of PHP) in /home2/dazzler3/public_html/dazzlers/includes/classes/observers/class.CeonURIMappingLinkBuildAdmin.php on line 46.
[25-Jan-2021 16:48:59 Australia/Sydney] Request URI: /dazzlers/index.php?cmd=orders&page=1&oID=550&action=update_order&language=en, IP address: 115.166.19.58
#1 CeonURIMappingLinkBuildAdmin->updateNotifySEFUInterceptAdmcathref() called at [/home2/dazzler3/public_html/includes/classes/class.base.php:118]
#2 base->notify() called at [/home2/dazzler3/public_html/dazzlers/includes/functions/html_output.php:71]
#3 zen_catalog_href_link() called at [/home2/dazzler3/public_html/includes/functions/functions_osh_update.php:136]
#4 zen_update_orders_history() called at [/home2/dazzler3/public_html/dazzlers/orders.php:254]
#5 require(/home2/dazzler3/public_html/dazzlers/orders.php) called at [/home2/dazzler3/public_html/dazzlers/index.php:11]
--> PHP Warning: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' (this will throw an Error in a future version of PHP) in /home2/dazzler3/public_html/dazzlers/includes/classes/observers/class.CeonURIMappingLinkBuildAdmin.php on line 46.
Ok, so first, allow me to apologize because as it stands, there is no historical information in this thread related to something I specifically identified some time in the last week or so. The current version of this software (at my last check/install) is 5.1.0.
I recall posting about its existence and a response from you about possibly going to it if there were any issues, but you had identified successfully installing 5.0.0 and hadn't identified any issues with it and would consider using the newest version when/if a problem was identified.
But, it appears that a moderator has modified the contents of this forum and that history included discussion of version 5.1.0. So, my previous response was based on the consideration that it would be/was "easy" to see that a newer version existed.
So, while it is unfortunate that history/info was removed, on a personal side and in my limited bubble, I'm perturbed, I also understand that the absence of that written word could contribute to the situation.
So, again, my recommendation because it appears that version 5.0.0 was released sometime between the release of ZC 1.5.6b and 1.5.6c back in May 2019 (based on the first post of this forum thread) that the latest copy be obtained and installed.
I would expect the forum download area to contain that latest version but I've also seen in use of the plugin that it identifies the existence of a newer version when one is available. While I don't know for sure, I would think that those issues may be addressed in the latest copy or at least issues that had been identified would be addressed.
Hello mc12345678 - so I did search the other day when you mentioned that you thought a 5.1.0 version was available however I didn't find it - I have searched again subsequent to your response above and to no avail - searched within ZC Plugins using various keywords and also did a Google search. If you manage to stumble upon it again then a link to it in here would be appreciated.
I was happy with the install of v5.0.0 when I first installed it but at that time I hadn't tried to add new products to the site - so far it is the only aspect I've encountered that is problematic.
I will in the morning try to contact CEON for some advice regarding an updated version albeit I'm not seeing any advice either within the plugin as you noted.
cheers,
Mike
Decided to contact CEON tonight - FYI this is a copy of the email I sent them viia their website.
HTML Code:Hello, I hope this finds you well and safe in these trying times. My inquiry is to do with CEON URI Mapping version 5.0.0 which I have recently installed on ZC Version 1.5.7b (latest).
It is working well but with one issue related to adding a new product whereby even with the auto generate uri mapping ticked and then proceeding to 'preview' there is no CEON URI generated.
At the bottom of the product page review the box which would contain the URI has 'uri mapping not generated' in it.
I am by default having to create my own URI in the CEON format on the initial page for creating a new product by typing it in manually - very time consuming when one has hundreds of products to add not to mention fraught with danger of making a typo.
Someone in the forum indicated they thought a version 5.1.0 was available but I cannot find it anywhere.
In conclusion I, and other users of CEON URI Mapping who have transitioned to the latest Zen Cart version would appreciate any assistance you can provide to resolve this issue.
kind regards,
Mike O'Shannessy