I’ll never make that mistake again!
I received an email from John Thornhill on 19th August to let me know that the (brilliant) eBook website had been updated with a load more Themes, some new eBooks and some other features. “No problemo,” I said to myself, “I’ll have this sorted in a few minutes.” After all it’s essentially the same process I had to use when I uploaded stuff to this domain when I was setting up this blog at the start.
I logged in to the PlanetSMS members area, downloaded the upgrade zip file, Unzipped it and opened my free copy of Filezilla. Just to be on the safe side I checked the “How to Set Up Your Website” video. Now here’s the thing, the video shows John’s Filezilla uploading the new site to a new domain which of course has no files in it.
Well the safeside wasn’t good enough! I did exactly the same thing and nothing happened, then I did something else which I can’t recall properly…anyway the net result was about an eighth of my site was left in the default theme (not the one I use), the Admin page was a 404 error message and all I could do was to log in to the client area and open a support ticket and yell for help!
Paula Brett answers saying “It looks as though you haven’t uploaded everything as there are bits missing! Make sure that every page is uploaded and overwrites to the old site.” I’m thinking, “Yaha, that’s what I was trying to do!” D9 Hosting offer a script update service at $12.95 but I want to be able to do this stuff for myself.
So I think, “Well ok, I’ve messed it up. So I’ll go back to the PlanetSMS members area download the entire new version of the website and then upload it to my domain. All the new files will overwrite the old ones and then I’ll have to go in to Admin and redo all my settings etc. A pain, but at least I’ll have done it myself.”
Now to download the site takes about 20mins I guess. Uploading it to the domain takes quite a bit longer, around an hour probably. When it’s done I end up with exactly the same result! There can be only one explanation I must be uploading to the wrong place. To cut a long story shortish, I add all this to the support ticket and Dan Thompson comes back with: Hi Frank, I’ve now fixed your site, you had uploaded all the files, but not to the public_html directory of your web space.
Unfortunately it looks like you have overwritten your original admin folder that contained your site details (name, adsense number etc.) (that’ll be the bit that I did that I couldn’t recall properly!) and our daily backup was taken after you made the change so it looks like you’ll have to enter those settings again.
I double check that updates are done in the same way? Yes, when you do the update you should upload files to the public_html folder, overwriting the old files. (But not the /admin/settings folder!) If you have any further questions please do not hesitate to get in touch with us. Kind Regards, Dan Thompson. Bless him (and Paula) they are soooo patient. Thank Goodness!
Anyway now I know exactly what to do when I need to update to V1.4 when it comes out so I have learned by the mistake. 1) Learn how to backup your site! This can be done via the cPanel so I’ll be checking that out. D9 do a daily backup but you read what Dan said earlier about that. 2) Upload files to the public_html folder, overwriting the old files. (But not the /admin/settings folder!)
As you know, normally if you replace a folder with a new one of the same name the old one and all its contents are lost but not in this case. If you upload to the public_html folder it’ll all take care of itself. There is an Admin folder in the update file but it doesn’t contain a settings folder so the original settings folder will remain intact. Automatically appearing inside the new one! Is that right? Really….?
I even checked again via the reopened support ticket (I can just imagine it - oh no! It’s that clown Frank Levy again) and here are Paula Brett’s soothing words. “If the new admin folder doesn’t contain a settings folder then this means that the old settings folder will remain intact and functioning.” There you go! You heard it straight from…erm…Paula’s desk!