FAQ
Products Showcase Download Extras Support
 
Home :: Support :: Community :: CourseLab Issues

Re: Re: (1) cannot open any modules

cannot open any modules 
Author:  Blaine Hoffmann   [Member]
Date: 12.05.2008 21:52:54
I try to open modules i have created only to get the following error message:

The module could not be opened
line: 3
Pos: 130
A semi colon character was expected

Any clues on this one! happened all of a sudden.
Blaine  
...
Re: (1) cannot open any modules 
Author:  Slav Shchinov   [Courselab Team]
Date: 23.05.2008 11:21:29
Hi, Blaine,

Perhaps you have added some text that is treated as script or smth similar. If it needs semicolon, then it is treated as script. I cannot say exactly without testing it with debugger. Please send it to support@courselab.com.  
...
Re: (2) (1) cannot open any modules 
Author:  Blaine Hoffmann   [Member]
Date: 18.08.2008 18:02:11
I moved the folders (entire package) to another drive and got a new computer. Installed CourseLab, now I cannot open any of the lessons I created! I have read that renaming or even moving folders can cause trouble. I have moved all items together, not renaming any of them.

How can I open these lessons to finish/modify my work?  
...
Re: (2) (2) (1) cannot open any modules 
Author:  Nick James   [Expert]
Date: 30.08.2008 03:55:16
I haven't had any real problems like this on XP or VISTA. I transferred a few modules from my main PC to my laptop and they opened OK.
I have ocassionally had incidents where I get errors related to parts of the module failing, usually not too difficult to fix though.
I do tend to keep all the recources relevant to the Courselab modules in discrete folders so I've always got all of the graphcs and text components collated in case it does all go wrong. They're also backed up onto my SAN.
Bad experiences in the past tend to make me a little on the paranoid side about keeping backups and spare copies.  
...
Re: (2) (2) (1) cannot open any modules 
Author:  Nick James   [Expert]
Date: 30.08.2008 04:05:21
Oh is the drive the same name? If you move from C: to D: then sometimes the internal links will fail as they are absolute and only switch to relative post publishing.
One way around this would be to use a virtual drive to hold development files so that it will always be the same on any PC you have.
Alternative might be to use a memory stick and map it to an unusual drive letter that won't clash with anything else.  
...
Re: (2) (2) (2) (1) cannot open any modules 
Author:  Blaine Hoffmann   [Member]
Date: 30.08.2008 05:12:00
Figured it out! If i open the xml doc, on line 3 the text referring to the location had a specific folder/location name. I deleted it in wordpad and added the new directory location and BAM! All open perfectly!

Go figure!  
...
Re: (2) (2) (2) (2) (1) cannot open any modules 
Author:  Pramita    
Date: 09.09.2008 13:45:10
Hi,

I am facing the same problem,
The module could not be opened
line: 3
Pos: 130
A semi colon character was expected.

I tried copying the entire folder to another drive and then editing the xml as suggested, but that doesn't help either. What do i do now? any ideas?
 
...
Re: (2) (2) (2) (2) (2) (1) cannot open any modules 
Author:  Blaine Hoffmann   [Member]
Date: 09.09.2008 14:32:03
Here is where my problem was located: I moved folders. the old .xml file referred to this location:
C:\Documents\online training courselab\Intro To OSHA\1\1.xml">

I moved to this folder:
C:Documents\OSHA 10 hour\online training courselab\Intro To OSHA\1\1.xml">

A simple change in the location is all I had to do. Now you have to do this for all the .xml files. I had 3 folders containing a file named 1.xml. You have to make the change wherever it points to the old location.

That is how I did anyway,hope this helps.  
...
Re: (2) (2) (2) (2) (2) (2) (1) cannot open any modules 
Author:  Pramita    
Date: 09.09.2008 14:36:37
Thanks for your reply. can you tell me which are the .xml files that you changed?  
...
Re: (2) (2) (2) (2) (2) (2) (1) cannot open any modules 
Author:  Pramita    
Date: 09.09.2008 14:57:50
Thanks for your reply. can you tell me which are the .xml files that you changed?  
...
Re: (2) (2) (2) (2) (2) (2) (2) (1) cannot open any modules 
Author:  Blaine Hoffmann   [Member]
Date: 09.09.2008 15:56:02
I open the course folder and find 3 folders (1, 2, course images) and 2 files (coursename.wcl, imsmanifest). Some lessons only have two folders.

Open folder 1 and find the .xml file with the same name (1.xml) Open in wordpad and edit just the part of line 3 referring to the location. Copy the location directory from the address window (that is what I did).

Do this for any other folders (2,3, etc.) No .xml files are in the images folder.

Should work for you then, hopefully!  
...

Reply

You can also post this message as registered user. [Log in]
Author:
E-mail:
Subject:
Options:  Notify me if there is a new reply
Message emoticon:
Message body:
Insert smilie into text:
 
Jump to thread: