bugphpGroupWare - Bugs: bug #4311, xml export / lang file caused an...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #4311: xml export / lang file caused an error

Submitted by:  Invalid User ID <Invalid User ID>
Submitted on:  Tue 15 Jul 2003 10:23:12 AM UTC  
 
Item Group: 0.9.16 pre RCCategory: eTemplates
Severity: 3 - NormalPriority: 5 - Normal
Status: FixedPrivacy: Public
Assigned to: Invalid User ID <Invalid User ID>Open/Closed: Closed
Component Version: ZIPOperating System: MS Windows
Reproducibility: Every TimePlanned Release: None
Fixed Release: 

Fri 18 Jul 2003 11:03:52 AM UTC, comment #1:

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);
}

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Thu 17 Jul 2003 02:30:18 AM UTCskwashdAssigned toNone=>NA

Back to the top


Powered by Savane 3.1-cleanup1