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
    Hy everybody,

    first of all, I want to apologize for my english but this is not my mother tongue. I’ll do my best to explain what is my problem.

    I’ve tried to install modx on a remote server in a subfolder of the root.

    it looks like that
    /
    /modx
    /manager
    /asssets
    etc...

    so the url to acces is www.mydomain.com/modx

    It seems that there is a conflict between site_url and Base_url
    I’ve tried a work around I’ve found in this forum by editing the config.inc.php and adding by the hand the variables $site_url, $base_url and $base_path.

    I’ve written several combinaison and the issue is still here.
    The pages doesn’t look correctly (error on css link) and base ref.
    in the back office the Rich editor doesn’t work anymore or the content is not editable.

    According to the way I’m writing variables the matter is no more on the back office but in the front with a 404 error page when I try to edit content.

    Any Advice huh


    Thanks

    P.S: My congratulations to the team for this wonderful tool


      Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
      • 33337
      • 3,975 Posts
      Are you using Friendly urls ?

      try turning off them. also please let us know the version of php and mysql.

      regards,

      zi
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link
        • 11975
        • 2,542 Posts
        Quote from: zi at Jan 10, 2006, 08:04 PM

        Are you using Friendly urls ?

        try turning off them. also please let us know the version of php and mysql.

        regards,

        zi

        Friendly urls are turned off.
        Mysql version is 3.23.36
        Php version is 4.3.1

        thanks for your help.


          Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
          • 32241
          • 1,495 Posts
          I’m not to for sure about the problem, but I’m trying to blame it on the MySql version, even though the error doesn’t seem to be from the database.

          Do you have a higher MySql database that you can test the script on?
            Wendy Novianto
            [font=Verdana]PT DJAMOER Technology Media
            [font=Verdana]Xituz Media
            • 11975
            • 2,542 Posts
            I guess that mysql is not involved in the issue.
            I’ve printed out the variables obtained with the original script (config.inc.php) if I call it directly at the adress : http://www.mydomain.com/mysubfolder/manager/includes/config.inc.php
            here they are:
            $site_url : http://www.mydomain.com/mySubFolder/
            $base_url : /mySubFolder/

            If I leave the print and execute modx calling the homepage @ http://www.mydomain.com/mysubfolder/
            The values are differents, I’ve got
            $site_url : http://www.mydomain.com/
            $base_url : /

            I don’t know at all how to fix this issue.

            I will follow your advice and try to install it locally (mysql version 3.23.49)

            I will let you know smiley

            [EDIT]
            I’ve installed in the same conditions modx on my machine (subfolder of my root folder www)
            PHP version : 4.3.11
            mysql version 3.23.49

            The script works without any trouble
            :-( Could the reason be in the apache or php configuration of my provider huh?

            If I’m doing the same test as above I’ve got twice the same results

            I’m lost

              Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
              • 32241
              • 1,495 Posts
              I’m sorry I couldn’t help you for now, but I will try to bump this post up again smiley Maybe someone come up with a good reason to this problem.

              Sincerely,
                Wendy Novianto
                [font=Verdana]PT DJAMOER Technology Media
                [font=Verdana]Xituz Media
                • 6726
                • 7,075 Posts
                Could you tell us what is your host ?

                Also, could you publish your phpinfo() information ?
                  .: COO - Commerce Guys - Community Driven Innovation :.


                  MODx est l'outil id
                  • 11975
                  • 2,542 Posts
                  Hello,

                  you can consult the phpinfo() results here -> http://atenao.com/particuliers/test.php

                  as I told in the french forum I didn’t have troubles during the installation, no warnings or anything else.
                  The issue appears by calling the homepage. The links to css, quick edit and other pages from the menu were wrong because of the bad Baseref.
                  To resolve it I’ve edited the config.inc.php to code the base_site and site_url to correct the bad links on the front end.
                  After a couple of hours I was unable to edit pages in the back office. To keep on editing I had to turn off the FCKE editor.
                  When I tried to create a new template the servor send me a 500 internal error.
                  I’ve been able to edit a new one by duplicating the original template provided with modx.

                  My host is arsys

                    Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
                    • 4673
                    • 577 Posts
                    hmmm ... just throwing out ideas.

                    + clear the cache in the browser
                    + did you set the configuration in the admin (file manager path under misc. settings)
                    + Did you set .htaccess ? You might be able to do something there.

                    Good luck and sorry that I couldn’t be more helpful sad
                      Tangent-Warrior smiley