Jump to:

4938 Posts in 16827 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Error: Undefined Variable "base"

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1091 Views
  • lise
    Avatar
    Community Member
    47 Posts

    Error: Undefined Variable "base" Link to this post

    I have a SilverStripe 2.3.3 installation on a shared server.
    It runs fine with the default "mysite" project and templates.

    But with our customized templates (which work fine on a standalone machine) , I get a

    "Undefined Variable: base" error

    with the last trace messages:

    include(/vservers/lise/htdocs/SilverStripe/silverstripe-cache/.cache.vservers.lise.htdocs.SilverStripe.themes.liseSite.templates.Page.ss)
    Line 354 of SSViewer.php

    # SSViewer->process(Object id #27)
    Line 175 of Controller.php

    # Controller->handleAction(Object id #10)
    Line 129 of RequestHandler.php

    Do you know where/how this $base variable is set?

    Any help/pointer would be highly appreciated.
    Thanks,
    Lise

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Error: Undefined Variable "base" Link to this post

    Is it complaining about something in your template? Whats in that Page.ss file?

  • lise
    Avatar
    Community Member
    47 Posts

    Re: Error: Undefined Variable "base" Link to this post

    Sorry for the confusion. I thought (wrongly) that the variable was in SSViewer.php . It was a problem in our template. My apologies

    1091 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.