This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

upgrade to MachForm 3 Fatal error


  1. rcaron
    Member

    I try to upgrade my version. But Y have this message :

    "Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 27526164 bytes) in /.../form/lib/dbbackup.class.php on line 216"

    Bu I don't know what can I do.

    Robert Caron

    Posted 12 years ago #
  2. AMurray
    Pro Member

    I'm guessing here, but I think that may have to do with your php.ini file and the memory_size_limit setting; nothing directly to do with Machform itself, but a PHP configuration error.

    This is something you can possibly change through your hosting control panel (you need to edit the file php.ini), or have your host support check and change for you.

    Posted 12 years ago #
  3. yuniar

    Ok, so when MachForm runs the upgrade script, it will try to backup your database first.
    However, if your database is too large (you have many data or other tables there?) the backup might failed, due to the memory limit being set by your hosting.

    We can skip the backup process in this case.
    To do so, simply edit your "upgrade.php" file, search around line 19 for this code:

    define('SKIP_DB_BACKUP',false);

    change it to become:

    define('SKIP_DB_BACKUP',true);

    then try to run the upgrade script again.


    MachForm Founder

    Posted 12 years ago #

RSS feed for this topic

Reply