Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Course or activity not accessible. #48

Open
rajeshr0288 opened this issue May 25, 2023 · 1 comment
Open

Course or activity not accessible. #48

rajeshr0288 opened this issue May 25, 2023 · 1 comment

Comments

@rajeshr0288
Copy link

line 336 of /admin/tool/coursearchiver/classes/processor.php: call to delete course()

Default exception handler: Course or activity not accessible. Debug: You are not logged in
Error code: requireloginerror

  • line 2715 of /lib/moodlelib.php: require_login_exception thrown
  • line 3161 of /lib/moodlelib.php: call to require_login()
  • line 436 of /h5p/classes/api.php: call to require_course_login()
  • line 197 of /h5p/classes/api.php: call to core_h5p\api::get_pluginfile_hash()
  • line 341 of /h5p/classes/api.php: call to core_h5p\api::get_content_from_pluginfile_url()
  • line 53 of /contentbank/contenttype/h5p/classes/contenttype.php: call to core_h5p\api::delete_content_from_pluginfile_url()
  • line 275 of /contentbank/classes/contentbank.php: call to contenttype_h5p\contenttype->delete_content()
  • line 5362 of /lib/moodlelib.php: call to core_contentbank\contentbank->delete_contents()
  • line 5164 of /lib/moodlelib.php: call to remove_course_contents()
  • line 336 of /admin/tool/coursearchiver/classes/processor.php: call to delete_course()
  • line 276 of /admin/tool/coursearchiver/cli/coursearchiver.php: call to tool_coursearchiver_processor->execute()
Syxton added a commit that referenced this issue Oct 4, 2023
Syxton added a commit that referenced this issue Oct 4, 2023
* Update processor.php

change to GENERAL_MODE to make more predictable temp file storage

Fixed issue where exact duplicate backups would have multiple db entries and show up multiple times on Archives page.

Optimized code

* fix for #52

* add a session keep alive iframe for long running processes

Possible fix for #48
@Syxton
Copy link
Owner

Syxton commented Oct 4, 2023

@rajeshr0288 did this happen on a long running task? I believe your session might have timed out causing you to lose the permissions needed to continue. I have added a method of keeping the session alive during the process. This might fix your issue. Look at the latest release 4.1.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants