Hi,

I have been looking deeper into the problem of data being transferred from
the staging server to the live server without approval.  I added the -w flag
to the downgrade_unapproved.pl script and a whole host of warnings came up
(most easily fixed with minor syntax changes).  The one that concerned me
was a repeating warning of:

Use of uninitialized value at /var/lib/aegir/bin/downgrade_unapproved.pl
line 140.

This corresponds to the following bit of code:

#BUILD THE IN BIT FOR
#update repligard set updated=NULL where id in (1,2,3,4);
# this will make the updated > than changed and hence ignore it.
#
#ALSO BUILD
#update repligard set updated=0 where id in (5,6,7) for the force bit.

$re_disable_in_string = "";
while (($pageid) = $sth->fetchrow_array()) {
  if (($re_status{"page:".$pageid} eq "NOT") ||
(!$re_status{"page:".$pageid})) { # This is line 140
      $re_disable_in_string .= ",".$pageid;
  }
}

An entry in the $re_status hash corresponding to a number of $pageid entries
appear not to have been defined.

Can anyone comment on this or is this nothing to worry about?

I have considered using YAMP, but it appears many of the same problems still
exist and to be honest I really dont want to make changes on a live server
without concrete instructions to follow.

Cheers

Mike.
------------------------------------------
Michael Ross
Pan Leeds Web Developer

Mill House               Tel: 0113 3057335
Troy Road                Fax: 0113 3057167
Horsforth, Leeds
LS18 5TN

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to