I have problem with function of the scripts. The stats on the main site(draupnir_admin.php) aren“t working. I also cannot add a new trade, better say, I can add it, but the script do not send it any hits and is not visible in stats.
I tried to set both permissions 777 and 755 to draupnir_data/files/ directory, but it is still the same. Toplist is updated regulary.
Will it help to overinstall that?
Draupnir Soft Forums » Technical Support
Stats are not updated correctly
(5 posts)-
Posted 5 months ago #
-
Hi etylek,
A re-install might help, but I can't be certain. This is a new problem which I haven't had anyone report before, so I can't provide you with a quick answer but I'll try to help.If the toplist is being updated regularly, then cron is functioning and the script is able to write to (some) files as it should, so I doubt if it is an install error. Are you having problems adding only one trade, or is this happening with any trade that you add? Since you say the toplist is working, I assume that the script has added some trades correctly.
If you can, FTP into the /draupnir_data/files/ menu and open tradeslist.php. Be careful not to change anything, and don't save the file when you close it. On the 3rd line of that file you should see something that starts with $tradeslist=" which will contain a list of domains. Is the domain that you tried to add listed there?
Posted 5 months ago # -
Thanks for your quick reply.
These problems are with any new trades, trades that I added from beginning works, but their stats are not updated correctly.
The new trades that I tried to add are not listed in tradeslist.php, nevertheless draupnir_trade_cfg and last_anticheat files were created.Posted 5 months ago # -
If it is not updating stats for your existing trades correctly, then it sounds like something may be preventing files from being written to; I'm not sure what might have caused that, perhaps a change in ownership or file permissions somehow.
Before you alter your existing installation, I would recommend that you create a subdirectory on your domain (name it "testing" or something like that), set the permissions for the new subdirectory to 777, and install another copy of draupnir within that directory. Do not bother setting up cron, you'll only be doing this for testing purposes. After the script is installed, try adding a some trades to that second installation. They don't need to be actual trades, any random domain will be OK.
If you are not able to add trades to the new installation and cannot see them appear within the stats screen, that would indicate some type of server configuration problem.
If you are able to add trades to the new installation and see them appear within the stats screen, this means that the new installation is working correctly, and the quickest way to solve the problem would probably be to re-install draupnir in the root directory. Make sure that you remove all of the old files before doing a reinstall.
Posted 5 months ago # -
I tried another copy in subdirectory and added trades appeared in the stats, so I re-installed draupnir and it seems to work well.
Thanks for your help.Posted 5 months ago #
Reply
You must log in to post.