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.
Options

Issues with CakePHP and VanillaForums regarding /app/webroot

In CakePHP, you put the Vanilla Forum folder inside the /app/webroot directory and that takes care of things for you.

My url: http://whatever.com/forums = VanillaForums

However, the links on the actual forums are: http://whatever.com/app/webroot/forums/discussion/whatever

The links should be http://whatever.com/forums/discussion/whatever.

Comments

  • Options
    peregrineperegrine MVP
    edited May 2013

    is www.whatever.com your address? or are you sending us to a clickad site.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    $Configuration['Garden']['WebRoot'] = FALSE; // You can set this value if you are using htaccess to direct into the application, but the correct webroot isn't being recognized.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    I put $Configuration['Garden']['WebRoot'] = FALSE; into /conf/config.php, didn't work.

    Whatever.com is not my site, it was just an example.

  • Options

    I think the gist is put your root in.

    $Configuration['Garden']['WebRoot'] = "Your Root";

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    Nope, unfortunately that doesn't work either :\

  • Options

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    Not working either. I don't even know if it's worth bothering with at this point.

  • Options

    I don't even know if it's worth bothering with at this point

    if you don't know, we don't know. :)

    btw

    http://en.wikipedia.org/wiki/Example.com

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    DiamonsDiamons New
    edited May 2013

    Will keep in mind for the future, thanks. I wonder how much $$ those guys have already made off of people linking their site.

  • Options

    @Diamons said:
    Will keep in mind for the future, thanks. I wonder how much $$ those guys have already made off of people linking their site.

    more than I made by clicking on it :)

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    like so

    $Configuration['Garden']['WebRoot'] = 'app/webroot';
    $Configuration['Garden']['StripWebRoot'] = TRUE;
    

    grep is your friend.

  • Options

    @Diamons said:
    Not working either. I don't even know if it's worth bothering with at this point.

    Consider doing a little more debugging than 'it doesn't work, please help'

    There was an error rendering this rich post.

Sign In or Register to comment.