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

    i have a problem installing modx revolution 2.2.5 in advanced mode.
    My core path won't be accepted and i don't see the reason for it.
    In the manual it says, you can even install the core outside the root
    to increase the security, so i chose to install advanced, after i deleted
    my standard installation and the mysql db and created a new one.
    I am using a VServer with CentOs 6.3 (Plesk 11).

    My folder structure for the website looks like this :

    /var/www/vhosts/domain.com/subdomain/ (with the /setup folder inside)

    and the installtion asks for the core directory which is at :

    /var/modx/core/ (755 // /cache/ = 777 // /config/config.inc.php =777)

    but its not accepting this path.
    As soon as i put this /core/ folder under the subdomain like :

    /var/www/vhosts/domain.com/subdomain/modx/core/

    the installation would run, so i guess it has something to do with the
    permissions in apache or somewhere i don't know about.

    I would really appreciate help, because i am already trying diffrent
    folders for hours - but it's not working out.

    This question has been answered by goldsky. See the first response.

    [ed. note: texlcoatl last edited this post 13 years, 10 months ago.]
      • 11055 ☆ A M B ☆
      • 3,112 Posts
      When you run the advanced installation, usually it will take you on a page where you can define the paths, including changing their names, eg:

      • /var/www/vhosts/domain.com/subdomain/core -> /var/www/vhosts/mycore, (yes, it's beyond the web root)
      • /var/www/vhosts/domain.com/subdomain/manager -> /var/www/vhosts/domain.com/subdomain/changedmanagerfolder, or
      • /var/www/vhosts/domain.com/subdomain/connectors -> /var/www/vhosts/domain.com/subdomain/mymoo
        Rico
        Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
        MODx is great, but knowing how to use it well makes it perfect!

        www.virtudraft.com

        Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

        Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

        Maintainter/contributor of Babel

        Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
        • 42076
        • 12 Posts
        Quote from: goldsky at Nov 14, 2012, 08:59 PM
        When you run the advanced installation, usually it will take you on a page where you can define the paths, including changing their names

        I know, but the installation is not getting this far, and also won't let me select /var/modx/connectors/. So if i get you right, because what you write is not answering my question at all, you are trying to ignore my question, because modx advanced is not able to do, what is written in the manual as feature ?
        I mean installing the core outside the rootfolder ?
          • 11055 ☆ A M B ☆
          • 3,112 Posts
          connectors folder MUST be web accessible, so it should be placed alongside with manager, although you can change its name.
          you may only move the core folder.

          AFAIK, what the rootfolder means is out of the httpdocs or public_html folder, not beyond the domain's folder.
            Rico
            Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
            MODx is great, but knowing how to use it well makes it perfect!

            www.virtudraft.com

            Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

            Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

            Maintainter/contributor of Babel

            Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
            • 42076
            • 12 Posts
            Quote from: goldsky at Nov 15, 2012, 10:42 PM
            connectors folder MUST be web accessible, so it should be placed alongside with manager, although you can change its name.
            you may only move the core folder.

            Alright, this is the first helpful info i get here, thx a lot.


            Quote from: goldsky at Nov 15, 2012, 10:42 PM

            AFAIK, what the rootfolder means is out of the httpdocs or public_html folder, not beyond the domain's folder.

            In my case ? /var/www/vhosts/domain.com/subdomain/ means i can install it in /var/www/vhosts/domain.com/modx/core for the subdomain (domains rootfolder seems to be /var/www/vhosts/domain.com/httpdocs then) ?

            Thx, I think i understand now. [ed. note: texlcoatl last edited this post 13 years, 10 months ago.]
            • discuss.answer
              • 11055 ☆ A M B ☆
              • 3,112 Posts
              Let's agree this first, web root folder, not your server's root folder.
              In this case, web root means the folder where user visits the homepage.
              For the main domain, then it would be more/path/inhere/domain.com/
              For the sub domain, it would be more/path/inhere/domain.com/subdomain/

              Try to access your site with FTP, since it would only open the server's drive in your domain's scope.

              My guess for your server: /var/www/vhosts/domain.com/httpdocs/subdomain/
              Go ahead, google for var/www/vhosts.
              In common situation, it is followed by /domain.name/httpdocs/
              httpdocs is your web root.
              Or, may be your server's structure is different. I have no idea, unless I can see it.

              So, anyway,
              for the subdomain installation, the core/ folder can also be placed beyond the main domain's web root folder.
              for instance:
              + ...
              + core/
              + ...
              + subdomain1/
              ++ core/
              
              + subdomain2/
              ++ core/
              
              + httpdocs
              ++ assets
              ++ connectors/
              ++ manager/
              ++ ht.access
              ++ index.php
              
              ++ subdomain1/
              +++ ...
              +++ index.php
              +++ ...
              
              ++ subdomain2/
              +++ ...
              +++ index.php
              +++ ...
              
              + httpsdocs
              + ...
                Rico
                Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
                MODx is great, but knowing how to use it well makes it perfect!

                www.virtudraft.com

                Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

                Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

                Maintainter/contributor of Babel

                Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
                • 42076
                • 12 Posts
                Thx a lot, i will try it and report if i still have problems with it.