ATutor

Learning Management Tools







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


Crashed class


  • 2009-04-16 12:59:16

    Crashed class

    Hello. I'm running 1.6.2 with PHP 5 on my webhost. And I have all patches installed.

    I was editing content on a class and it seems to have caused a fatal error. I keep getting a 500 internal server error whenever I try to get back into the course. The webhost has worked on it and their current solution is to install a new version of ATutor. I need to keep the course alive, so I tried to restore the course content from a backup but I got the following....

    Error : PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file '/home/users/web/b1426/ez.liveonlinemathnet/ATutor/content/backups/1/02b841d61d54ae7db2b51e7833bd0692.zip'

    Where else could that file be located? Is there any other way to revert to previous content manually if I'm unable to locate that file?

    Thanks.

  • 2009-04-16 13:28:34

    Re: Crashed class!

    I just found a way to fix the crash. I just deleted the piece of content I was editing from the MySQL table and everything seems to be working again.

    However, this still highlighted the fact that the backup system didn't work. Could I still get some help in figuring out...

    1.) Where the previously-mentioned backup file is, and
    2.) How to ensure that the backup system is reliable for the future.

    Thanks for the support!

  • 2009-04-16 13:44:58

    Re: Crashed class!

    The location of the backup is correct, though you can only access those files through ATutor itself, or as the system's root user. There's never been a problem with backups.

    I'm curious why the content crash things. Did you cut and paste from some other app? is there something other than text and images?

    Pasting content from MS word in particular, can break things. Its an MS problem rather than an ATutor one. If you must paste, paste to a plain text editor, then copy and past from there into your content.

  • 2009-04-16 13:54:13

    Re: Crashed class!

    Greg,

    To be honest, I don't remembeer what I was doing that caused the crash. It happened 5 days ago and my webhost has been suppposedly working on it since. I might have been pasting from Word. I just can't remember exactly.

    On a related note... Do you know of any decent webhosts? :)

    Now that I'm up back up and running though, my content doesn't display anymore. It's still in the MySQL tables, but it doesn't display under the "Content Navigation" heading.

    Any ideas about that?

    As always, thanks for the help.

  • 2009-04-16 13:56:13

    Re: Crashed class!

    One more thing. I checked the file location of the backup that I originally posted about, and there is no file there.

    That's what I meant by wanting to ensure that future backups are successful.

    Thanks.

  • 2009-04-16 14:09:02

    Re: Crashed class!

    I've not heard of a missing backups problem before. Its unlikely to be an ATutor issue. More likely a misconfiguration on the host. We have many system running ourselves without any problems.

    Not all hosts are created equal. We don't endorse hosts, so you might try looking through those listed on the Service page of atutor.ca.

    It's difficult to say what's going on with your content. If you have been pasting from Word, results can be very unpredictable. There's not much we can do to help with that, except suggesting not pasting.

  • 2009-04-16 16:31:12

    Re: Crashed class!

    Ok. How could I check that the configuration is set up properly?

    Thanks a lot!

  • 2009-04-16 20:02:06

    Re: Crashed class!

    See the Requirements and Recommendations section of the Administrator Handbook. Create a phpinfo() file to see you php settings.

  • 2009-04-16 20:51:56

    Re: Crashed class!

    Greg,

    Ok. I checked it out and the only things that I can see that might be of issue are...

    magic_quotes_gpc = Off (mine is set to "on")
    register_argc_argv = Off (mine is set to "on")
    zlib.output_compression = On (mine is set to "off")


    Would any of these settings conribute to content backups either not being made, or place in another location?

    Thanks.

  • 2009-04-16 21:00:27

    Re: Crashed class!

    You can't make backups without zlib

    zlib.output_compression = On (mine is set to "off")


    ...but set them all correctly.

  • 2009-04-17 09:08:13

    Re: Crashed class!

    The content folder is emptied during the ATutor installation. So, another possibility is your web host might re-install ATutor on the same content folder that results in the missing of the backup files from old installation. In new installation, you still can see the backups listed in the backup page. This information is saved in mysql tables. But the physical backup files in content folder has already gone from content folder.

    You might want to download the backup files and save it at your own location to avoid this headache.