We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Original ticket http://trac.elgg.org/ticket/2474 on 40709044-07-12 by trac user javigs, assigned to unknown.
Elgg version: 1.7
Function establish_db_link:
line: if (!$dblink[$dblinkname] = mysql_connect($CONFIG->dbhost, $CONFIG->dbuser, $CONFIG->dbpass, true))[[BR]] should be: if (!$dblink[$dblinkname] = mysql_connect($dbhost, $dbuser, $dbpass, true))[[BR]]
and line: if (!mysql_select_db($CONFIG->dbname, $dblink[$dblinkname]))[[BR]] should be: if (!mysql_select_db($dbname, $dblink[$dblinkname]))
With these changes should work read & write with different connection parameters.
The text was updated successfully, but these errors were encountered:
cash wrote on 40746099-01-10
Thanks for this bug report. It has been fixed in revision [svn:6976].
Sorry, something went wrong.
cash wrote on 40803562-01-21
(In [svn:7103]) Refs #2474 - merged [svn:6976] from 1.7 branch into trunk
No branches or pull requests
Original ticket http://trac.elgg.org/ticket/2474 on 40709044-07-12 by trac user javigs, assigned to unknown.
Elgg version: 1.7
Function establish_db_link:
line: if (!$dblink[$dblinkname] = mysql_connect($CONFIG->dbhost, $CONFIG->dbuser, $CONFIG->dbpass, true))[[BR]]
should be:
if (!$dblink[$dblinkname] = mysql_connect($dbhost, $dbuser, $dbpass, true))[[BR]]
and
line: if (!mysql_select_db($CONFIG->dbname, $dblink[$dblinkname]))[[BR]]
should be:
if (!mysql_select_db($dbname, $dblink[$dblinkname]))
With these changes should work read & write with different connection parameters.
The text was updated successfully, but these errors were encountered: