I was stoopid to update to 3/20 dev version in a middle of grading :(

Since my local dev machine won't let me login for reason unknown for a month, I took a chance to update on the live server (stoopid!), now all the project files that students uploaded are g, g, gone from the gradebook.

Files seems to be there under /default/files, but there are just too many files without student's name (they don't listen). I don't know what to do at this point. Please advise.

It would be nice if there were a way to use subdirectories per class per project.

Comments

madflute’s picture

Status: Active » Closed (fixed)

D'oh!

Very sorry for the false alarm aka user error. I didn't know attachment now is a separate module. I should had read it first!

Tho I did get this error:

user warning: Table 'gradebookapi_files' already exists query: CREATE TABLE gradebookapi_files 
( `uid` INT unsigned NOT NULL DEFAULT 0, `nid` INT unsigned NOT NULL DEFAULT 0, `fid` INT 
unsigned NOT NULL DEFAULT 0, `list` TINYINT unsigned NOT NULL DEFAULT 0, `description` 
VARCHAR(255) NOT NULL, PRIMARY KEY (fid, nid), INDEX nid (nid), INDEX uid (uid), INDEX fid (fid) ) 
/*!40100 DEFAULT CHARACTER SET UTF8 *mysite.com/.. .

Still it seems to be working so far.

MGN’s picture

The hazards of active development! The user warning is not a problem. When you installed the attachments submodule, you already had the table it was trying to create (from the previous version), so the install script issued a warning and otherwise did nothing.

The submodule does use subdirectories now, but just one for each class. I guess it could go one step further and put them in a subdirectory per assignment as well...