Jump to content

Home page source code changed and now missing script


cnewell

Recommended Posts

Recently I was in Documents under File Management adding the Title to my Home page and upon saving, the entire source code changed and the script for scrolling pictures disappeared.  How does this happen? 

 

Freaking out, I went to Maintenance and restored from a save I made a few days earlier and the source code was gone from there also.  What is happening?

 

Here's what it's telling me.  This all started when I tried to upgrade to the newer version but it did not take. 

 

----- Restore Log from files_5.1.4_06Nov13-112754.zip (06 Nov 2013 - 11:54:37) -----

cache/skin/edfb20219e5728ce87819900fccdea9cc9c91469.file.box.documents.php.php of 2678102764 checksum doesn't match new version of 3339700084.
cache/skin/fcb0730a1d62f1060513016e320fef92dbbe4d25.file.content.document.php.php of 4175865246 checksum doesn't match new version of 925011837.
cache/skin/0c06b76c5f9b6624965a4be1bf30fa8bac245a83.file.box.language.php.php of 2344053742 checksum doesn't match new version of 3022776150.
cache/skin/237c1d68d5563cb3cb2f37f5c9ef1d9621dca26a.file.box.basket.php.php of 4198100591 checksum doesn't match new version of 1365688455.
cache/skin/5afceed567f45f63ade87aa7d1073b1b5d200127.file.box.session.php.php of 2366979368 checksum doesn't match new version of 2693694614.
cache/skin/7a8242cf14c05149796977cf7618960ffff3329a.file.box.search.php.php of 1946130538 checksum doesn't match new version of 2957692774.
cache/skin/7e4cf8bd10873785220b41cbdacb75ce7099fadc.file.box.newsletter.php.php of 3706715121 checksum doesn't match new version of 2792069701.

Link to comment
Share on other sites

Welcome cnewell! Glad to see you made it to the forums.

 

"Upon saving, the entire source code changed and the script for scrolling pictures disappeared.  How does this happen?"

 

I have no answer based on experience, but I have a suspicion that the rich text editor, by default, does not permit javascript tags to be saved. This is just a suspicion with absolutely no experience to confirm it.

 

The files you listed are from the cache and (in my opinion) should not have been included in the backed up.

 

Do you recall how you added the script for scrolling pictures, or is this a feature of a third-party skin?

Link to comment
Share on other sites

bsmither,

 

Thank you for your reply. 

 

I'm a biz owner that the actual programmer flaked on and I was trying to patch together the missing pieces as he is know were to be found and apparently sold my account to a local programmer that had issues with that programmer also and fired him.  I'm being held ransom for a repair at an un-quotable fix rate.  Just what I tried to void when I originally hired the first guy.  And don't get me wrong, I was totally happy with the first one and settled just wanted a few changed several months into when I found all this out and the story behind it.  Apparently he signed my account over and a non-compete which is why I presume he is not calling back.  Okay, sob story over, on to the fix.

 

The first web I ever built was through storesonline when you literally had to know HTML so I figured I knew enough to stay away from some of the script in the source code.  Which I had successfully done for many additions of simple text and text placement.  When I started this process I should have copied and pasted the original (but didn't).  So long story short, Yes.  There was a long line of script when I looked at the source code of the document but I could never figure out were the pictures were stored because not all of them were not in the sites Images folder. 

 

So, because I could not split the paragraph and add what I wanted to the "content" tab of the document I was forced to open "source" and manipulate there.  That's when I got all harry.   Many changes were made successfully until one deletion of a "bold" format and I lost the entire scrolling script.  Here's the funny thing, that did not change the homepage other than wipe out the text I had managed to move to above the scrolling pictures.  It still was visually functioning for almost 5 days (6th -11th) here is what that one deletion of my <b> command did . 

 

<h6 style="text-align: justify;">
 &nbsp;</h6>
<h6>
 <span style="font-size: 6px;"><b accessories="" adding="" additives="" aerosol="" align="justify" all="" allow="" an="" and="" any="" applicator="" areas="" b="" be="" bennefits="" best="" by="" caliber="" called="" care="" coat="" combination="" conditions="" designed="" development="" div="" drop="" efforts="" encountered="" expanded="" exterior="" firearm.="" firearms="" firearms.="" flagship="" for="" formula="" gun="" h6="" harm="" in="" initially="" is="" large="" lubricant="" masters="" match="" misting="" of="" offering="" ogs-3.="" oil="" or="" our="" pls-4="" product="" products="" proprietary="" protect="" protectantr="" protection="" provide="" right="" small="" spray="" started="" stocks.="" style="color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans-serif;" synthetic="" tailored="" that="" the="" to="" unique="" wear="" with="" without="" wooden="" your=""><span style="font-size: 6px;">&nbsp;</span></b></span></h6>
<div align="center">
 <span style="font-size: 6px;"><b accessories="" adding="" additives="" aerosol="" all="" allow="" an="" and="" any="" applicator="" areas="" b="" be="" bennefits="" best="" by="" caliber="" called="" care="" coat="" combination="" conditions="" designed="" development="" drop="" efforts="" encountered="" expanded="" exterior="" firearm.="" firearms="" firearms.="" flagship="" for="" formula="" gun="" h6="" harm="" in="" initially="" is="" large="" lubricant="" masters="" match="" misting="" of="" offering="" ogs-3.="" oil="" or="" our="" pls-4="" product="" products="" proprietary="" protect="" protectantr="" protection="" provide="" right="" small="" span="" spray="" started="" stocks.="" style="color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans-serif;" synthetic="" tailored="" that="" the="" to="" unique="" wear="" with="" without="" wooden="" your=""><span style="font-size: 6px;">&nbsp;</span></b></span>
 <h6>
  <span style="font-size: 6px;"><b accessories="" adding="" additives="" aerosol="" all="" allow="" an="" and="" any="" applicator="" areas="" b="" be="" bennefits="" best="" by="" caliber="" called="" care="" coat="" combination="" conditions="" designed="" development="" drop="" efforts="" encountered="" expanded="" exterior="" firearm.="" firearms="" firearms.="" flagship="" for="" formula="" gun="" h6="" harm="" in="" initially="" is="" large="" lubricant="" masters="" match="" misting="" of="" offering="" ogs-3.="" oil="" or="" our="" pls-4="" product="" products="" proprietary="" protect="" protectantr="" protection="" provide="" right="" small="" span="" spray="" started="" stocks.="" style="color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans-serif;" synthetic="" tailored="" that="" the="" to="" unique="" wear="" with="" without="" wooden="" your=""><span style="font-size: 6px;"><span style="font-size: 6px;"><b style="color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;"><span style="background-color: rgb(255, 255, 255);">Masters Gun Care Products are unique when compared with some other products currently on the market. Below is a brief description and summary of each product offered by Masters. When used in combination or alone, the end result is increased performance, easier clean-up and less corrosion and wear to your firearm.</span></b></span></span></b></span></h6>
 <p style="text-align: justify;">
  <span style="font-size: 6px;"><b a="" accessories="" adding="" additives="" aerosol="" all="" allow="" an="" and="" any="" applicator="" are="" areas="" around="" b="" be="" bennefits="" best="" by="" caliber="" called="" care="" coat="" combination="" competitively="" conditions="" corrosion="" designed="" development="" drop="" efforts="" encountered="" enforcement="" enthusiasts.="" expanded="" exterior="" firearm.="" firearms="" firearms.="" flagship="" for="" formula="" from="" gun="" gunsmith="" h6="" harm="" have="" in="" initially="" is="" large="" law="" line="" lubricant="" lubricating="" masters="" match="" misting="" of="" offering="" ogs-3="" ogs-3.="" oil="" oil.="" or="" our="" pls-4="" premium="" product="" products="" proprietary="" protect="" protectantr="" protection="" provide="" right="" rust="" s="" shooters="" small="" span="" spray="" started="" stocks.="" style="color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans-serif;" synthetic="" tailored="" that="" the="" to="" unique="" using="" we="" wear="" whether="" while="" with="" without="" wooden="" world="" you="" your=""><span style="font-size: 6px;"><span style="font-size: 6px;"><b style="color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small;"><span style="background-color: rgb(255, 255, 255);">Perhaps it&#39;s time you try Masters Gun Care Products </span></b></span></span></b></span></p>
 <h6 style="text-align: center;">
  <span style="font-size: 6px;"><b accessories="" adding="" additives="" aerosol="" all="" allow="" an="" and="" any="" applicator="" areas="" b="" be="" bennefits="" best="" by="" caliber="" called="" care="" coat="" combination="" conditions="" designed="" development="" drop="" efforts="" encountered="" expanded="" experience="" exterior="" firearm.="" firearms="" firearms.="" flagship="" for="" formula="" gun="" h6="" harm="" in="" initially="" is="" large="" lubricant="" masters="" match="" misting="" of="" offering="" ogs-3.="" oil="" or="" our="" p="" pls-4="" product="" products="" proprietary="" protect="" protectantr="" protection="" provide="" right="" small="" span="" spray="" started="" stocks.="" style="color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans-serif;" synthetic="" tailored="" that="" the="" to="" unique="" wear="" with="" without="" wooden="" your=""><span style="font-size: 6px;">&nbsp;</span></b></span></h6>
 <p style="text-align: justify;">
  <span style="font-size: 6px;"><b accessories="" adding="" additives="" aerosol="" all="" allow="" an="" and="" any="" applicator="" areas="" b="" be="" bennefits="" best="" by="" caliber="" called="" care="" coat="" combination="" conditions="" designed="" development="" drop="" efforts="" encountered="" expanded="" exterior="" firearm.="" firearms="" firearms.="" flagship="" for="" formula="" gun="" h6="" harm="" in="" initially="" is="" large="" lubricant="" masters="" match="" misting="" of="" offering="" ogs-3.="" oil="" or="" our="" pls-4="" product="" products="" proprietary="" protect="" protectantr="" protection="" provide="" right="" small="" span="" spray="" started="" stocks.="" style="color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans-serif;" synthetic="" tailored="" that="" the="" to="" unique="" wear="" with="" without="" wooden="" your=""><span style="font-size: 6px;">&nbsp;</span></b></span></p>
</div>
 

Now that's jibberish.  

 

But like I said the scrolling was still there, even though it was not in the source code.  Freaked out but still having pretty much the look I was happy with I dove into why the "Homepage" never had a title and, so I went back to the documents "General" tab and added a title and a URL that was always blank.   Saved, and that's when the scrolling went away for good.  Even when I went back to the "General" tab and removed the changes. 

 

So I simply grabbed the 11th backup thinking it would change back, but no such luck.  Thus my post on this forum.  

 

Lost and now disgruntled business owner.  I liked my website.  :(     I had just learned how to use Jotform to make the actual corrections I originally started out to make.  Should have left the whole thing alone.  The web functions just looks different.   

 

PS:  I did read on the forum that sometimes it takes 24hr for the site to update. That's why the span of days between changes.  I was waiting. 

 

Thank you for responding and reading the long winded story.   

Link to comment
Share on other sites

bsmither,

 

Your not going to believe this.  Impatient as I am, I just went back and restored a different backup dated 11Nov13 knowing the source code looked like what I just sent you. 

 

But I did lose my Facebook link on the left and my testimonials on the right.  But last time that happened, they came back in 24 hours or so hours.  I don't know. 

 

My scrolling pictures are back and the source code still looks like the jibberish I just showed you.  So I have know idea where the scrolling script went, where it's stored or why my site is back looking normal, (accept for the text that was above the scrolling pictures before I deleted the "Bold" attribute and turned it into jibberish.   

 

Confused but happier.  I'll go check my forms I had changed and continue on.  But rest assured, I'm done with messing with the home page.   For know.  It's hard to keep a curious mind away.   Oh' well.   Still will take your feed back if you want to give it.         

 

Thanks. 

Chris  

 

PS.  I'll be looking for another programmer and format. 

Link to comment
Share on other sites

Actually, what you see as gibberish is valid, albeit wickedly strange, HTML.

 

Considering I (we) do not know anything about the "scrolling pictures" or how it is implemented, I can reasonably assume all the extraneous stuff (gibberish) could be related to how the scrolling pictures operate.

 

"They came back in 24 hours or so hours."

 

CubeCart uses a cache system to keep rendered template pages -- just waiting for the data. It reduces the time taken to get a web page delivered to the browser. The cache system considers any cached template as 'expired' after 24 hours, and will render a fresh copy from the template source. When you are in the "hacking the HTML" phase of getting your store's appearance looking the way you want, there are two things you can do: turn off the caching system, and/or force a clearing of the cache.

 

In admin Store Settings, Advanced tab, you can enable/disable the caching system. The responsiveness of your store may get just a tad more sluggish, but any changes you make to a skin template is immediately visible.

 

In admin Maintenance, Rebuild tab, you can select which parts of the cache system you want to clear out. If something just doesn't look right, or isn't behaving as it should (which is not the same as how you expect it should), then generally, check all the boxes and click Submit.

 

The above is contingent on your server admins not having installed some sort of server-based caching system. Ask your hosting provider. Knowing this is good to know.

Link to comment
Share on other sites

bsmither,

 

Thanks for your knowledge.  Unfortunately, your advice has me a bit hesitant because I really am an amateur and you hit it in the head "Hacking the html".   It's nice to know the cache issue but I think I'll just let that be again because I'm not a pro.  I know hosting is by BlueHost but It's not my account, apparently I paid for a years worth.    

 

I do wish I knew why the left side bar (Facebook) is not back when the ride sidebar "testimonials" and "featured" did show up again a few minutes ago.  Maybe it will come back in 24 hours like last time.

 

I'm trying to figure out also why USPS shipping module does not always show up like the UPS does.  I really appreciate the rates on USPS and so do my customers.  Everything appears to be activated and I have never touched that module.  It just happens.  Maybe it's product specific.  I'm getting ready to ad more product and some merchandise, I will  take a look at that but if you have any advice, I'd appreciate it.  

 

Maybe also,  how do I change the navigation buttons (links to pages) on the right side bar.  When I tell the document to "show on the page" it appears at the bottom, not the side. 

 

Thanks so much.

 

Chris        

Link to comment
Share on other sites

"I'm trying to figure out also why USPS shipping module does not always show up."

 

There is a problem with CubeCart that causes USPS to not show any rate quotes. Unfortunately, considering your statements above, you may have to wait for CC525 to be released.

Link to comment
Share on other sites

bsmither,

 

Thank you again for the information.  Update.  I added a one line of text to the home page through the "content" tab Edit Document (not through the source code) and upon saving and refreshing, the scrolling screen totally vanished again.  The source code has the same gibberish as before (scrolling script missing as previous) so I waited for the 24 hours as you suggested about the function of the cache, but it never returned the scrolling screen.  I tried to restore previous saved copied I knew had it before but still scrolling screen.  I did however gain back the facebook and testimonials in the side bars.   I don't know, just frustrated. 

 

As for the USPS, It has worked in the past and stopped and worked and stopped.  Now it's not there, so waiting for the update not sure about.  Heck, I still have v5.1.4. and need to get v5.2.4 but not being the owner of the Cubecart account (rather a victim of a flaky programmer), I had many error messages when I tried to update to v5.2.4 and that's when the scrolling screen disappeared.  It came back when I converted back to v5.1.4. 

 

So I'm a little reluctant to update. 

 

I can't afford to be without a page at all.  I'm considering another builder and host even though I'm still tweaking this one.  I own another domain name that's pointing to www.mastersguncare.com currently.  This one is  mess al the way around.     

Link to comment
Share on other sites

bsmither,

 

Regarding the store Setting Advance cache.  Something tells me I'm not working with the skin template because I have no control over the side navigation "table of content" (if you will) and the social plugins for Facebook is turned off (X) plus the honeycomb back drop and logo never change. I have noticed that the "Find" button in the top left Search moves from below the "entry field" to just to the right of it and extends outside the rectangle. But it is now back where it belongs.  So If I'm doing something, I don't know it.   Yes the scrolling pictures script use to be in the "Source" before the gibberish.  So I really have no idea.  I just found where to find the different skins.  It's set to Mica and Default Admin Skin is "Default"   Mobile is off (X). 

 

Regarding Rebuild,  I don't want to lose any orders, contacts or inventory.  That rebuild and Database tabs look awful intimidating. 

Sorry to be a killjoy, I just wanted a site that looked batter and functioned better.  I have 2 other pricing tiers, that have been disabled because the original programmer has issues he blamed on the original script write. 

 

It looks like I need to either buy (think its free) my own Cubecart account or just have another website built.  I don't want to be a builder but this will be the 2nd time people make promises and don't deliver on all discussed.  I'm not a rich man. 

Link to comment
Share on other sites

Dirty Butter,

 

You have read other reply's so you know the situation.   I appreciate your comments:  I've been bouncing around restoring saved files.  Is there any way of telling which one have most recently restored?

 

The USPS module appears to be working now.  Event though the scrolling screen is still off.  But here is the info you requested. 

 

I have issues with not being able to provide you a 100 discount on both product or shipping.  It's either or.  I also use to be able to have you choose )Hand Deliver) to avoid shipping all together but still pay for product with a  credit card.  It's all jacked up.      

 

v5.1.4  (behind one) had troube with an upgrade and reverted back. 

Plug-in is "Discount Manger for Groups - GWorks Mod. 

www.mastersguncare.com

Payment gateways are - PayPal

Shipping methods are - UPS and USPS

 

 

Use ccprogrammer as a discount and if you accidently process an order, I'll make sure your credit card is refunded. (boy! that's a trust issue).      

 

Thanks.

Link to comment
Share on other sites

 

I've been bouncing around restoring saved files.  Is there any way of telling which one have most recently restored?

My FTP client allows me to choose which columns of data show, just as Windows does, and I have the Modified Date visible. Sort by that to see what you changed most recently. I also use Beyond Compare 3 to see the differences in file versions. There's a free trial period, fully functional I think.

 

I suspect it would be a good idea to disable, or perhaps completely remove, the GWorks mod and then try upgrading again, but please see what Bsmither says to do before considering that. Goober has been minus any customer service for a long time now - no idea why.

 

I'll poke around your site, and I imagine others will, too, hoping to spot the issues.

Link to comment
Share on other sites

Dirty Butter and Bsmither

,

There are other issues as well, the biggest being a 12 -15 second load time between pages and refresh rates in shopping cart.  CC or Bluehost.  USPS works when your logged in but not as a guest.  Plus some USPS (post cards) rates show up on items that weigh under a 1# and I don't ship product at post card rates (.33).   No "back to shopping" button.   Cart does not always show in top right of screen.    Little things but not professional. 

 

Open for suggestions.    

 

Just frustrated currently.    

Link to comment
Share on other sites

I only allow registered customers, so I wasn't aware of USPS issues on that.

 

As for post card rates when you don't want them - click to make your items NON machinable to fix that.

 

I use Kurouto on dirtybutterestates.com, and it's very easy for a customer to go back to add more items. I've never had the cart disappear. That store was not an upgrade from v4.5.

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.

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