browneyedgirl Posted September 7, 2015 Share Posted September 7, 2015 I did a backup of my files before reinstalling cubecart v 6.06. I do not want to do a restore because I made changes to various files. However, I would like to copy and paste the information that I had written for my Contact us form - Except, I cannot seem to find where the text is stored! - I have looked in the sql database file (where the "About us, terms and conditions, privacy" text seems to be added). But there is nothing for Contact us. To be clear here is the path I am referring to in Cubecart.From File Manager-> Contact Form ->Content Tab -> There is a text window that I can update Where does this text get stored? Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 7, 2015 Share Posted September 7, 2015 The overall admin form is an admin skin template at /templates/documents.contact.php. The customer sees the current skin template at /templates/content.contact.php.The content of the rich text editor is a base64 encoded string with the config key ['description'] in the Contact_Form array that is base64 encoded and saved in the CubeCart_config table. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted September 8, 2015 Share Posted September 8, 2015 I've had good success using http://www.base64decode.org/ to decode the base64 sections, edit them, and then encoding back into phpMyAdmin. If you have a backup of your database you should be able to retrieve your contact content. Quote Link to comment Share on other sites More sharing options...
browneyedgirl Posted September 8, 2015 Author Share Posted September 8, 2015 thanks so much bsmither. You are a wealth of knowledge. I found the file and used an online decoder but only the first set of words is visible. after that, it is still garbled. I used the exact same method on the new version of the database and it decoded no problem - not sure why the original string is not decoding in the same way. Atleast now I know that it is an encoded string and won't waste time searching for a string that doesn't exist in the way I would expect Your help is much appreciated. Quote Link to comment Share on other sites More sharing options...
browneyedgirl Posted September 8, 2015 Author Share Posted September 8, 2015 Dirty Butter, Thanks for the link to the decoder. I had tried a different one and it didn't decode properly. using the link you provided, I was able to see the text with no problem. Between input from you and Bsmither, my problem is resolved! Thanks so much! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.