Comments (7)
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.
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.
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.
[deleted comment]
from smt2.
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.
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.
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)
- SWF playback shows no layers and control menu not available HOT 6
- MySql error: CMS won't display or analyze raw data HOT 4
- Could not find new (smt)2 releases. If your Internet connection is OK, maybe the server is temporarily down. HOT 8
- Metrics not recorded exept time HOT 3
- Logs older than 1 hour are Orphans HOT 5
- Nothing to run HOT 1
- Not files in ZIP HOT 1
- Horizontal scroll bar HOT 2
- Empty Log View HOT 2
- Cross domain POST - smt2 installed on one domain, tracking data from another domain HOT 2
- [deleted issue]
- Cookies and only first visit HOT 1
- Bug when using remote "storageServer" HOT 1
- no tracking HOT 15
- Creating database smt: Error. HOT 3
- Mouse movements not animated
- Mouse tracker does not record HOT 1
- Several User IDs for the same User HOT 3
- Import Logs and session lifetime HOT 7
- Click movements not recorded
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smt2.