2:
Re: LAMS 2.0 - Share Resources - Add Single File
By: Fiona Malikoff
|
In response to 1 | 02/01/07 06:52 AM | ||
Kris,
The file is uploaded when you click the "Add Single File" button (not the link, the button on the very bottom of the screen). It all happens through the magic of AJAX I think. Now where the file is stored is tricky. It is stored in the content repository. On Windows this is normally C:\lams\repository\. But you won't find it under the name that it was called when you uploaded it. All the files in the content repository are stored using a numeric id. I suspect that the lack of file isn't the problem. If the file was just missing on disk, you will get an error more like: " Sorry, there as been an error. There is a problem processing this request. Close the browser window and try again. If the problem persists please contact your system administrator or the technical forums on http://lamscommunity.org/. I think the error is more likely to be related to the user's role. As each tool is its own web-app, it also has its own security settings. Given that the error you get is a security/role error, I think there may be a bug there. I've tried a few "likely" combinations but I haven't been able to reproduce the problem. Could you run the following sql against your database, replacing "mmm" with the login name of the user who had the problem? SELECT u.login login, o.NAME group, r.NAME role mmm Playpen AUTHOR Now as for the grammar, I've changed the message to: "Your current role does not allow you to view this page. Please contact your system administrator if you believe you should have be given access to this page." Is that good enough? It is 10:31 PM at night and its a bit late to check with Mum. She always corrected my grammar back in my schooldays and is much more reliable than most computerised grammar checkers. <grin> Fiona Posted by Fiona Malikoff |
|
|||||||||||||||
|
|||||||||||||||
|
Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum