View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000254 | WackoWiki | installer | public | 2009-01-09 15:04 | 2009-10-13 16:03 |
| Reporter | administrator | Assigned To | administrator | ||
| Priority | high | Severity | block | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Target Version | 5.0.beta | Fixed in Version | 5.0.beta | ||
| Summary | 0000254: mysqli_connect() expects parameter 5 to be long, string given | ||||
| Description | There is one thing that need to be done to fix this bug: the variable $port should have default value of 3306 for mysqli Patch included second error: Warning: mysqli_connect() expects parameter 5 to be long, string given in C:\xampp\htdocs\svn_test\db\mysqli.php on line 31 ToDo: write the given Port also in the config file | ||||
| Additional Information | if ( !isset ( $wakkaConfig["database_port"] ) ) $wakkaConfig["database_port"] = "3306"; if (!$port = trim($wakkaConfig["database_port"])) $port = "3306"; | ||||
| Tags | No tags attached. | ||||
| Attached Files | database-install.patch (550 bytes)
Index: database-install.php
===================================================================
--- database-install.php (Revision 221)
+++ database-install.php (Arbeitskopie)
@@ -238,6 +238,9 @@
case "mysqli_legacy":
require_once("setup/database_mysql.php");
require_once("setup/database_mysql_updates.php");
+
+ if ( !isset ( $wakkaConfig["database_port"] ) ) $wakkaConfig["database_port"] = "3306";
+ if (!$port = trim($wakkaConfig["database_port"])) $port = "3306";
print(" <ul>\n");
| ||||
| related to | 0000240 | resolved | administrator | replace deprecated mysql_escape_string with mysql_real_escape_string |
| related to | 0000255 | resolved | ebal | Warning: mysqli_connect() expects parameter 5 to be long, string given in \db\mysqli.php on line 31 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2009-01-09 15:04 | administrator | New Issue | |
| 2009-01-09 15:04 | administrator | Legacy | => NEW |
| 2009-01-09 17:43 | administrator | Additional Information Updated | |
| 2009-01-09 17:48 | administrator | Relationship added | related to 0000240 |
| 2009-01-09 17:48 | administrator | Status | new => confirmed |
| 2009-01-09 19:40 | administrator | File Added: database-install.patch | |
| 2009-01-09 19:42 | administrator | Description Updated | |
| 2009-01-09 19:44 | administrator | Description Updated | |
| 2009-01-10 10:31 | administrator | Relationship added | related to 0000255 |
| 2009-01-10 10:34 | administrator | Category | Database => Installer |
| 2009-02-16 15:52 | administrator | Note Added: 0000577 | |
| 2009-02-16 15:52 | administrator | Status | confirmed => assigned |
| 2009-02-16 15:52 | administrator | Assigned To | => Tann San |
| 2009-03-12 20:56 | administrator | Status | assigned => resolved |
| 2009-03-12 20:56 | administrator | Resolution | open => fixed |
| 2009-03-12 20:56 | administrator | Fixed in Version | => 5.0.0 |
| 2009-03-12 20:59 | administrator | Assigned To | Tann San => administrator |
| 2009-10-13 16:00 | administrator | Target Version | 5.0.0 => 5.0.beta |
| 2009-10-13 16:03 | administrator | Fixed in Version | 5.0.0 => 5.0.beta |
| 2010-03-08 10:14 | administrator | Category | Installer => installer |