We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10663
    • 1 Posts
    Hello all,


    I am in front of a big dilemma; I had a site on my server based on modx and installed two more modx-copies in other folders to build new sites. Now, because there was a problem with the installation, I deleted all modx-tables from my server and set the two sites up fresh. When I tried to access the "old" site ( http://www.tobiasdeml.com/associated_students ) the site seemed to be miraculously fine, even after Ctrl+F5, but when I went into the manager it showed me the title "Associated Students", but the entire manager was connected to one of the two new installations I made, http://www.tobiasdeml.com/vudeka (which doesn’t have content yet), and it shows me the site tree of that new installation, not associated_students site tree...

    So basically, the manager accesses the information from another site / folder, maybe due to the prefixes of the MySQL-Tables, but the site itself is fine and seemingly uses valid information and the right content...

    Does anyone have an idea?
    I use modx 1.0.5 in all three sites, all of them accessing the same database with different prefixes (I am not sure if I accidentally deleted the tables of the associated_students site, but if I deleted them, wouldn’t the site itself be without content?)

    Also, when I use the "Edit Resource"-Overlay on the site itself, it tells me I don’t have the necessary permission to change anything.


    Thank you for your help!
    Gentle
      • 3749
      • 24,544 Posts
      I don’t fully understand your setup, but the database used for a site is in the manager/includes/config.inc.php file.

        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 4310
        • 2,310 Posts
        @BobRay
        Evolution rather than Revolution
        @Gentle
        Unless you’re limited to 1 DB on your hosting I think it’s generally best to have a discreet DB for each install.
        That said have you checked each manager/includes/config.inc.php for the table prefix value i.e.
        $table_prefix = 'modx_';

        Maybe you have accidentally connected to the wrong set of tables?