ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Restore problem


  • 2011-01-19 14:20:36

    Restore problem

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    Operating system ATutor is installed on -
    ATutor version - 2.0.2
    Patch #s applied - none so far
    ATutor theme name - default
    PHP version - 5.2.9
    MySQL version -
    Webserver & version - Apache/1.3.41 (Unix)
    Copies of error messages - following
    Changes to default settings - none
    Web browser being used - IE8

    Attempting to Restore into 2.0.2 a Backup created in 1.6.3.
    Created the course backup in 1.6.3 and Downloaded it to my local machine.
    Uploaded the file from local machine into 2.0.2 using the Upload function.
    On using Restore, after selecting "All material" and
    pressing "Restore" I get the following warnings and can progress no further:

    Warning: Invalid argument supplied for foreach() in /home/design92/public_html/ATutor2/mods/_core/modules/classes/Module.class.php on line 759

    Warning: Cannot modify header information - headers already sent by (output started at /home/design92/public_html/ATutor2/mods/_core/modules/classes/Module.class.php:759) in /home/design92/public_html/ATutor2/mods/_core/backups/restore.php on line 39

    (Note: previously had mysql_fetch_assoc() errors reported by others and corrected by adding @ as suggested by greg in appropriate places.)

    Any ideas?

  • 2011-01-19 15:11:58

    Re: Restore problem

    When you created the content, did you happen to copy and paste from Word? This is a typical problem in such cases. Word has a tendency to replace quote marks with its own non-standard quotes that are not recognised be other standard systems.

    You can try searching through your content for quotes, and retyping them, or try using the content export tool to export out a subsections of the course content, or even indivudal pages, then reimport that content using the content import tool and see if it breaks to try to narrow down where the problem is occurring. Manage>Content>Import/Export.

  • 2011-01-19 17:50:26

    Re: Restore problem

    OMG, that's annoying.

    Reviewed every line in every file (found ms-quotes in very first page, then in no others). Corrected them. Backed up. Downloaded. Uploaded. Restored... same error as before.

    Next step: try your second suggestion. But not tonight. I'll let you know how it works out.

    Cheers.

  • 2011-01-20 10:01:18

    Re: Restore problem

    Export a backup and try creating a course on our demo server and restoring it there. You can delete the course when you're done the test.

    If it doesn't work, send me a copy of the backup.

  • 2011-01-20 10:44:33

    Re: Restore problem

    Hi Greg -
    My backup file is about 5.6MB. Your demo server is set to reject anything above 2MB.

    Chuck

  • 2011-01-20 11:49:35

    Re: Restore problem

    email it to me.

  • 2011-02-07 14:43:49

    Re: Restore problem

    Problem solved...

    Abandoned all previous attempts to install 2.0.2. Changed host and server. Then the new installation and restore of course content proceeded smoothly.

    Thanks Greg!