How to successfully backup and restore
  • I say successfully because I backed up the database and the relevant CSS and XML files from my local server and replaced in a new Tango installation on my remote host and only some custom items appear. For example, I had completely removed the Poll sector; on the restored site, it still appears. Custom headings and text content do show however. The theme is Carbon.

    More immediately, I cannot login with the credentials from the local site. Even if I just need to tweak a few things, I can't get to AdminCP. I can get to PHPMyAdmin just not the site itself.

    So, what is the operative plan?

    SNZ
  • Hi Snooze,

    In short you'll want to backup the entire /config/default directory, and that will be all you need (apart from the database of course!)

    As for why you can't log in, if you didn't copy your original /config/default/config.ini.php file then it will have a different salt value used to hash the passwords. Different salts means different hash, making it impossible to login. Each TangoCMS has a unique salt that is generated upon installation.

    Regards
  • Couldn't be that easy! I did compare and saw the different salts.

    Off I go. I'll report as necessary.
  • see below
  • Hi.. instead of starting a new thread, I thought I would mooch off this one LOL
    I want to move my tango from local to remote, so according to instructions here, would the following steps be correct?
    1. install fresh tango on new (remote) host
    2. copy config/default (from local pc) and overwrite the (remote) host
    3. backup (local pc) sql and import on new host -

    done?

    thanks!
    the above steps do not work - it trashes your whole site. only way is to reinstall from scratch - but unknown how to import the sql. everytime i do, the site crashes. all variables are the same - is a mirror of the remote (except for the links id/pw/host settings while it may show the home page ok, clicking on any link will fail
  • internal server error 500.
    this occurs after i make a new entry. then go back to the home page, then click on the entry, and a internal server error 500 comes up

    (note this is after a fresh install and added 2 new articles just for testing) cms is still failing. works fine locally (on home server) regardless of home or remote i have to delete the htaccess or it will not run. your software is not the only issue that htaccess has a problem. i cant seem to use htaccess locally or on one of my paid servers, each time i have had to delete the file

  • found the error but dont know how to fix
    [domdocument.load]: ID article-3 already defined
  • If you're wanting to move your local TangoCMS install to a different server, then:

    1) Copy all files to new host
    2) dump the database
    3) import database at new host
    4) update ./config/default/config.ini.php for the SQL credentials

    That's all you'd need to do.

    As for your domdocument error, remove ./tmp/rss and that will start to work now. For your .htaccess error, check the server logs if you have access. It could be your remote host is insane and runs Apache 1.3.
  • i followed the above steps to a "t" (not worried about the htaccess, i figured its an old apache i just delte it for now, will deal with it later) but the best i can get is a website without css formating, and all the links are 404 errors. i.e. if i click on admincp = 404 etc.. even the aritcles i just entered, are 404 errors (remember this last test installed from scratch.)
    I deleted all the tmp folders I could find, but that error seems to be pretty persistant
  • A 404 generated by your webserver, or a 404 page displayed by TangoCMS? If it's the former, well yes - you deleted the .htaccess file which contains the rewrite rules to rewrite non-existant URLs to index.php :)

    If you are going to keep the .htaccess file removed, then you'll need to change to the "standard" URL router, http://manual.tangocms.org/troubleshooting/sef-urls scroll down the bottom to the "Failsafe router type" part

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Tagged