We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32241
    • 1,495 Posts
    Are you sure you’re replacing the right document?
    The one included on zip file doesn’t appear to have that statement on line 827; instead, this is the code.
    				$suff = '';
    


    The code that you paste suppose to be on line 850

    Try to copy each files on each appropriate location, and make sure that you receive warning saying that you replace your old file with the new one provided on the zip file. I believe you need to backup your old files before you replace it, in case something goes wrong, and you need to use english as the default language, because the manager interface have an additional language for the subsites. If you want to use it in for it language, than open the english language file included, and copy the last few lines containing subsites language array and translate it to your prefered language and put it on the language file for that specific language.

    Let me know if you got all the steps done, but still with an error.
    I can’t wait to see this working on yours Banzai grin
      Wendy Novianto
      [font=Verdana]PT DJAMOER Technology Media
      [font=Verdana]Xituz Media
      • 2762
      • 1,198 Posts
      In that document parser i can see your comment in line 789 (with Php expert editor rolleyes) :
      	// BEGIN SUBSITES ADDITION - MODIFIED BY Wendy Novianto   


        Free MODx Graphic resources and Templates www.tattoocms.it
        -----------------------------------------------------

        MODx IT  www.modx.it
        -----------------------------------------------------

        bubuna.com - Web & Multimedia Design
        • 2762
        • 1,198 Posts
        I upload files in :

        \manager\actions\dynamic\mutate_settings.dynamic.action.php

        \manager\includes\document.parser.class.inc.php

        right??
          Free MODx Graphic resources and Templates www.tattoocms.it
          -----------------------------------------------------

          MODx IT  www.modx.it
          -----------------------------------------------------

          bubuna.com - Web & Multimedia Design
          • 2762
          • 1,198 Posts
          Quote from: Djamoer at Feb 28, 2006, 11:09 PM

          .....
          I can’t wait to see this working on yours Banzai grin

          I’ve a Italian Free RealEstates ads community with more of 20 subdomains that waiting for your great Hack!! laugh
            Free MODx Graphic resources and Templates www.tattoocms.it
            -----------------------------------------------------

            MODx IT  www.modx.it
            -----------------------------------------------------

            bubuna.com - Web & Multimedia Design
            • 32241
            • 1,495 Posts
            Yes Banzai, that’s the right location, but have you checked the file yet? The regexp and etc suppose to be onn line 850, not 927. Try to download the file again, and unzip it. Check the line number to make sure that you have the right files/package.
              Wendy Novianto
              [font=Verdana]PT DJAMOER Technology Media
              [font=Verdana]Xituz Media
              • 2762
              • 1,198 Posts
              Quote from: Djamoer at Feb 28, 2006, 11:09 PM

              ... and you need to use english as the default language, because the manager interface have an additional language for the subsites...

              Changed language to english now error is:
              « MODx Parse Error »
              MODx encountered the following error while attempting to parse the requested resource:
              « `` is not numeric and may not be passed to makeUrl() »
               
              Parser timing
                MySQL: 	0.0011 s s	(2 Requests)
                PHP: 	0.0265 s s	 
                Total: 	0.0276 s s


              Thanks wink
                Free MODx Graphic resources and Templates www.tattoocms.it
                -----------------------------------------------------

                MODx IT  www.modx.it
                -----------------------------------------------------

                bubuna.com - Web & Multimedia Design
                • 2762
                • 1,198 Posts
                Downloaded again zip file Subsites v1.0, but extracted with winrar (not compressed folder of xp) and there is no more error in www.tattoocms.it smiley but nothing in http://modx.tattoocms.it/.
                  Free MODx Graphic resources and Templates www.tattoocms.it
                  -----------------------------------------------------

                  MODx IT  www.modx.it
                  -----------------------------------------------------

                  bubuna.com - Web & Multimedia Design
                  • 32241
                  • 1,495 Posts
                  Quote from: banzai at Mar 01, 2006, 12:15 AM

                  Downloaded again zip file Subsites v1.0, but extracted with winrar (not compressed folder of xp) and there is no more error in www.tattoocms.it smiley but nothing in http://modx.tattoocms.it/.

                  Kewl, bad M$ wink

                  I visit the site, but there is a 403 error.
                  Is that the error that you received?
                    Wendy Novianto
                    [font=Verdana]PT DJAMOER Technology Media
                    [font=Verdana]Xituz Media
                    • 2762
                    • 1,198 Posts
                    Tested with another website - same error :’( 404 in subdomain

                    ..what i’m doing wrong??

                    1) created subdomain from my admin/reseller inteface
                    2) removed default html welcome page from subdomain
                    3) upload files in domain
                    4) created a folder in modx domain
                    5) enabled subsites in modx system configuration
                    6) subsite: test.domain folderId folderid

                    no errors in domain
                    404 in subdomain
                      Free MODx Graphic resources and Templates www.tattoocms.it
                      -----------------------------------------------------

                      MODx IT  www.modx.it
                      -----------------------------------------------------

                      bubuna.com - Web & Multimedia Design
                      • 32241
                      • 1,495 Posts
                      One more question did you point your subdomain to the same directory as your main domain?

                      Here is my setup, I set all my domain and subdomain pointing to the same directory, which I placed all my MODx installation on that same directory. So basically, when you access the domain or subdomain, you will get the same page. Then apply the patch/hack, and setup the subdomain with its corresponding start id and error id, then when you visit your site using your subdomain, it will display a different page compare with your main domain.

                      Take a note that you need to be able to do the first step, which require you to host several domains on the same folder. grin
                        Wendy Novianto
                        [font=Verdana]PT DJAMOER Technology Media
                        [font=Verdana]Xituz Media