We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22303 MODX Staff
    • 10,725 Posts
    Another thought... are you using an RTE when this occurs? IOW, does it only occur if CKEditor or TinyMCE is enabled?
      • 15122
      • 10 Posts
      maybe a stupid question, but what is rte?
      the only things i’ve installed are wayfinder, breadcrumbs and google.

      But on the re-install of modx 2 rc1 advanced I didn’t install any packages so that can’t be it, when there aren’t any packages tongue. The only thing I did after the install of the advanced package, is set the document resource alias and I did set the friendly urls on.

      By default no editor is used am I correct? Atleast I don’t see any editor, and I prefer it that way. So I think the editors can’t be the problem aswell

      I also had 1 crazy thought, could it be the extraction program? I did use 7-zip, never had any problems with it before and it didn’t gave any problems during the extraction. But with several downloads and the 2 versions I get the same problem each time.
        • 22303 MODX Staff
        • 10,725 Posts
        Quote from: jvdheuvel at Apr 07, 2010, 03:16 PM

        what is rte?
        the only things i’ve installed are wayfinder, breadcrumbs and google.
        RTE == Rich-Text Editor
        I hate them as well, they are pure evil IMO, but I am just trying to narrow this down so we can isolate the problem and get it fixed.

        Quote from: jvdheuvel at Apr 07, 2010, 03:16 PM

        I also had 1 crazy thought, could it be the extraction program? I did use 7-zip, never had any problems with it before and it didn’t gave any problems during the extraction. But with several downloads and the 2 versions I get the same problem each time.
        I doubt it; I use and recommend 7-zip anytime I’m working on a Windows platform myself. It’s more likely related to a browser issue, a build problem, or an incompatibility with something specific in your server environment. Unfortunately, until I can reproduce it... huh
          • 15122
          • 10 Posts
          Because nobody else can reproduce it, the only thing I can think of is that it’s a server isue. I’ve tried several browsers (Firefox, Opera, Safari, Internet Explorer) and all gave the same problem.
          With firebug I also checked if the posts contained the right keys and values and that also looked correct.

          Tonight or tomorow morning I will install the modx version on my local computer instead of my server.
          When I know more, I will let you know!
            • 22303 MODX Staff
            • 10,725 Posts
            FYI, [#MODX-1844] Resource alias not being saved. Please add any details you can or any suspicions you may have to this ticket.
              • 15122
              • 10 Posts
              installing modx 2 rc1 on my local server did work,
              I can set the document alias on my local server.

              The servers I used are:
              [table][tr][td]type[/td][td]server[/td][td]local[/td][/tr]
              [tr][td]OS[/td][td]FreeBSD 6.4[/td][td]Windows XP SP3[/td][/tr]
              [tr][td]PHP[/td][td]5.2.13[/td][td]5.3.1[/td][/tr]
              [tr][td]Apache API[/td][td]20051115[/td][td]20051115[/td][/tr]
              [tr][td]PDO mysql[/td][td]5.0.22[/td][td]5.1.41[/td][/tr]
              [tr][td]Json[/td][td]1.2.1[/td][td]1.2.1[/td][/tr]
              [tr][td]Simple XML[/td][td]293036[/td][td]281953[/td][/tr]
              [tr][td]safe mode[/td][td]off[/td][td]off[/td][/tr]
              [tr][td]GD lib[/td][td]bundled (2.0.34 compatible)[/td][td]bundled (2.0.34 compatible) [/td][/tr]
              [tr][td]zlib[/td][td]1.2.3[/td][td]1.2.3[/td][/tr]
              [tr][td]register_globals[/td][td]off[/td][td]off[/td][/tr]
              [tr][td]memory_limit[/td][td]32MB[/td][td]128MB[/td][/tr][/table]

              OpenGeek, do you know what script is called? Maybe I can take a look in there.
                • 8907
                • 11 Posts
                I found one of the causes of this problem. My trouble might be caused the bug of iconv function.
                http://bugs.php.net/bug.php?id=48147

                When friendly_alias_translit is not specified, MODx uses iconv. But, formar PHP does not handle "//IGNORE" option correctly.
                I rewrote the code of line 306 in modResource(rev.6586) experimentally and succeeded to store the alias field.

                currently
                $alias = iconv($charset, 'ASCII//TRANSLIT//IGNORE', $alias);


                experimental
                $alias = iconv($charset, 'ASCII//TRANSLIT', $alias);


                Workaround:
                Add next system settings if you not need to translit the ailases:
                key : friendly_alias_translit
                value : "none"

                P.S. My PHP version is 5.2.5
                  • 22303 MODX Staff
                  • 10,725 Posts
                  Quote from: enogu at Jun 01, 2010, 08:13 AM

                  I found one of the causes of this problem. My trouble might be caused the bug of iconv function.
                  http://bugs.php.net/bug.php?id=48147

                  When friendly_alias_translit is not specified, MODx uses iconv. But, formar PHP does not handle "//IGNORE" option correctly.
                  As indicated by the PHP team, this is a platform issue, not a PHP issue. I don’t want to limit the behavior to workaround bugs at the platform level. Just don’t use the built-in iconv transliteration in environments with this problem, as you suggest.

                  You can use the included or your own transliteration tables in these cases.
                    • 8907
                    • 11 Posts
                    I see. I’ll try to find another way to transliteration when I need it.
                    Thank you!
                      • 8337
                      • 1 Posts
                      I have this problem too in Revolution RC3. Solved by: Add next system settings if you not need to translit the ailases:
                      key : friendly_alias_translit
                      value : "none"

                      Thanks