Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.
  • Page:
  • 1
  • 2

TOPIC:

Unable to create new Xerte Online Toolkit 8 years 11 months ago #2691

  • casglur
  • casglur's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

Unable to create new Xerte Online Toolkit 8 years 11 months ago #2692

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 841
  • Thank you received: 245
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/
The following user(s) said Thank You: casglur

Please Log in or Create an account to join the conversation.

Unable to create new Xerte Online Toolkit 8 years 11 months ago #2693

  • casglur
  • casglur's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
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 :(

Please Log in or Create an account to join the conversation.

Unable to create new Xerte Online Toolkit 8 years 11 months ago #2694

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 841
  • Thank you received: 245
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/

Please Log in or Create an account to join the conversation.

Unable to create new Xerte Online Toolkit 8 years 11 months ago #2695

  • casglur
  • casglur's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

Last edit: by casglur.

Unable to create new Xerte Online Toolkit 8 years 10 months ago #2697

  • casglur
  • casglur's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
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.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Moderators: ronmjultenjjs
Time to create page: 0.066 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search