Jump to:

23453 Posts in 18904 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » page not found error

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 1250 Views
  • yashd
    Community Member
    3 Posts

    page not found error Link to this post

    I am a codeIgniter developer and I just started using Sapphire framework and I cant help myself stop drawing parallels between the two but i fail miserably.

    I created a job.php file inside mysite/code and wrote the below code inside the same:


    class Job extends DataObject {

    class Job_Controller extends Controller {

    function order()
    echo "hi";


    And when i write --> localhost/silverstripe/job it says "Page not found"

    Please help me here !!!

  • JonoM
    Community Member
    103 Posts

    Re: page not found error Link to this post

    Are you only using the Sapphire framework or the CMS also? I've never worked with just the framework but if you're using the CMS I think you need to take a few steps back and start at the start - work through these tutorials and you should get a solid understanding of the basics http://doc.silverstripe.org/sapphire/en/tutorials/

    (If you put localhost/silverstripe/job in your browser SilverStripe is going to try to run a function called 'job' on a page with a url of 'silverstripe' or look for a page called 'job' that's nested under the silverstripe page in the site tree (not sure which takes precedence). It's not finding either so you're getting a 404.)


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.