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

Bug#408804: marked as done (myphpmoney: check tables)

Your message dated Thu, 22 May 2008 13:28:34 +0100
with message-id <200805221228.m4MCSYRl006969@kmos.homeip.net>
and subject line myphpmoney has been removed from Debian, closing #408804
has caused the Debian Bug report #408804,
regarding myphpmoney: check tables
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

408804: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408804
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: myphpmoney
Version: 1.3RC3+dfsg-2
Severity: whislist


 It is necessary to always check if tables exist? This
is necessary only at first usage, for create the tables.

 My suggestion is create the tables when installing the
package. At the moment, only the data base is created.
And comment lines 44 and 45 in public_html/class/extends.class file.

 ## Create the table
//     if ($this->verif() == 2) include_once $_MPM['dir_tables'].''.$_MPM['table_lib'];
//     if ($this->verif() == 1) include_once $_MPM['dir_tables'].''.$_MPM['table_php'];

Or something more simple. Define in public_html/config/vars.inc.php file:

  *         DEFINE  0 = DISABLE
  *         DEFINE  1 = ENABLE  (default)
      define('__CHK_TABLE__',                              1);

and use a flag in public_html/class/extends.class:

var $Chk_tables		= __CHK_TABLE__;   ## 1 default check.

if  (isset($this->Chk_tables) && $this->Chk_tables == 1) {
	if ($this->verif() == 2) include_once $_MPM['dir_tables'].''.$_MPM['table_lib'];
	if ($this->verif() == 1) include_once $_MPM['dir_tables'].''.$_MPM['table_php'];

 Then put a message in the Helper window. Below  Calendar window.

"to improve performance disable checking tables in
public_html/config/vars.inc.php. To be used _after_ signup."

The program will improve performace.


Herbert Parentes Fortes Neto (hpfn)
Linux user number 416100
0x9834F79E -- http://pgp.mit.edu/

Attachment: pgpnMmaj5IJrb.pgp
Description: PGP signature

--- End Message ---
--- Begin Message ---
Version: 1.3RC3+dfsg-5+rm

The myphpmoney package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.

For more information about this package's removal, read
http://bugs.debian.org/390839 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

Marco Rodrigues

--- End Message ---

Reply to: