We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11975
    • 2,542 Posts
    From system info page:

    OS: OSX Tiger
    PHP Version: 4.3.11 (entropy package)
    Apache: 1.3.33(Darwin)
    MySQL (client API Version) 3.23.49

    I’m gonna reinstall MODx and DB and will let you know if it fixes the issue.

    EDIT: Ok that’s my fault, if the folder contains documents you can’t transform it in document which sounds logical. You have to delete or move the contained documents.

    ;-)
      Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
      • 22815
      • 1,097 Posts
      Quote from: TobyL at Sep 12, 2006, 06:46 PM

      Not so sure about the new look yet, will have to get used to it although I like the savings in realestate.

      I actually really dislike the new green look. Thankfully, we don’t *have* to get used to it, as the old colour scheme is/will be available as a manager template.
        No, I don't know what OpenGeek's saying half the time either.
        MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
        Forum: Where to post threads about add-ons | Forum Rules
        Like MODx? donate (and/or share your resources)
        Like me? See my Amazon wishlist
        MODx "Most Promising CMS" - so appropriate!
        • 31037
        • 358 Posts
        Just to make the designer of the new green manager template happy:

        I like it much better than the earlier one laugh I really do!
          • 23050
          • 1,842 Posts
          Hi,

          When creating a document, and entering a title with accents (like french love to do : é, à, etc...), the alias created is wrong.

          For exemple : présentation becomes prentation or déjà becomes d

          PS : Nice work to all the team for the work wink
            • 727
            • 502 Posts
            I noticed the same problem when pasting snippet code off web pages. Or pasting text from Word into page content. It would be truncated at the first top-bit-set or unicode character. Haven’t looked to see if this is fixed in this beta yet.

            Andy
              • 22303 MODX Staff
              • 10,725 Posts
              Quote from: ajayre at Sep 13, 2006, 11:47 AM

              I noticed the same problem when pasting snippet code off web pages. Or pasting text from Word into page content. It would be truncated at the first top-bit-set or unicode character. Haven’t looked to see if this is fixed in this beta yet.
              Andy
              Andy this simply has to do with character encodings used in the content your using as a source, as well as that of the database it is being stored in, and even the web page it is being presented in. It’s a complex mess, but needless to say, MODx should be doing nothing to directly affect this content you put in, you just need to ensure you are using the same character encodings or are translating them to the proper encoding before using it. However, with regard to the issue of aliases specifically...

              Quote from: Perrine at Sep 13, 2006, 11:43 AM

              When creating a document, and entering a title with accents (like french love to do : é, à, etc...), the alias created is wrong.

              For exemple : présentation becomes prentation or déjà becomes d
              This is because those characters with accents are not part of the allowable characters in a URI (which is being determined by alias’ when using friendly URLs), so they are stripped by the system. Some discussion was brought up about creating a mapping of these characters to ASCII equivalents, and there is even a W3C effort to define IRI’s (or International Resource Identifier’s) by mapping these non-allowable foreign characters to an ASCII-representation that can be used in a URI; further details on the IRI specification available at http://www.ietf.org/rfc/rfc3987.txt.
                • 727
                • 502 Posts
                Quote from: OpenGeek at Sep 13, 2006, 12:35 PM

                Quote from: ajayre at Sep 13, 2006, 11:47 AM

                I noticed the same problem when pasting snippet code off web pages. Or pasting text from Word into page content. It would be truncated at the first top-bit-set or unicode character. Haven’t looked to see if this is fixed in this beta yet.
                Andy
                Andy this simply has to do with character encodings used in the content your using as a source, as well as that of the database it is being stored in, and even the web page it is being presented in. It’s a complex mess, but needless to say, MODx should be doing nothing to directly affect this content you put in, you just need to ensure you are using the same character encodings or are translating them to the proper encoding before using it.

                Sorry to sidetrack this thread, but this will save me a lot of hassle... I want to cut and paste a Word document in US english into page content. I’m using the default insallation for MODx. Haven’t changed anything with the MySQL settings. PC is using US english. However the word document uses the extended character set quote marks and apostrophes. How do I convert my text to the correct encoding? Do I need to use a special application or is there an option in Word for example?

                Andy
                  • 23050
                  • 1,842 Posts
                  Quote from: OpenGeek at Sep 13, 2006, 12:35 PM

                  This is because those characters with accents are not part of the allowable characters in a URI (which is being determined by alias’ when using friendly URLs), so they are stripped by the system. Some discussion was brought up about creating a mapping of these characters to ASCII equivalents, and there is even a W3C effort to define IRI’s (or International Resource Identifier’s) by mapping these non-allowable foreign characters to an ASCII-representation that can be used in a URI; further details on the IRI specification available at http://www.ietf.org/rfc/rfc3987.txt.

                  Yes, I know about URI... but isn’t it possible to transform é into e and à into a for example ?
                    • 8960
                    • 150 Posts
                    Quote from: milicicd at Sep 12, 2006, 05:39 AM

                    Quote from: OpenGeek at Sep 12, 2006, 02:54 AM


                    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/emanz/public_html/manager/includes/document.parser.class.inc.php on line 1112


                    Hmmm, anyone experiencing this error with the beta installation, do me a favor, and open the /manager/includes/document.parser.class.inc.php in a reliable text editor, and remove any extra lines or characters at the end of the file, following the closing PHP tag ?>. Save it, make sure your editor isn’t adding back the line(s) or any other characters to the end of the file after saving, upload if necessary, and retest the site.

                    Let me know if that solves it or not...

                    I opened file, and although there were no spaces at the end of the file, I deleted ">" sign, typed in again and saved file. After upload, everything is working nice. Great!


                    Just removing the space didn’t fix my parsing error. Using cPanel’s File Manager (which has an edit text file/document option), I fixed my error by replacing the the 0.9.5 code with the code from 0.9.2.1 (while removing the extra line from the 0.9.2.1 code). I refreshed the site in my browser and the site started working. Then I edited the file again, this time pasting in the full code from the 0.9.5 version of the document.parser.class.inc.php (while, again, removing the extra line from the 0.9.5 code). I refreshed my site again and it is still working.

                    Thanks for the tip on clearing this up. Love the new version!
                      • 11975
                      • 2,542 Posts
                      Hi,

                      This error occurs when a user hasn’t permission to edit "ressources".


                      Warning: array_multisort(): Argument #1 is expected to be an array or a sort flag in /Users/fredm/Sites/095/manager/actions/resources.static.php on line 181

                      In that case, $category is probably empty

                      Line 181:
                      array_multisort($category, SORT_ASC, $name, SORT_ASC, $finalInfo);


                      Fixed with:

                      if(count($category) > 0) array_multisort($category, SORT_ASC, $name, SORT_ASC, $finalInfo);


                      :-)
                        Made with MODx : [url=http://www.copadel.com]copadel, fruits et l

                      This discussion is closed to further replies. Keep calm and carry on.