Jump to:

23376 Posts in 18176 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » Javascript Require 500 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: 825 Views
  • Tetragrammaton
    Avatar
    Community Member
    10 Posts

    Javascript Require 500 Error Link to this post

    Hey, I've got the following code in my head:

    <% require javascript(mysite/javascript/prototype.js) %>
    <% require javascript(mysite/javascript/menucontents.js) %>
    <% require javascript(mysite/javascript/anylinkmenu.js) %>
    <% require javascript(mysite/javascript/menuInit.js) %>

    They show up in the source of my page, but when I click through, I get a 500 error. Any ideas as to why?

    Thanks

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Javascript Require 500 Error Link to this post

    Check your server's error log. That'll contain more information about the 500 error (could be permissions based).

  • Tetragrammaton
    Avatar
    Community Member
    10 Posts

    Re: Javascript Require 500 Error Link to this post

    I figured it might be a file permission issue. I'll try messing with them to see if that fixes it.

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