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

    Just upgraded from 0.9.5 and getting this error from time to time when saving documents in manager.
    it doesnt happen on other resources (chunks, snippets).

    Warning: strtr() [function.strtr]: The second argument is not an array. in /var/www/html/manager/processors/save_content.processor.php on line 859
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/manager/processors/save_content.processor.php:859) in /var/www/html/manager/processors/save_content.processor.php on line 563


    any ideas what can it be? i’m running: apache 2.0, php 4.4.7, mysql 4.1.2 accessing it with mac os x, ff 2.0

    Thank you!

    Aleks
      MODx Revo 2.0.6-pl (Traditional) | Apache 2.2.3 | PHP 5.2.14 | MySQL 5.0.77 | MAC OS 10.6.5 | FF 3.6/Chrome 9.0.5
      • 16732
      • 592 Posts
      Hi,
      It is a known problem with non UTF-8 installation. The stripAlias fonction need an array who is only defined for UTF-8

      I made a quick fixe for french installations but I think it will work for english to.

      Get it here

        • 2690
        • 148 Posts
        wow... you are the man.
        translated the page with babelfish and it even makes sense wink

        it helped my problem
        thank you!

        Aleks
          MODx Revo 2.0.6-pl (Traditional) | Apache 2.2.3 | PHP 5.2.14 | MySQL 5.0.77 | MAC OS 10.6.5 | FF 3.6/Chrome 9.0.5
          • 16732
          • 592 Posts
          Yep sorry for the lack of instructions embarrassed... just replace your save_content.processor file by the one in the zip file