phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [bug #4311] xml export / lang file caused an erro


From: nobody
Subject: [Phpgroupware-tracker] [bug #4311] xml export / lang file caused an error
Date: Mon, 21 Jul 2003 12:09:58 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030626

=================== BUG #4311: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4311&group_id=509

Changes by: Ralf Becker <address@hidden>
Date: Mon 07/21/2003 at 18:09 (Europe/Berlin)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
This has been fixed in CVS and should be available in the next
release.



=================== BUG #4311: FULL BUG SNAPSHOT ===================


Submitted by: knackw                  Project: phpGroupWare                 
Submitted on: Tue 07/15/2003 at 12:23
Category:  eTemplates                 Bug Group:  0.9.16 pre RC             
Severity:  5 - Major                  Priority:  Normal                     
Resolution:  Fixed                    Assigned to:  ralfbecker              
Status:  Closed                       Component Version:  ZIP               
Platform Version:  Windows            Reproducibility:  Every Time          

Summary:  xml export / lang file caused an error

Original Submission:  Warning: 
rename(C:Apache2htdocstmg_www2www.gw.tmghts.de/tmg_pv/templates/default/index.xet,C:Apache2htdocstmg_www2www.gw.tmghts.de/tmg_pv/templates/default/index.old.xet):
 File exists in 
C:Apache2htdocstmg_www2www.gw.tmghts.deetemplateincclass.editor.inc.php on line 
541

class.editor.inc.php

line 538

changes from

                        if (file_exists($file))
                        {
                                rename($file,$old_file);
                        }

to

                        if (file_exists($file))
                        {
                                if (file_exists($old_file))
                                {
                                    unlink($old_file);
                                }
                                rename($file,$old_file);
                        }


Follow-up Comments
*******************

-------------------------------------------------------
Date: Mon 07/21/2003 at 18:09       By: ralfbecker
This has been fixed in CVS and should be available in the next
release.

-------------------------------------------------------
Date: Fri 07/18/2003 at 13:03       By: None
it would be nice, even if you would change the following too

class.db_tools.inc.php

line 632 

from

if (is_writable(PHPGW_SERVER_ROOT."/$app/setup"))
{
 rename($file,PHPGW_SERVER_ROOT."/$app/setup/setup.old.inc.php");
}

to

$old_file = PHPGW_SERVER_ROOT."/$app/setup/setup.old.inc.php";
if (is_writable(PHPGW_SERVER_ROOT."/$app/setup"))
{
    if (file_exists($old_file))
    {
       unlink($old_file);
    }
    rename($file,$old_file);
}

class.db_tools.inc.php

line 566

from

if (is_writable(PHPGW_SERVER_ROOT."/$app/setup"))
{
   rename($file,PHPGW_SERVER_ROOT."/$app/setup/tables_current.old.inc.php");
}

to

$old_file = PHPGW_SERVER_ROOT."/$app/setup/tables_current.old.inc.php";
if (is_writable(PHPGW_SERVER_ROOT."/$app/setup"))
{
    if (file_exists($old_file))
    {
        unlink($old_file);
    }
    rename($file,$old_file);
}

class.db_tools.inc.php

line 741

from

rename($file_update,PHPGW_SERVER_ROOT."/$app/setup/tables_update.old.inc.php");

to

$old_file = PHPGW_SERVER_ROOT."/$app/setup/tables_update.old.inc.php";
if (file_exists($old_file))
{
   unlink($old_file);
}
rename($file_update,$old_file);


class.soetemplate.inc.php

line 780

from

if (file_exists($file))
{
   rename($file,"$dir/phpgw_$lang.old.lang");
}

to

$old_file = "$dir/phpgw_$lang.old.lang";
if (file_exists($file))
{
   if (file_exists($old_file))
   {
       unlink($old_file);
   }
   rename($file,$old_file);
}

class.soetemplate.inc.php

line 612

from

$file = "$dir/etemplates.inc.php";
if (file_exists($file))
{
   rename($file,"$dir/etemplates.old.inc.php";);
}

to

$file = "$dir/etemplates.inc.php";
$old_file = "$dir/etemplates.old.inc.php";
if (file_exists($file))
   {
      if (file_exists($old_file))
      {
         unlink($old_file);
      }
      rename($file,$old_file);
   }





CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4311&group_id=509

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]