Help in many respects

Help in many respects

by James Cosentino -
Number of replies: 5

Hi all (especially Martin...smile)

I have been playing with Moddle a while now and love it. However, I am having a number of issues which a seasoned coder may be able to help me with. I'll list them below...

  1. I have set my automatic backup to run at 12:30 am every day. I left the text box blank so the back ups should go to the default directories. However, when I check the files for the site and each of the file directories for the courses, there are no files. Where should I be looking?
  2. The automatic e-mail function in the dialogue module does not seem to work.
  3. I cannot seem to delete a course, although I can hide it.
  4. When I restore a course, not all information is restored. The separate modules I have used return, but the descriptions for each of the weeks/units does not come through.
  5. I am getting the following error message on the index page: Notice: Undefined index: HTTP_REFERER in /mnt/web_a/d28/s17/a000ggt7/www/

Any help would be most appreciated...

James

Average of ratings: -
In reply to James Cosentino

Re: Help in many respects

by Eloy Lafuente (stronk7) -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi James,

Some comments about your problems:
  1. When you leave the destination dir blank, every backup is saved in every course file area, inside the "backupdata" directory. Anyway, can you see the Logs page (from Administration/Backup) to see the status of your scheduled backups?
  2. No idea, sorry. Perhaps you should post this in this forum.
  3. Why, can you specify a bit more your problem, the synthoms and some screenshots, please? Perhaps you should send all that info here.
  4. If you turn on debug (in Administration/Variables), do you see any notices or warnings? Can you send me (privately) a copy of your course to check it in my test server?
  5. Can you try turning off "Secure Forms" in your Admin/Variables page? Perhaps this helps you.


And this is all, ciao smile
In reply to Eloy Lafuente (stronk7)

Re: Help in many respects

by James Cosentino -

Thanks, Eloy!

I have checked in every directory of every course and can find no backup data. I ensured the secure forms were turned off and I ensured the main folder is set at 0777. I even set up a cron-for-Windows to make sure the cron happens (I did this today, after experiencing the problems).

I turned the debugging on and saw nothing when I tried to delete a course. I am sending a PDF to show you.

Any help would be most appreciated.

James

In reply to James Cosentino

Re: Help in many respects

by Siegwart Mayr -

1. Do not forget to set Schedule, Active = Yes, right above the days and the time to execute the backup.  It's easily missed.  If this is not active, the backup does not happen, no matter how many days you have marked for backup.

In reply to Siegwart Mayr

Re: Help in many respects

by James Cosentino -

I have done so. I have also set up a cron process. Nothing. Arrrrrrh....

Thanks,
James

In reply to James Cosentino

Re: Help in many respects

by Eloy Lafuente (stronk7) -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi James,

If you cannot see any created "backupdata" dir, you have your cron process running and scheduled backups activated, the all should work fine.

But, obviously, something is happening with your scheduled backups. And it should occur in its initial steps. So, determining where (at what exact step) the process dies, we'll be able to examine the code and try to solve it.

Please, can you try this?

  1. Activate debug in your server.
  2. Try to make a backup of your course manually. Does it finish? It the answer is yes, please send me the backup file and the COMPLETE backup execution html page.
  3. Go to admin/backup. You should see a "Logs" link (in the upper right corner). Click on it.
  4. Now you should see the LAST scheduled execution. It should show "Error" in red characters. Please, click on it and you will see a detailed list of its execution. Please, send me the COMPLETE html page.
  5. Invoke manually the url: http://yourserver/webclass/admin/cron.php (where "yourserver" should be your REAL server, of course).
  6. You should see some output. If one line (under the "Running backups if required..." section says "Scheduled backup seems to be running. Execution delayed" you should wait half and hour and then try it again (yo can go to "mdl_config" table and delete the "backup_sche_running" record to reset that status too).
  7. When you execute the http://yourserver/webclass/admin/cron.php you should see something like:
      Checking backup status...OK
        Getting admin info
        Checking courses
          SATYARAM Yoga and Reflexology
            Executing backup"
    .
    .
    .
    Please, send me the COMPLETE html page.

With all this info, we can investigate what's happening in your server (course, module...). Remember to execute all this stuff with debug activated!

Perhaps some module is breaking the process, or something else...

TIA and ciao smile