Hi all,
i ahve been trying to create a backup and restore functionality for a custom modue, and altough it seems quite simple, after i add the:
$this->add_step(new backup_moduçe_activity_structure_step('module_structure', 'module.xml'));
in the define_my_settings() function, after that i get th:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 523800 bytes) in /home/muffles/public_html/moodle/backup/util/helper/backup_general_helper.class.php on line 190
error. I have tried to remove everything from the stepslib file, in the define_structure function, and it still returns that error. I have no idea what is wrong.
I have increased the memory_limit, cleared caches, etc, nothing worked...This is actualy not doing anything atm so...
PS: Using moodle 2.0
Thank you