We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28433
    • 4 Posts
    hello modx community smiley
    i have a little problem after upgrading from modx 0.92 to 0.95. if i choose the standart system settings "utf-8" encoding in the charset system settings (insteat of iso 8859-1) i get the following error message if i navigate to a site which uses ditto 1.02: Fatal error: Call to undefined function: utf8_encode() in /var/www/html/ewk/assets/snippets/ditto/ditto.class.inc.php on line 201
    if i changes back to is08859-1 ditto works fine but all german "umlauts" in the manager are a bit mixed up. i´m no php man but i like modx very much (because of it´s easy using)
    the general language is german, server is a linux server with apache and mysql 4.
    ps. sorry for my bad english..
      • 28433
      • 4 Posts
      i forgott this the call of ditto in the template
      [[Ditto? &tpl=`DittoTemplate` &summarize=`3`]]

      and the chunk code
      <div class="ditto_summaryPost">
      <p>
      <img src="assets/images/drehstern_blau_klein.gif" alt="stern" width="10" height="14" />&nbsp;
      <a href="[~[+id+]~]">[+title+]</a>
      [+summary+]
      </p>
      </div>

      thank´s stephan
        • 18397
        • 3,250 Posts
        utf8_encode is built into PHP so I don’t see how that error is possible...

        Can you post your server config?
          • 28433
          • 4 Posts
          thanks,
          i don´t know if i post it for a second time. wink
          i attached a html file (zip package) with the php / server config.
          for my self i´m not very firm with php.
          so i hope the config would be usefull: there is php 4.33 installed.

          thanks stephan
            • 28433
            • 4 Posts
            the problem is solved there was a faillure in the server configuration,
            thanks
            stephan