Jump to content

Product Option Serialization Issue


Recommended Posts

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

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:


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.

  <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 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

This issue caused the 'product_options' value in the CubeCart_order_inventory to be base64 encoded.


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

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

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

-found $STREAMABLE on line 116

found on line 179: <a href="?_g=products&action=edit&product_id={$product.product_id}">{$product.name}</a>

-cannot find $STREAMABLE

- on line 171 has just {$product.name} with no href

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...