[Xerte-dev] Re: Moodle integration and troubles saving projects
Pat Lockley
patrick.lockley at googlemail.com
Thu Jun 28 13:32:48 BST 2012
USER-FILES contains 1 folder for each project
(id)-(creator)-(template)
A shared project will share one folder.
On Thu, Jun 28, 2012 at 1:27 PM, Jose Diaz <xt4mhz at yahoo.com> wrote:
> Hi Ron.
>
> I added at the top of the "config.php" file the line
> "require("/var/www/moodle/config.php");" and the projects are saved know.
>
> I tested adding some images to title pages and all of them are saved into
> the media folder as expected.
>
> A question:
>
> Each time a user (profesor) creates a project a directory in "USER-FILES"
> will be created? Or it should be into the unique "ID-profesor-Nottinghman"
> directory?
>
> This is the content of "USER-FILES" after creatin two more projects:
>
> drwxrwxrwx 3 www-data www-data 24 2012-06-27 18:10 1-guest-Nottingham
> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:05 2-admin-Nottingham
> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:12 3-profesor-Nottingham
> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:14 4-profesor-Nottingham
> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:45 5-profesor-Nottingham
> drwxrwxrwx 3 www-data www-data 24 2012-06-28 07:45 6-profesor-Nottingham
> drwxrwxrwx 3 www-data www-data 24 2012-06-28 07:50 7-profesor-Nottingham
>
> The directories "6-profesor-Nottingham" and "7-profesor-Nottingham" are new
> after creating two more projects.
>
> Thanks for the help.
>
> José.
>
> --
> Lic. José Gregorio Díaz Unda.
> Asesor de Tecnologías de Información y Comunicación.
> Tel.: 58.0412.5518085
> Skype: xt4mhz
> Web: www.usb.ve - jgdu.blogspot.com
> ________________________________
> De: Ron Mitchell <ronm at mitchellmedia.co.uk>
> Para: 'Jose Diaz' <xt4mhz at yahoo.com>; 'For Xerte technical developers'
> <xerte-dev at lists.nottingham.ac.uk>
> Enviado: Jueves, 28 de junio, 2012 3:27:48
> Asunto: RE: [Xerte-dev] Moodle integration and troubles saving projects
>
>> Thats why "profesor" is repeating but I dont know why<
> This is normall - all project folders contain the username as well as the id
> and template
>
>> BUT the files are not saved<
> Try adding the path to your moodle config at the top of the xot config.php
> e.g.
> require("/var/www/moodle/config.php");
>
> Test by creating a new LO. Let us know if that resolves the issue?
>
> HTH
> Ron
>
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Jose Diaz
> Sent: 28 June 2012 04:21
> To: For Xerte technical developers
> Subject: [Xerte-dev] Moodle integration and troubles saving projects
>
> Hi guys, I hope you be ok.
>
> Recently I installed XOT from trunk and did the integration process for
> MOODLE.
>
> The workflow for login is working well.
>
> The problem is when I login in to MOODLE and visit XOT installation, I
> create a project and publish (save) it, BUT the files are not saved. When I
> get back to XOT (after MOODLE login), the project list is empty. However,
> the directory in "USER-FILES" for the user is created too.
>
> Some additional info:
>
> 1. Installation directories:
>
> MOODLE: /var/www/moodle
> XOT: /var/www/xot-demo
>
> 2. Content and permissions into "USER-FILES":
>
> drwxrwxrwx 3 www-data www-data 24 2012-06-27 18:10 1-guest-Nottingham
> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:05 2-admin-Nottingham
> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:12 3-profesor-Nottingham
> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:14 4-profesor-Nottingham
> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:45 5-profesor-Nottingham
>
> Note: "profesor" is the user used to login to MOODLE and visit XOT. Each
> time I try to create LO from XOT, a new directory is created for the same
> user. Thats why "profesor" is repeating but I dont know why.
>
> The contents into "5-profesor-Nottingham" are:
>
> /var/www/xot-demo/USER-FILES/5-profesor-Nottingham# ls -al
> total 12
> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:45 .
> drwxr-xr-x 8 www-data www-data 64 2012-06-27 22:45 ..
> -rw-rw-rw- 1 www-data www-data 868 2012-06-27 22:47 data.xml
> drwxrwxrwx 2 www-data www-data 1 2012-06-27 22:45 media
> -rwxrwxrwx 1 www-data www-data 868 2012-06-27 22:48 preview.xml
> What could be wrong?
>
> Thanks a lot in advance.
>
> Take care.
>
> José.
>
> --
> Lic. José Gregorio Díaz Unda.
> Asesor de Tecnologías de Información y Comunicación.
> Tel.: 58.0412.5518085
> Skype: xt4mhz
> Web: www.usb.ve - jgdu.blogspot.com
>
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it. Please do not
> use, copy or disclose the information contained in this message or in any
> attachment. Any views or opinions expressed by the author of this email do
> not necessarily reflect the views of the University of Nottingham.
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it. Please do not
> use, copy or disclose the information contained in this message or in any
> attachment. Any views or opinions expressed by the author of this email do
> not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>
More information about the Xerte-dev
mailing list