Coder Social home page Coder Social logo

simplestats's People

Contributors

schuer avatar skerbis avatar staabm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

markus-gs

simplestats's Issues

mbstring als extension

In die package.yml, da benötigt für PHP simple stats (außer es ist bereits Pflicht für Redaxo)

Setup bricht ab mit error

Auf der 2.Seite des Setup /redaxo/?page=simplestats&p=setup bricht der Install ab; einziges lebenszeichen:

{"error":"Ein Fehler ist aufgetreten."}

backend aufhübschen

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)

Unter PHP 8 und 8.1 geht das Add-on nicht mehr.

`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()

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

Erste Release?

Ist es schon soweit, dass ein erstes Release gemacht werden kann? Bestimmt, oder?
Danach kann auch das Küken aus der Beschreibung entfernt werden ;)

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.