friendsofredaxo / simplestats Goto Github PK
View Code? Open in Web Editor NEWEinfaches Statistik-Addon, das ohne externe Dienste Besucheranfragen protokolliert.
License: MIT License
Einfaches Statistik-Addon, das ohne externe Dienste Besucheranfragen protokolliert.
License: MIT License
In die package.yml, da benötigt für PHP simple stats (außer es ist bereits Pflicht für Redaxo)
... sondern ein GeoLite2-Country.mmdb
https://blog.maxmind.com/2018/01/02/discontinuation-of-the-geolite-legacy-databases/
Im FF 55 siehts hingegen gut aus
Änderungen können auch gerne direkt im SimpleStats gemacht werden:
https://github.com/staabm/Simple-Stats
Auf der 2.Seite des Setup /redaxo/?page=simplestats&p=setup bricht der Install ab; einziges lebenszeichen:
{"error":"Ein Fehler ist aufgetreten."}
@staabm hier bahnt sich ein ziemlich interessanter Nachfolger an:
https://github.com/AndiLeni/statistics
@schuer vllt ;)
09.12.2020 12:09:19 | Fatal error | Array and string offset access syntax with curly braces is no longer supported | redaxo/src/addons/simplestats/vendor/dshafik/php7-mysql-shim/lib/mysql.php | 58 |
---|
die statistik seite ist aktuell noch sehr oldschool.
wer lust hat, darf das gerne aufhübschen.
gerne auch so in form bringen dass wir es nicht in einem separaten fenster öffnen müssen sondern im backend lassen können.
Änderungen können auch gerne direkt im SimpleStats gemacht werden:
https://github.com/staabm/Simple-Stats
(der upstream ist lange nicht gepflegt daher können wir direkt im Fork ändern)
`Open: /redaxo/src/addons/simplestats/vendor/dshafik/php7-mysql-shim/lib/mysql.php
$password = null,
$new = false,
$flags = 0
) {
if ($new !== false) {
trigger_error('Argument $new is no longer supported in PHP > 7', E_USER_WARNING);
}
if (null === $hostname) {
$hostname = ini_get('mysqli.default_host') ?: null;
}
if (null === $username) {
$username = ini_get('mysqli.default_user') ?: null;
}
if (null === $password) {
$password = ini_get('mysqli.default_pw') ?: null;
}
$hash = sha1($hostname . $username . $flags);
/* persistent connections start with p: */
if ($hostname{1} !== ':' && isset(\Dshafik\MySQL::$connections[$hash])) {
\Dshafik\MySQL::$last_connection = \Dshafik\MySQL::$connections[$hash]['conn'];
\Dshafik\MySQL::$connections[$hash]['refcount'] += 1;
return \Dshafik\MySQL::$connections[$hash]['conn'];
}
/* No flags, means we can use mysqli_connect() */
if ($flags === 0) {
$conn = mysqli_connect($hostname, $username, $password);
if (!$conn instanceof mysqli) {
return false;
}
\Dshafik\MySQL::$last_connection = $conn;
$conn->hash = $hash;
\Dshafik\MySQL::$connections[$hash] = array('refcount' => 1, 'conn' => $conn);
return $conn;
}
/* Flags means we need to use mysqli_real_connect() instead, and handle exceptions */
try {
Arguments
"Array and string offset access syntax with curly braces is no longer supported"`
TypeError | Argument 2 passed to mysql_query()
07.02.2020 01:50:18 | TypeError | Argument 2 passed to mysql_query() must be an instance of mysqli or null, bool given, called in
/var/www/vhosts/domain.de/httpdocs/redaxo/src/addons/simplestats/vendor/staabm/simple-stats/includes/classes.php on line 162 | redaxo/src/addons/simplestats/vendor/dshafik/php7-mysql-shim/lib/mysql.php | 161
Ist es schon soweit, dass ein erstes Release gemacht werden kann? Bestimmt, oder?
Danach kann auch das Küken aus der Beschreibung entfernt werden ;)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.