[Top][All Lists]
[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: |
Fri, 18 Jul 2003 07:03:55 -0400 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) |
=================== BUG #4311: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4311&group_id=509
Changes by: Anonymous user Date: Fri 07/18/03 at 07:03
------------------ Additional Follow-up Comments ----------------------------
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);
}
=================== BUG #4311: FULL BUG SNAPSHOT ===================
Submitted by: knackw Project: phpGroupWare
Submitted on: Tue 07/15/03 at 06:23
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: 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: Fri 07/18/03 at 07: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/