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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. YOURLS
  3. Fix docs

Fix docs

Scheduled Pinned Locked Moved YOURLS
2 Posts 2 Posters 586 Views 1 Watching
  • 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 Offline
      D Offline
      drpaneas
      wrote on last edited by
      #1

      @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' );
      
      girishG 1 Reply Last reply
      0
      • D drpaneas

        @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' );
        
        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search