Coder Social home page Coder Social logo

Comments (19)

szogi1910 avatar szogi1910 commented on May 24, 2024 1

works fine, forcing ctrl + f5 several times

from csgorankmeweb.

kennyLtv avatar kennyLtv commented on May 24, 2024

Looking into this now.

from csgorankmeweb.

kennyLtv avatar kennyLtv commented on May 24, 2024

So this is going to be clunky and slow but it should fix it till we can get a more permanent solution out. If you go to js/leaderboard/leaderboardFunctions.js and change on line 5 the URL for the ajax from leaderboardGrab.php to leaderboardGrabLarge.php I believe it will work temporarily. I am running that leaderboardGrab on a little over 17k entries on my test server. Please let me know if that doesn't fix it for now.

from csgorankmeweb.

szogi1910 avatar szogi1910 commented on May 24, 2024

Unfortunately, it didn't work for me

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 79 bytes) in /home/pggames/domains/project-games.eu/public_html/statystyki/dd2mirage/control/queryFunctions.php on line 47

from csgorankmeweb.

APet74 avatar APet74 commented on May 24, 2024

from csgorankmeweb.

APet74 avatar APet74 commented on May 24, 2024

Szogi, go download the latest release. I made a change to the leaderBoardGrab.php so that it uses server sided data tables. You will want to rerun the install.php in the /install/ directory as it adds some new information to the config.php which is required. Let me know if you have problems. As always, download the new files, and replace all current files you have.

Thanks.

from csgorankmeweb.

szogi1910 avatar szogi1910 commented on May 24, 2024

After uploading the new version of leaderboards.php returns us communique No data available in table

I suspect the error is in $ sql_details = array where I can not define the name of the table from which to retrieve server data

from csgorankmeweb.

APet74 avatar APet74 commented on May 24, 2024

from csgorankmeweb.

szogi1910 avatar szogi1910 commented on May 24, 2024

The data in the table was correctly downloaded before the update.
code below, which as you can see has data to connect to the database but when we have several tables it is probably unable to retrieve data using which leaderboards.php displays no data available in table

$sql_details = array(
			'user' => 'xxx_user',
			'pass' => 'xxx',
			'db' => 'xxx_rankme',
			'host' => 'localhost'
);

Yes I shoot maybe it should be

$sql_details = array(
			'user' => 'xxx_user',
			'pass' => 'xxx',
                        'table' => 'xxx',
			'db' => 'xxx_rankme',
			'host' => 'localhost'
);

from csgorankmeweb.

APet74 avatar APet74 commented on May 24, 2024

Just pulled a fresh copy of the repo and it's giving an error. Let me address it real quick.

from csgorankmeweb.

APet74 avatar APet74 commented on May 24, 2024

Ok so... I am not the smartest person alive, obviously. I misspelled the AJAX request... So it should work now. You can either redownload the new release OR go into js/leaderboard/leaderboardFunctions.js and at the bottom change "ajax": "control/leaderboard/leaderBoardGrab.php", to "ajax": "control/leaderboard/leaderboardGrab.php", (board isn't capitalized. Also in views/leaderboards/index.php change kills and deaths to K/D and ADR as that is what is actually being reported not kills and deaths (should be 2 kills and 2 deaths)

from csgorankmeweb.

szogi1910 avatar szogi1910 commented on May 24, 2024

Unfortunately, still does not show details
http://project-games.eu/statystyki/dd2mirage/leaderboards.php

from csgorankmeweb.

APet74 avatar APet74 commented on May 24, 2024

As stated above, please change the following inside of `/js/leaderboard/leaderboardFunctions.js':

"ajax": "control/leaderboard/leaderBoardGrab.php"
to
"ajax": "control/leaderboard/leaderboardGrab.php"

Here is a screenshot that shows that it is still wrong.
http://petrzilkacoding.com/gitHubAPI/ssMemoryError.png
Here is the change in the master code directory: https://github.com/ToxicRevolution/CSGORankMeWeb/blob/master/js/leaderboard/leaderboardFunctions.js#L140

from csgorankmeweb.

APet74 avatar APet74 commented on May 24, 2024

I am still checking out your site and it seems to still be down but it looks as though it is down because you haven't placed the new javascript file into the folder. Let me know if this is intentional.

from csgorankmeweb.

szogi1910 avatar szogi1910 commented on May 24, 2024

I uploaded the files, which are new to the github community, and then I reinstalled the script and as you can see on the page the effect

Edit
By accident I closed the application

from csgorankmeweb.

APet74 avatar APet74 commented on May 24, 2024

Is it broken? It seems to be working when I view it.

from csgorankmeweb.

szogi1910 avatar szogi1910 commented on May 24, 2024

I do not quite understand what you mean by now

from csgorankmeweb.

APet74 avatar APet74 commented on May 24, 2024

Is there still an issue? When I go to your site the table loads and all the data looks proper. Is there still an issue that needs addressing?

from csgorankmeweb.

APet74 avatar APet74 commented on May 24, 2024

from csgorankmeweb.

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.