Giter Site home page Giter Site logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Here is the fix:

Index: functions.php
===================================================================
--- functions.php       (revision 74)
+++ functions.php       (working copy)
@@ -54,7 +54,7 @@
 {
   switch (strtolower($type)) {
     case 'mysql':
-      $ver = mysql_get_server_info();
+      $ver = mysql_get_client_info();
       break;
     case 'php':
       $ver = phpversion();

Original comment by [email protected] on 3 May 2011 at 9:09

from smt2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
In fact, the file to update should be install-check.php (line 12).
Just for curiosity: after patching functions.php with your working copy, did 
smt2 work?

Original comment by [email protected] on 3 May 2011 at 9:36

  • Changed state: Accepted

from smt2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Yep. I had to track down another unrelated issue as well (the gateway.php 
script was stalling without any error displayed or logged - turned out to be a 
networking issue where curl was timing out), but currently smt2 is running fine 
and the tracking and viewing of the tracked data seems to work flawlessly. 
Soooo useful! :)

Original comment by [email protected] on 3 May 2011 at 10:33

from smt2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
[deleted comment]

from smt2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Ah.. Now I see what we are doing, and the fault in my patch above (checking the 
client is _not_ a solution... :P) Should it be:

$link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD);
$ver = mysql_get_server_info($link);

...maybe?

My MySQL database is on another host... 

Original comment by [email protected] on 3 May 2011 at 10:37

from smt2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Indeed, I added a call to db_connect() when checking the MySQL server info...
Please confirm that it works.

Original comment by [email protected] on 4 May 2011 at 7:48

  • Changed state: Fixed

from smt2.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Issue 36 has been merged into this issue.

Original comment by [email protected] on 27 Sep 2011 at 6:05

from smt2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.