twistedsymphony Posted April 25, 2021 Share Posted April 25, 2021 Last November I opened this issue: https://github.com/cubecart/v6/issues/2698 (related: https://github.com/cubecart/v6/issues/2703) The issue occurred after upgrading from 6.2.9 to 6.4.1 (upgrade was performed via the dashboard, so I never manually touched any files). I'm currently on 6.4.2 (again upgraded via dashboard) and I'm still having this issue, but I see it's marked as closed. What do I need to do to install this fix? I've been writing out the product options by hand and I really need this fixed. Any help would be appreciated. Link to comment Share on other sites More sharing options...
bsmither Posted April 25, 2021 Share Posted April 25, 2021 Please refresh our memory by mentioning exactly where the hashed string of product options are appearing. Link to comment Share on other sites More sharing options...
twistedsymphony Posted April 27, 2021 Author Share Posted April 27, 2021 On the order summary page: it also appears like this when printing the summary page. it looks correct on the order inventory page as you can see above, and is also correct on the public facing product page. it's only incorrect on the summary page/summary page print out. Link to comment Share on other sites More sharing options...
twistedsymphony Posted May 2, 2021 Author Share Posted May 2, 2021 Can anyone help? Link to comment Share on other sites More sharing options...
bsmither Posted May 3, 2021 Share Posted May 3, 2021 I will be having you check for the correct version of a few files. Be back soon. Link to comment Share on other sites More sharing options...
bsmither Posted May 3, 2021 Share Posted May 3, 2021 From the image you posted above, the Order Summary screen, Overview tab, in the table listing the items, I see that the name of the product (Fenrir SD Card Mount) is not a link. See: https://github.com/cubecart/v6/issues/2500 This was implemented in CC640. So, if your admin skin template file orders.index.php, near line 177, does not show HTML link code, I would suspect that the admin folder is still partly or completely at the CC629 version. Another file to look at: the admin skin template filemanager.index.php, near line 114, has code that sets up a streamable download. {if $STREAMABLE} <div><label for="stream">{$LANG.filemanager.stream}</label><span><input type="hidden" name="details[stream]" id="stream" value="{$FILE.stream}" class="toggle"></span></div> <div><label for="title">{$LANG.filemanager.title}</label><span><input type="text" id="title" name="details[title]" class="textbox" value="{$FILE.title}"></span></div> <div><label for="description">{$LANG.common.description}</label><span><textarea name="details[description]" id="description" class="textbox">{$FILE.description}</textarea></span></div> {/if} If this is not in the file, I would suspect that the admin folder is still partly or completely at the CC629 version. Link to comment Share on other sites More sharing options...
bsmither Posted May 3, 2021 Share Posted May 3, 2021 This issue caused the 'product_options' value in the CubeCart_order_inventory to be base64 encoded. https://github.com/cubecart/v6/issues/2562 So, I believe that at least the /classes/ folder got updated (probably everything did), but your site is still using the admin codebase of a version of CubeCart prior to CC640. Link to comment Share on other sites More sharing options...
twistedsymphony Posted May 4, 2021 Author Share Posted May 4, 2021 how do I fix that? do I just overwrite the admin folder files? Also, how did that happen by using the built in update functionality? Link to comment Share on other sites More sharing options...
bsmither Posted May 4, 2021 Share Posted May 4, 2021 Did we verify that the main folder CubeCart is in has only one folder that starts with admin? Or are there, perhaps, a folder named admin and another folder named admin_hAsHeD where hAsHeD is a series of random letters? Link to comment Share on other sites More sharing options...
twistedsymphony Posted May 4, 2021 Author Share Posted May 4, 2021 there is an "admin" folder and there is 1 "admin_xxxxxx" folder. Link to comment Share on other sites More sharing options...
bsmither Posted May 4, 2021 Share Posted May 4, 2021 So, we need to determine which of these admin folders has the latest version of the two above mentioned files. Please examine the pair of files from /admin/ and /admin_xxxxxx/. Which folder has the HTML link code in orders.index.php and the $STREAMABLE code in filemanager.index.php? Link to comment Share on other sites More sharing options...
twistedsymphony Posted May 4, 2021 Author Share Posted May 4, 2021 admin/skins/default/templates/filemanager.index.php -found $STREAMABLE on line 116 admin/skins/default/templates/orders.index.php found on line 179: <a href="?_g=products&action=edit&product_id={$product.product_id}">{$product.name}</a> admin_xxxxxx/skins/default/templates/filemanager.index.php -cannot find $STREAMABLE admin_xxxxxx/skins/default/templates/orders.index.php - on line 171 has just {$product.name} with no href Link to comment Share on other sites More sharing options...
bsmither Posted May 4, 2021 Share Posted May 4, 2021 We can conclude that /admin_xxxxx/ is the CC629 version, and /admin/ is the CC642 version. What I would like for you to do is: Rename folder: admin_xxxxxx To: ignore_xxxxxx Rename folder: admin To: admin_xxxxxx Force your browser to reload all page resources. This is usually done with CTRL-F5. This will make sure that that browser has the latest version of the admin javascript file. Link to comment Share on other sites More sharing options...
twistedsymphony Posted May 4, 2021 Author Share Posted May 4, 2021 That's worked perfectly. Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.