[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 187
  • Last Modified:

Updating legacy CourseBuilder objects into db

I am updating some legacy CourseBuilder code and pages into a MSSQL backend.

I have insured that the paths are correct for the and in fact all of the graphics show up as they're supposed to.  However when I run the page and select for example an answer on a multiple choice page nothing happens.  When I display the error that the browser shows it reads that the object is undefined.


Anyone have any ideas?
0
alexhogan
Asked:
alexhogan
  • 2
1 Solution
 
mrichmonCommented:
Can you post a link to the page - your error message/question is pretty vague

Or at least some code...
0
 
alexhoganAuthor Commented:
Because of the sensitivity of the content and the closed system I can't post a link.

The code is the same as what you get when you create a question in coursebuilder.  The only difference is that I'm storing it in a db and calling it to the page.

The error I'm getting is from the browser.  On the left side of the status bar is turns to a yeild sign and then I can click on it for the dialog box that shows the error message.

When I look at the code it has all of the code blocks there and it shows that the object is being defined at the top.  The only thing that I can think of is that the accompaning js files aren't being seen from the page.  I've tried redefining the location but still nothing.
0
 
mrichmonCommented:
It sounds like you are testing in IE and getting a javascript error.  If that is the case I recommend installing Mozilla/Netscape/FireFox/etc and then go tothe page and type

javascript:

into the URL and it will bring up the javascript console and will give you a better error message to be tracking down.

Other than that there isn't much any of us can do without some sample code.

I too have sites with sensitive data, but what I have done is modified to sample data and posted that so others could see some code to help.
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now