Giter VIP home page Giter VIP logo

Comments (8)

fourluo avatar fourluo commented on July 25, 2024

actually, not showing every 30th ,31st 's data of every month

from daloradius.

lirantal avatar lirantal commented on July 25, 2024

Enable the SQL debugger and check the queries being made. See if you can run them manually and if they are the problem or something else.

from daloradius.

fourluo avatar fourluo commented on July 25, 2024

there's nothing wrong with SQL, but i have already fix problem by modify rep-lastconnect.php

isset($_GET['startdate']) ? $startdate = $_GET['startdate'] : $startdate = date("Y-m-01");
isset($_GET['enddate']) ? $enddate = $_GET['enddate'] : $enddate = date( "Y-m-01",mktime (0,0,0,date('n')+1,1,date('Y')));

from daloradius.

fourluo avatar fourluo commented on July 25, 2024

you gonna have to set end date as y+(M+1)-01, to avoid this bug...... i deployed daloradius on 2 VM, both of them were having same issue. so....

from daloradius.

lirantal avatar lirantal commented on July 25, 2024

@fourluo does the problem exist in the current daloradius code of the master branch?
If so I'd be happy to merge a PR for this quick fix from you

from daloradius.

fourluo avatar fourluo commented on July 25, 2024

@lirantal yes, i confirm this bug exist in the current daloradius code of the master branch. I deployed daloradius on 2 VM, and they have same issue on certain days (every last 2 days of month). I appreciate u could fix that.

from daloradius.

fourluo avatar fourluo commented on July 25, 2024

@lirantal also u gonna have to insert the same code that i provided into rep-main.php. cause they have same issue .Thx for the reply

from daloradius.

lirantal avatar lirantal commented on July 25, 2024

Thanks I pushed the fix to master now 918b128

from daloradius.

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.