<![CDATA[ Support/Comments for AutoBackupIncremental - MODX Community Forums]]> https://forums.modx.com/thread/?thread=45126 <![CDATA[Re: Support/Comments for AutoBackupIncremental]]> https://forums.modx.com/thread/45126/support-comments-for-autobackupincremental#dis-post-259754
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 40 bytes) in /home/2/p/xxx/www/modx/manager/includes/document.parser.class.inc.php(766) : eval()'d code on line 316

Here is the snippet from line 313 to 324:

	// Private function loadObjectList.
	function loadObjectList($key='', $resource) {
		$array = array();
		while ($row = mysql_fetch_object($resource)) {
			if ($key)
				$array[$row->$key] = $row;
				$array[] = $row;
		return $array;

So it looks like it has something to do with MySql. I tried emptying the logs as per another hint on this forum, but it did not help.

I can not increase the php limit as I am on a shared host.

Disabling the autobackup removes the error.

Any help is deeply appreciated.


AndreasT Nov 02, 2007, 07:10 AM https://forums.modx.com/thread/45126/support-comments-for-autobackupincremental#dis-post-259754
<![CDATA[Re: Support/Comments for AutoBackupIncremental]]> https://forums.modx.com/thread/45126/support-comments-for-autobackupincremental#dis-post-259753
I am also looking for a way to display a waiting message or a spinning GIF to indicate that something is happening.

i think you can do making the page style for the autobackup looks like loading and add a snippet to load another url

I am sorry, but I don’t understand what you mean by this. Can you try to explain further?

There are various JS solutions that maybe could work, but I don’t know how to implement such a thing in MODx.

Maybe something like this could be used?


Thanks for any assistance.


AndreasT Sep 27, 2007, 04:12 AM https://forums.modx.com/thread/45126/support-comments-for-autobackupincremental#dis-post-259753
<![CDATA[Re: Support/Comments for AutoBackupIncremental]]> https://forums.modx.com/thread/45126/support-comments-for-autobackupincremental#dis-post-259752 xyzvisual Sep 13, 2007, 04:01 PM https://forums.modx.com/thread/45126/support-comments-for-autobackupincremental#dis-post-259752 <![CDATA[Re: Support/Comments for AutoBackupIncremental]]> https://forums.modx.com/thread/45126/support-comments-for-autobackupincremental#dis-post-259751
It is a good snippet smiley Thanks for it !

If I can allow myself, I think that it would be useful to post a message like Thanks to have patience one moment, the autosaving is in hand.” during the work of the snippet. What think about it ?]]>
Yogui3 Sep 13, 2007, 11:44 AM https://forums.modx.com/thread/45126/support-comments-for-autobackupincremental#dis-post-259751
<![CDATA[Re: Support/Comments for AutoBackupIncremental]]> https://forums.modx.com/thread/45126/support-comments-for-autobackupincremental#dis-post-259750 is there any step-by-step instructions about how to install this functionality in modx?
any help documentation available?]]>
motsmart Jan 24, 2007, 07:52 PM https://forums.modx.com/thread/45126/support-comments-for-autobackupincremental#dis-post-259750
<![CDATA[Re: Support/Comments for AutoBackupIncremental]]> https://forums.modx.com/thread/45126/support-comments-for-autobackupincremental#dis-post-259749 hi]]> xyzvisual Sep 08, 2006, 06:56 PM https://forums.modx.com/thread/45126/support-comments-for-autobackupincremental#dis-post-259749 <![CDATA[Re: Support/Comments for AutoBackupIncremental]]> https://forums.modx.com/thread/45126/support-comments-for-autobackupincremental#dis-post-259748 http://www.php.net/manual/ref.ftp.php
I like to have all the backups at one place so if the server HD craches I still have the backups at home or any other place.
and is it posible to translate the unix timestamp to understandibel time stamp?

another question (I asked this before) are these setup instructions still valid?

from you snippet line 23-26:
*  Setup:
*    1. change $modx_backup_dir to directory for zip archives and make sure read/write permission is set for directory
*    2. change $modx_backup_dir in /assets/modules/modbak/download.php file, note download.php requires full path name
*        ie /home/username/public_html/_backup/

if so then I do not understand what you mean if not maybe remove the parts that are not needed from the snippet.

[translated by google in spanish]

¿Es posible para agregar esta función del ftp para upload la reserva a un ftp server alejado? http://www.php.net/manual/ref.ftp.php
I tiene gusto de tener todas las reservas en un lugar tan si los craches del servidor HD yo todavía tienen las reservas en el país o cualquier otro lugar.
¿y es posible para traducir el timestamp de unix al grupo fecha/hora del understandibel?

¿otra pregunta (pedí esto antes) sigue siendo estas instrucciones de la disposición válidas?   
de ti línea 23-26 del snippet: 
* Disposición: 
* 1. cambio $modx_backup_dir al directorio para los archivos del cierre relámpago y se cerciora de que el permiso de lectura/grabación esté fijado para el directorio
* 2. el cambio $modx_backup_dir en el archivo de /assets/modules/modbak/download.php, nota download.php requiere nombre completo de la trayectoria
* IE /home/username/public_html/_backup/ 
si tan entonces no entiendo lo que significas si no quizá quitar las piezas que no son necesarias del snippet.

greeting DImmy]]>
Dimmy Jul 17, 2006, 04:34 AM https://forums.modx.com/thread/45126/support-comments-for-autobackupincremental#dis-post-259748
<![CDATA[Support/Comments for AutoBackupIncremental]]> https://forums.modx.com/thread/45126/support-comments-for-autobackupincremental#dis-post-259747 AutoBackupIncremental.

Use this forum to post any comments about this addition or any questions you have regarding its use.

Brief Description:
autobakup the site if this day no backups and a user is logged in manager or in specific webgroup in frontend]]>
xyzvisual Jul 15, 2006, 10:54 AM https://forums.modx.com/thread/45126/support-comments-for-autobackupincremental#dis-post-259747