Report any technical problems you discover and discuss solutions.

Unable to create new Xerte Online Toolkit

Plus d'informations
il y a 11 ans 3 mois #2691 par casglur
Unable to create new Xerte Online Toolkit a été créé par casglur
Dear Community

Sorry, this is my second post today...

My environment is:

OS: CentOS Linux release 7.0.1406 (Core)
Apache Version: Apache/2.4.6 (CentOS)
Xerte Toolkit Version: 2.1 (git git-103-gebc6f34)

When a user clicks the button to create a new Xerte Online Toolkit from the area on the right hand side following login the edit window appears but the details of the Toolkit do not appear. I can see from the apache error_log that Xerte is trying to find a preview.xml file that should exist at /var/www/html/xertetoolkits/USER-FILES/75-salt-xerte-1-Nottingham/preview.xml

[Tue Apr 28 15:45:12.870152 2015] [core:info] [pid 9963] [client xxx.xxx.18.250:57072] AH00128: File does not exist: /var/www/html/xertetoolkits/USER-FILES/75-salt-xerte-1-Nottingham/preview.xml, referer: myserver.swansea.ac.uk/xertetoolkits/mod...te/engine/wizard.swf

The directory /var/www/html/xertetoolkits/USER-FILES/ is empty other than a readme.txt file. It looks like Xerte is not creating the directory structure under /var/www/html/xertetoolkits/USER-FILES/ that the process requires.

I can't see any reason why Xerte would not be creating the required files. I've tried removing cookies, restarting Apache, checking the permissions on the folders (Apache:Apache) but to no avail.

Does anyone have any idea what may be going wrong?

thanks in advance

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 11 ans 3 mois #2692 par ronm
Réponse de ronm sur le sujet Unable to create new Xerte Online Toolkit
When you create a new project using the main xot project template a sub folder for that new project is created inside USER-FILES in the format of ID-USERID-TemplateName then inside that preview.xml and data.xml and a media folder are created. You've mentioned checking owner (Apache:Apache) but what about write permissions? Did you check all the prompts about directory permissions during installation?
Try changing write permissions, refresh and try again by creating a new template. Delete the previous attempt as without the folder and xml files that won't work.
HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/
Les utilisateur(s) suivant ont remercié: casglur

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 11 ans 3 mois #2693 par casglur
Réponse de casglur sur le sujet Unable to create new Xerte Online Toolkit
Thanks Ron for the suggestion

Permissions on the folder are set to 777:
drwxrwxrwx. 3 apache apache 45 Apr 28 15:20 USER-FILES

The crazy thing is that this *was* working originally, I successfully created toolkits as Guest and as local DB users. I made an edit to the original index.php file to solve the logout issue in my previous post and nothing else...

-rwxrwxrwx. 1 apache apache 9990 Apr 28 15:16 index.php

I'm a bit stumped as to why the situation has arisen to be honest. I can't see any errors relating to the application being unable to create the files in any logs either :(

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 11 ans 3 mois #2694 par ronm
Réponse de ronm sur le sujet Unable to create new Xerte Online Toolkit
So are you using LDAP now?
If you change back to guest or db authentication and refresh does it then work?
From memory I don't recognise /75-salt-xerte-1-Nottingham/ unless you've created a user with username salt-xerte-1? The format should be /75-username-Nottingham/
If the problem is only with LDAP you might need to debug your LDAP settings.
HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 11 ans 3 mois - il y a 11 ans 3 mois #2695 par casglur
Réponse de casglur sur le sujet Unable to create new Xerte Online Toolkit
Sorry Ron, I should have said that I am only using db authentication at the moment - not brave enough to try LDAP just yet :) salt-xerte-1 is a local db user.

I think I'm going to have to ZAP the installation and start again... thanks for the suggestions

Regards
AL
Dernière édition: il y a 11 ans 3 mois par casglur.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 11 ans 3 mois #2697 par casglur
Réponse de casglur sur le sujet Unable to create new Xerte Online Toolkit
Hi Ron,

Good news is that re-installing the application, and applying the little fix you mentioned to the home page appears to have made all of the problems go away and Xerte appears happy.

Thanks for all of your help.

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ronmjultenJohnSmith
Temps de génération de la page : 0.149 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo