Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Fix docs

    YOURLS
    2
    2
    214
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      drpaneas last edited by

      @girish when you have the time, please update the documentation:

      It says

      cp /app/code/sample-public-front-page.txt /app/data/index.php
      # now fix the require_once path in /app/data/index.php from dirname(__FILE__).'/includes/load-yourls.php' to '/app/code/includes/load-yourls.php'
      

      The second instruction is not enough -- replacing the path is not enough. That alone doesn't work, you end up with a blank page. I used your resolution and it works fine for me as well now:

      - require_once( dirname(__FILE__).'/app/code/includes/load-yourls.php' );
      + require_once( '/app/code/includes/load-yourls.php' );
      
      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @drpaneas last edited by

        @drpaneas I tried to put it now as a separate instruction and not a comment. Hopefully, it's clearer now.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB