Re: Regarding Archive_Tar and infinite loop.

From: Date: Fri, 16 Jun 2006 14:27:39 +0000
Subject: Re: Regarding Archive_Tar and infinite loop.
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24399@lists.php.net to get a copy of this message
Hi, Ed Zenisek wrote:
Thank you so much, it works beautifully now. Sorry about the trouble, I suppose I should've got the updated file first thing, but I figured the tar.php that was bundled with the backup utility was what the utility was written around.
OK, glad to know that this helped. Replying to the list so that other people having similar problems may find the message.
----- Original Message ----- From: "Alexey Borzov" <borz_off@cs.msu.su> To: "Ed Zenisek" <ed@duskrider.com> Cc: <pear-general@lists.php.net> Sent: Friday, June 16, 2006 2:28 AM Subject: Re: [PEAR] Regarding Archive_Tar and infinite loop.
Hi, Ed Zenisek wrote:
When I run the script, I do eventually get a tar.gz file, however it only contians one .sql file repeated over and over (presumably until some internal stop mechanism kicks in and halts the script). This file is located within the 'days' folder inside the tar.gz file. It looks something like []days
    my_backup.2006-07-13.sql
    my_backup.2006-07-13.sql
    my_backup.2006-07-13.sql
    my_backup.2006-07-13.sql
    my_backup.2006-07-13.sql
    etc.
    etc.
I think I have it narrowed down to the for statement in _AddList, however I could be mistaken. for ($j=0; ($j < count($p_list)) && ($v_result); $j++) { It seems to be the only place a loop could occur.
I don't see this line in current version of Archive_Tar. Can you try upgrading the package and checking whether it fixes the problem?


« previous php.pear.general (#24399) next »