We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26765
    • 8 Posts
    Hi guys, i have installed MODx but i get only error when try to to login to manager (i.e. www.mojsajt.co.uk/manager), when i open www.mojsajt.co.uk/index.php there is only blank page.

    Warning: Cannot modify header information - headers already sent by (output started at E:\WebUsers\www.mojsajt.co.uk\manager\includes\config.inc.php:1) in E:\WebUsers\www.mojsajt.co.uk\manager\index.php on line 148

    Warning: session_start(): Cannot send session cookie - headers already sent by (output started at E:\WebUsers\www.mojsajt.co.uk\manager\includes\config.inc.php:1) in E:\WebUsers\www.mojsajt.co.uk\manager\includes\config.inc.php on line 60

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at E:\WebUsers\www.mojsajt.co.uk\manager\includes\config.inc.php:1) in E:\WebUsers\www.mojsajt.co.uk\manager\includes\config.inc.php on line 60

    Warning: Cannot modify header information - headers already sent by (output started at E:\WebUsers\www.mojsajt.co.uk\manager\includes\config.inc.php:1) in E:\WebUsers\www.mojsajt.co.uk\manager\includes\config.inc.php on line 74

    Warning: fopen(E:/WebUsers/www.mojsajt.co.uk/manager/media/style//login.html): failed to open stream: No such file or directory in E:\WebUsers\www.mojsajt.co.uk\manager\includes\accesscontrol.inc.php on line 129

    Warning: filesize(): Stat failed for E:/WebUsers/www.mojsajt.co.uk/manager/media/style//login.html (errno=2 - No such file or directory) in E:\WebUsers\www.mojsajt.co.uk\manager\includes\accesscontrol.inc.php on line 130

    Warning: fread(): supplied argument is not a valid stream resource in E:\WebUsers\www.mojsajt.co.uk\manager\includes\accesscontrol.inc.php on line 130

    Warning: fclose(): supplied argument is not a valid stream resource in E:\WebUsers\www.mojsajt.co.uk\manager\includes\accesscontrol.inc.php on line 131

    Platform is WIndows server 2003 with PHP and MySql DB (installation was all fine).

    Please can you advise?
    Thx
      • 26765
      • 8 Posts
      Ok, after few search i found the solution

      1. "Headers already sent"
      --- There was some space in config.inc.php (before <?php)

      2. Second problem was because folder assets/cache didn had right permissions
      --- set IUSR to have modify option for it and all files beneath (NOTE, permissions can;t be set trough ftp on standard windows hosts so you must ask hosting company to fix this for you)

      3. After that you must upload ’install’ folder once again and do UPGRADE (if you upload whole MODx it will ruin permissions again).

      You can make this sticky since 80% of ppl are complaining about this. If anyone need more help, just send me PM and i will be glad to help you.