Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Wrong paths - ex domain.com/themesthemename

Hello i have problem with slashes after folders. Where to setup this?

~~domaincom/js(no slash)library(no slash)jquery

Comments

  • interesting

    have you set either/both of

    $Configuration['Garden']['WebRoot']
    $Configuration['Garden']['StripWebRoot']
    

    ?

    Are you using any pluign or setting that may influence this?

    Can you try with a clean install?

    grep is your friend.

  • Is this with just js files or any static resource?

    grep is your friend.

  • katalog(dot)xyz

    This is the clean version, only add locate files but dont work;)

  • what is locate files, do you mean locale? Don't even do that.

    grep is your friend.

  • Yes locale.
    This is disabled and i use default.

  • so it is just js files.

    grep is your friend.

  • /applications

    In dashboard/settings/themes/

    Themes thumbnails also dont work. /themesdefault etc.

  • I think it may be caused by PATH_ROOT in class.controller.php

                      $JsSrc = str_replace(
                         array(PATH_ROOT, DS),
                         array('', '/'),
                         $JsPath
                      );
    

    what is the output of

    <?php
    echo getcwd();
    

    say if you put that in a php file and point to it?

    grep is your friend.

  • My class.controller.php

    if ($JsPath !== FALSE) { $JsSrc = str_replace( array(PATH_ROOT, DS), array('', '/'), $JsPath );

    /Index.php
    define('DS', '/'); define('PATH_ROOT', getcwd()); echo getcwd();

    Where put echo?

  • No no. don't edit core files

    jsut create a file like test.php put the code and point to it in a browser.

    grep is your friend.

  • katalog(dot)xyz/test.php

    This is for what?
    Sorry im mega newbie in this cms.

  • You have a server error.

    Can you find out what it is in your server logs.

    The point is to test what is the output of getcwd()

    grep is your friend.

  • x00x00 MVP
    edited August 2014

    You are running IdeaWebServer apparently. it may not be officially supported therefore there wouldn't be much testing on it.

    The main supported ones are Apache, nginx, to a limited extent IIS

    grep is your friend.

  • Ok, thanks. I will find other forum cms.

  • x00x00 MVP
    edited August 2014

    Tbh you may struggle to find software that is tested on IdeaWebServer, in fact I'm trying to remember if I've even heard of it before.

    is there any particular reason to use it? Apache is widespread. So it is not difficult to find a host.

    grep is your friend.

  • Are you Polish? this seem to be some fork of Apache, only run on some Polish ISPs. But as the server is not available to install it can't be tested against.

    I have no idea how stable it is.

    grep is your friend.

Sign In or Register to comment.