We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10696
    • 35 Posts
    Hello everybody!
    I’m trying to regenerate xPDO maps of few objects because of schema update.
    I’ve updated and saved my schema file.
    I’ve deleted *.map.inc.php and *.class.php in /model/package_name/mysql folder and *.class.php in /model/package_name/ folder.
    Then, I’ve ran build script. Everything should be ok, but everytime I’m getting old maps, it seems script uses XML schema file from cache.
    I’ve tried to clear cache via manager and manually and then repeat regenerate process - each time I’m getting old map files.
    Does anybody knows what am I doing wrong?
    Thank you.
      • 33968
      • 863 Posts
      Hi, I don’t think caching is your issue there but to be sure you could always change the name of your build script.

      You didn’t change the name of your schema when saving, anything like that?

      Side note: be careful when deleting all your class names that you don’t delete your main class file. I’ve made that mistake smiley
        • 10696
        • 35 Posts
        lucas, it was great idea to rename build script, I’ve tried just now but result is the same sad
        I’ve already made same mistake while updating xPDO model my first time, so now everytime I delete class files I patiently check what I’m going to delete smiley
          • 10696
          • 35 Posts
          All those strange things was because of mistic server behavior.