View Issue Details

IDProjectCategoryView StatusLast Update
0004616mantisbtbugtrackerpublic2004-11-06 06:27
Reportermasc Assigned Tograngeway  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformX86OSWindowsOS VersionWin2K
Product Versiongit trunk 
Fixed in Version0.19.1 
Summary0004616: Variable $g_port generates a warning
Description

In the CVS HEAD the $g_port variable is deleted from the config_inc.php but it's still referenced in database_api.php and then it generates a warning.

TagsNo tags attached.

Activities

grangeway

grangeway

2004-09-27 14:32

reporter   ~0007774

doh

Paul

masc

masc

2004-09-28 01:46

reporter   ~0007777

Paul just a clarification.
In my database_api.php from line 361:

# --------------------
if ( !isset( $g_skip_open_db ) ) {
    if ( OFF == $g_use_persistent_connections ) {
        db_connect( $g_hostname, $g_db_username, $g_db_password, $g_port, $g_database_name );
    } else {
        db_pconnect( $g_hostname, $g_db_username, $g_db_password, $g_port, $g_database_name );
    }
}

If you enable the warning messages ($g_display_errors), we get the following message on every page:
SYSTEM NOTICE: Undefined variable: g_port

masc

masc

2004-09-28 01:50

reporter   ~0007778

Sorry Paul,
from your bugnote I didn't understand we had already fix in CVS the problem, so I reopened the bug to give to you more details.
Dont' care. The bus is fixed.

Marcello