[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [bug #4354] etemplate saving errors on windows fi
From: |
nobody |
Subject: |
[Phpgroupware-tracker] [bug #4354] etemplate saving errors on windows file already exists |
Date: |
Fri, 18 Jul 2003 08:09:24 -0400 |
User-agent: |
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3.1) Gecko/20030425 |
=================== BUG #4354: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4354&group_id=509
Changes by: Dave Hall <address@hidden>
Date: Fri 07/18/2003 at 22:09 (Australia/Melbourne)
What | Removed | Added
---------------------------------------------------------------------------
Assigned to | None | ralfbecker
=================== BUG #4354: FULL BUG SNAPSHOT ===================
Submitted by: knackw Project: phpGroupWare
Submitted on: Fri 07/18/2003 at 21:15
Category: eTemplates Bug Group: 0.9.16 pre RC
Severity: 5 - Major Priority: Normal
Resolution: None Assigned to: ralfbecker
Status: Open Component Version: ZIP
Platform Version: Windows Reproducibility: Every Time
Summary: etemplate saving errors on windows file already exists
Original Submission: it would be nice, even if you would change the following
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);
}
No Followups Have Been Posted
CC list is empty
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4354&group_id=509
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/