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

    When i tested ModX on local server (Denwer) everything worked fine.

    But when i try to install modx on the real server (my hoster use FreeBSD) the admin panel page doesn’t shown. It’s a blank page when I try open http://<mysite.com.ua>/manager.
    Error log shows that index.php cant include another php files.

    For example
    [Thu Mar  4 02:03:42 2010] [error] PHP Warning:  include_once(config.inc.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /usr/www/com.ua/<mysiteadress>/public_html/manager/index.php on line 133
    


    Anybody installed modx on unix server?
    Please, help.
      • 21257 MODX Staff
      • 730 Posts
      I think all of the *nix installs I’ve done are of the Linux variety.
      What PHP version are you running on your FreeBSD server?
      Can you confirm that there is indeed a manager/includes/config.inc.php file?
        Mike Schell
        Lead Developer, MODX Cloud
        Email: [email protected]
        GitHub: https://github.com/netProphET/
        Twitter: @mkschell
        • 7607
        • 8 Posts
        As safe_mode is "on" on my hosting server, the function init_set doesn’t work.
        That is why Modx doesn’t find the files.

        What solution to solve this problem could u advise?

        The only solution I have found so far is to declare path to the files manually. This solution i’m going to try now.

        P.S. PHP version is 5.2.1
        config.inc.php is in the include folder.
          • 3749
          • 24,544 Posts
          Do you have the option of turning safe_mode off?
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting
            • 7607
            • 8 Posts
            No, I haven’t