Problem with course backup an duplicating content after migration to new server

Problem with course backup an duplicating content after migration to new server

par Frank Wittemeier,
Nombre de réponses : 2

Hello,

I migrated moodle 3.5.2 to an new server, changed the settings in config.php (database, URL etc.) and changed the URL in the database with the /admin/tool/replace/index.php script. I can login an use moodle.

But I can‘t duplicate material or activities an I can‘t make a backup of a course (blank page).

When duplicating material or an activitie I get an overlay with undefined and an error in the console for the file:

/lib/ajax/service.php?sesskey=Ll4E9bKBDH&info=core_course_edit_module

{"error":"Fehler in der Kodierung gefunden, den nur ein Programmierer korrigieren kann: Invalid json in request: Syntax error","errorcode":"codingerror","stacktrace":null,"debuginfo":null,"reproductionlink":null}

Server ist Ubuntu 18.04, apache 2.4, php 7.2

I can‘t find the error, thanks for help

  Frank


Moyenne des évaluations  -
En réponse à Frank Wittemeier

Re: Problem with course backup an duplicating content after migration to new server

par Howard Miller,
Avatar Core developers Avatar Documentation writers Avatar Particularly helpful Moodlers Avatar Peer reviewers Avatar Plugin developers

Switch on Debugging (up "full"), do it again, check your web server's error log.

En réponse à Howard Miller

Re: Problem with course backup an duplicating content after migration to new server

par Frank Wittemeier,

Yes, that was the kick in the ass I needed clin d’œil It was a PHP error in an activity I installad to test it and show it to some teachers.

Thanks for the help (next time I will try it myself)

  Frank