Supporting each other

Community forums

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

TOPIC:

session expired error 2 months 1 week ago #8902

  • teacherjonny
  • teacherjonny's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 39
  • Thank you received: 0
I entered JavaScript code in the script section and when I published, I got a session expired error telling me to log in again and I did lose all my work. How do I prevent that?
Thank you.

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

session expired error 2 months 1 week ago #8904

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1293
  • Thank you received: 308
The session expire error normally should not occur as long as you have the editor open (starting from Xerte 3.12) but by default a session expires after about 24 minutes.

It also might indicate an error or other issue. Do you see any error in de browser console (F12)

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

session expired error 2 months 6 days ago #8907

  • teacherjonny
  • teacherjonny's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 39
  • Thank you received: 0
Thanks for the response. No, there's no error with F12. It seems to not be a function of time. I am also having trouble uploading my saved files from a previous working install that I saved prior to the fresh install. I'll check the web to see if I can find a solution that others with the upload problem may have had.
I get the time out error both when I include a code snippet and when I use the script option.
Thank you for your help

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

session expired error 2 months 6 days ago #8908

  • teacherjonny
  • teacherjonny's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 39
  • Thank you received: 0
My mistake! There was an error. I got a 403 (denial) error. . it wouldn't run xerte/editor/upload.php.1
I assume that is because the htaccess file prohibits php files. What do you suggest I do?
Thank you.

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

session expired error 2 months 6 days ago #8909

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1293
  • Thank you received: 308
There shoudl be no .htaccess file prohibiting the excution of php files for that folder. There is an .htaccess file in the xerte installation that prohibits a file listing.

And there is a .htaccess file in the USER-FILES folder prohibiting the execution of php code (and other files).

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

session expired error 2 months 3 days ago #8914

  • teacherjonny
  • teacherjonny's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 39
  • Thank you received: 0
Thanks,Tom.
Should this code be in the index file of the user files folder?
<html>
<head>
<title>Directory listing blocked</title>
</head>
<body>
<h1>Directory listing blocked</h1>
</body>
</html>

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

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

Search