[Xerte-dev] Re: Moodle integration and troubles saving projects

Ron Mitchell ronm at mitchellmedia.co.uk
Thu Jun 28 08:57:48 BST 2012


> 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. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20120628/1349bacb/attachment-0001.html>


More information about the Xerte-dev mailing list