Yes! That fixes it. Thanks very much webchills! I thought Merkmale was German. I even changed all the instances of 'merkmale' to 'categories' but it obviously didn't work.
Yes! That fixes it. Thanks very much webchills! I thought Merkmale was German. I even changed all the instances of 'merkmale' to 'categories' but it obviously didn't work.
I have installed Ceon URI Mapping ver 4.5.3 in ZC ver 1.5.5f over PHP 7.0
In admin EZpages, entering a new or updating a page there are defined variables TEXT_ALT_PAGE_KEY and TEXT_ALT_PAGE_KEY_EXPLAIN. However I cannot find the define statements for these (I have checked earlier versions of URI Mapping and also ZC and they do not show in ezpages.php). The code is in MODIFIED CORE FILES/admin/ezpages.php from line 480:
Any ideas what this is please?Code:<td class="main" valign="top"><?php echo TEXT_ALT_PAGE_KEY; ?></td> <td class="main" valign="top"><?php echo zen_draw_input_field('page_key', $ezInfo->page_key, 'size="100"'); echo '<br />' . TEXT_ALT_PAGE_KEY_EXPLAIN; ?></td> </tr> <?php // BEGIN CEON URI MAPPING 4 of 4 echo $ceon_uri_mapping_admin->buildEZPageURIMappingFields(); // END CEON URI MAPPING 4 of 4 ?>
Based on that review, it would appear that the other "code" is additional left-over code from some other installation that has been merged into the fileset provided to the Zen Cart site. Note that the files historically only include the additional content needed to implement the plugin as seen in the start/end comments. Anything outside of those comments that is different is generally not related to the plugin(s) originally issued by the late Conor Kerr of Ceon. Also note that there appears to be two sets of the 4.5.3 version which is different between the two. Torvista has/had been maintaining files that are now different than what webchills has uploaded.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Yes this was in the latest update from webchills. The last update from Torvista is on Github and does not include any changes to ezpages.php.
I shall comment out the spurious lines for the time-being.
Many thanks for your help mc12345678
Just delete the following as it is not needed:
It is coming from the German Zen Cart version which is in many ways different from the american version and I forgot to remove this section when porting the original German version over. This should be the last leftover code, the other one is in collect_info.php as described few posts above. All sections which are added or modified for CEON URI Mapping are always clearly commented.Code:<tr> <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td class="main" valign="top"><?php echo TEXT_ALT_PAGE_KEY; ?></td> <td class="main" valign="top"><?php echo zen_draw_input_field('page_key', $ezInfo->page_key, 'size="100"'); echo '<br />' . TEXT_ALT_PAGE_KEY_EXPLAIN; ?></td> </tr>
It does include changes, but the latest fileset needing changes in it appears to only have been ZC 1.5.5b (it appears that other changes to ZC since then have not affected the files applicable to operation of this plugin.) the associated modified admin files as at one time updated by Torvista to apply to at least ZC 1.5.5b can be seen here: https://github.com/torvista/CEON-URI...5b/ADMIN_YOURS
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
I installed CEON URI Mapping 4.5.4 for Zen Cart 1.5.5 in a fresh test installation of 1.5.5f.
I ran the sql update successfully and verified the tables have been created.
I renamed my admin folders to zcadmin in both MODIFIED CORE FILES and NEW FILES and allowed overwrites where prompted.
I followed Step 4:
4)
Log in to Zen Cart Administration and click on any menu item.
You should now have the new menu item CEON URI Mapping (SEO) Configuration under Modules.
Click on it, you should see success messages that the module has been successfully installed
However, when I click on the new menu item, I get a 'Page Isn't Working' error.
I even uploaded the files again just to be sure nothing happened while transferring the first time.
Any thoughts?
See attached screenshots.
Thanks.
Attachment 17918Attachment 17919Attachment 17920
I checked my error logs and found this:
[16-Jun-2018 11:07:29 America/Chicago] PHP Parse error: syntax error, unexpected '?' in /admin/includes/classes/class.CeonURIMappingInstallOrUpgrade.php on line 463
I have no idea what to do.
PHP Code:
461 $fallback_defines = array(
462 'product_reviews' =>
463 $default_uri_parts[$default_language_code]['product_reviews'] ?? $default_uri_parts['en']['product_reviews'] ?? 'Reviews',
464 'product_reviews_info' =>
465 $default_uri_parts[$default_language_code]['product_reviews_info'] ?? $default_uri_parts['en']['product_reviews_info'] ?? 'Review',
466 'product_reviews_write' =>
467 $default_uri_parts[$default_language_code]['product_reviews_write'] ?? $default_uri_parts['en']['product_reviews_write'] ?? 'Write a Review'
Change this section to:
Code:$fallback_defines = array( 'product_reviews' => isset($default_uri_parts[$default_language_code]['product_reviews']) ? $default_uri_parts[$default_language_code]['product_reviews'] : isset($default_uri_parts['en']['product_reviews']) ? $default_uri_parts['en']['product_reviews'] : 'Reviews', 'product_reviews_info' => isset($default_uri_parts[$default_language_code]['product_reviews_info']) ? $default_uri_parts[$default_language_code]['product_reviews_info'] : isset($default_uri_parts['en']['product_reviews_info']) ? $default_uri_parts['en']['product_reviews_info'] : 'Review', 'product_reviews_write' => isset($default_uri_parts[$default_language_code]['product_reviews_write']) ? $default_uri_parts[$default_language_code]['product_reviews_write'] : isset($default_uri_parts['en']['product_reviews_write']) ? $default_uri_parts['en']['product_reviews_write'] : 'Write a Review' );
Hi there,
We've been using ZC 1.51 with Ceon URI Mapping 4.4.1 for several years, has worked perfectly for us. We wanted to add a new category with new products and decided to "recycle" an existing category on our site that is no longer needed. So we just re-named the old category with the new category name - and then followed suit with product names in that category. We've actually done this before with no issues.
This time however, looks like the old, original URL's (before being recycled) have memory - so even though we update to a new URL for a new product, there are appended characters like "?cpath=100" at the end of the new URL. Since there's no reason for this to be there, looks like the URL is retaining something from its past even after being recycled.
We ended up deleting the new products and the new category created - and just build the new category and products fresh without recycling. But now, it won't give us the new category name we originally wanted - even though that category and products were deleted. An error message states the category already exists and there's a mapping conflict - despite category and products already deleted.
After going through sections of this thread and no clear solution, decided to try finding the category name in the database, to delete, so we can use it and just add the new category and new products, but the category name is nowhere to be found in the Ceon URI section of the db. In fact, the db doesn't show any recent activity of URLs being created.
Would be grateful if anyone has a solution to this problem, many thanks!
Bookmarks