We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8951
    • 10 Posts
    Hi guys!

    Problem one has been solved, upgraded to PHP5.2

    Next problem: After changing the .htaccess file I am unable to get into the manager. when trying to reach it i get diverted to ../nl/manager.

    How to solve?
      • 22851
      • 805 Posts
      Quote from: EPSBV at Sep 24, 2009, 08:46 AM

      Next problem: After changing the .htaccess file I am unable to get into the manager. when trying to reach it i get diverted to ../nl/manager.

      How to solve?
      Before the friendly URLs stuff and after the RewriteBase line you need to have
            # Exclude /assets and /manager directories from rewrite rules
            RewriteRule ^(manager|assets) - [L]
      


      For info, I also have

            # Fix Apache internal dummy connections from breaking [(site_url)] cache
            RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
            RewriteRule .* - [F,L]
      

        YAMS: Yet Another Multilingual Solution for MODx
        YAMS Forums | Latest: YAMS 1.1.9 | YAMS Documentation
        Please consider donating if you appreciate the time and effort spent developing and supporting YAMS.
        • 18250
        • 37 Posts
        Hi, today i upgraded YAMS to 1.7 RC1. All seems to be working but when i opened MODULES -> YAMS i was shocked
        The documentation is somehow escaped and outputed numerous times. See the screenshots below..
          • 22851
          • 805 Posts
          Quote from: marclar at Sep 25, 2009, 08:14 AM

          Hi, today i upgraded YAMS to 1.7 RC1. All seems to be working but when i opened MODULES -> YAMS i was shocked
          The documentation is somehow escaped and outputed numerous times. See the screenshots below..
          What is all that?!!! I noticed an SQL error relating to your event log. Please can you try clearing it to see if that helps. I can see you’re using Evo. I’ve tested it on Evo - but I have honestly never seen that one before, so a bit stumped.
            YAMS: Yet Another Multilingual Solution for MODx
            YAMS Forums | Latest: YAMS 1.1.9 | YAMS Documentation
            Please consider donating if you appreciate the time and effort spent developing and supporting YAMS.
            • 18250
            • 37 Posts
            No, it has nothing to do with that modx parse error. That error happens becous it can’t log such a long text to database. That long text is in documentation. i think it has something to do with the magic quotes. But just like you, have no idea what that could have coused.. sad
              • 22851
              • 805 Posts
              Did you extract the zip locally and then upload, or upload then extract? Could it be that some binary/text/line ending conversion took place when you uploaded that corrupted the files? That wouldn’t explain why it appears in the multiple times though...

              Well, feel free to send me a personal message with some login details. I can log in some time this evening and take a look to see if I can spot anything wrong with your module set-up.
                YAMS: Yet Another Multilingual Solution for MODx
                YAMS Forums | Latest: YAMS 1.1.9 | YAMS Documentation
                Please consider donating if you appreciate the time and effort spent developing and supporting YAMS.
                • 18250
                • 37 Posts
                Actually that’s localhost on my laptop.. If problem persist I will upload it and ask u nicely if u could take a look.

                Thanks!
                  • 18250
                  • 37 Posts
                  OK I have narrowed down the problem a bit. The problem comes from file ’yams.module.inc.php’ from version 1.1.6. If I use all the files from 1.1.7 and just replace ’yams.module.inc.php’ file from version 1.1.5. everything is ok.

                  Maybe you remember what you changed in that file from 1.1.5. to 1.1.6? Anything that has to do with magic quotes or escaping / unescaping POSTed data, etc.?

                    • 22851
                    • 805 Posts
                    Quote from: marclar at Sep 25, 2009, 10:52 AM

                    Maybe you remember what you changed in that file from 1.1.5. to 1.1.6? Anything that has to do with magic quotes or escaping / unescaping POSTed data, etc.?
                    I can see what changed because it’s under source control: Not very much, but then again only a very minor change can occasionally completely break something. I added the ’current else browser’ redirection mode and added the option to rewrite containers as folders. I didn’t change anything to do with posted data and escaping.

                    There is one bug that I am aware of and which I have since corrected in my local version but that didn’t make it into 1.1.7 RC1. I forgot to initialise the variable $modeCurrentElseBrowser to the empty string before using it. I suppose that this could be inserting a null character into the document and breaking it for you. Do you think that could be the problem?

                    EDIT: If you want to fix it in your local copy, try adding
                    $modeCurrentElseBrowser = '';
                    

                    at around line 3088.
                      YAMS: Yet Another Multilingual Solution for MODx
                      YAMS Forums | Latest: YAMS 1.1.9 | YAMS Documentation
                      Please consider donating if you appreciate the time and effort spent developing and supporting YAMS.
                      • 23491 ☆ A M B ☆
                      • 1,056 Posts
                      Quote from: PMS at Sep 25, 2009, 11:43 AM

                      EDIT: If you want to fix it in your local copy, try adding
                      $modeCurrentElseBrowser = '';
                      

                      at around line 3088.

                      Thank you! I am going to try 1.1.7 RC1 w/ this edit now smiley
                        Mike Reid - www.pixelchutes.com
                        MODx Ambassador / Contributor
                        [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
                        ________________________________
                        Where every pixel matters.