We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13583
    • 7 Posts
    JarlThorfinn Reply #1, 10 years ago
    Hi, I'm having a strange issue with the [*publishedon*] and [+publishedon+] tags in Evo 1.0.13. Testing on two different stites (on different servers), [*publishedon*] and [+publishedon+] are returning 0 for some published pages. On first publishing a page (ie. right-click and publish) they do seem to work correctly, outputting a timestamp. However, on re-editing the page and resaving, [*publishedon*] and [+publishedon+] change to return 0.

    Testing an older 1.0.12 site, the publishedon tags do continue to ouput the correct publishedon time after re-editing and re-saving the page.

    Has anyone else noticed this problem, and might it be related to any chnages in 1.0.13?

    Thanks
      • 47134
      • 1 Posts
      There is a bug in this commit.

      publishedon and publishedby fields are replaced by literal 'publishedon' and 'publishedby' values instead of integers when you save a document without changing its published state. This causes an error if MySQL runs in strict mode and erases field contents in traditional mode.
          • 13583
          • 7 Posts
          JarlThorfinn Reply #4, 10 years ago
          Many thanks, this fixed it.