Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: Save and Update in settings is not working #10

Closed
arkham42 opened this issue May 13, 2015 · 3 comments
Closed

Issue: Save and Update in settings is not working #10

arkham42 opened this issue May 13, 2015 · 3 comments

Comments

@arkham42
Copy link

I try to remove systems from monitoring then hit save and update. When the screen is refreshed the same systems are still there.

+----+---------------------------+-----------------------------++---------------------+---------------------+
| id | key | label || created_at | updated_at |
+----+---------------------------+-----------------------------++---------------------+---------------------+
| 1 | api_key_id | Key ID || 0000-00-00 00:00:00 | 2015-05-11 19:02:50 |
| 2 | api_key_verification_code | Verification Code || 0000-00-00 00:00:00 | 2015-05-11 19:02:50 |
| 3 | api_key_character_id | Character || 0000-00-00 00:00:00 | 2015-05-11 19:03:13 |
| 4 | home_region_id | Home Region || 0000-00-00 00:00:00 | 2015-05-11 19:04:18 |
| 5 | alliances | Alliances (comma-separated) || 0000-00-00 00:00:00 | 2015-05-11 19:04:18 |
| 6 | systems | Systems (comma-separated) || 0000-00-00 00:00:00 | 2015-05-11 19:04:18 |
+----+---------------------------+-----------------------------++---------------------+---------------------+

@arkham42
Copy link
Author

Also it appears that prices are not updating either. I'm still seeing data from 2 days ago when i select an item.

@matthewpennell
Copy link
Owner

Removing systems is working for me. Do you have any systems entered at the moment - do they show up in the darker grey boxes below the systems field? Are you able to share the current value in your settings table? The structure you pasted is missing the value column for some reason.

@matthewpennell
Copy link
Owner

Re. prices - the API call checks whether the last poll was less than an hour ago - see https://github.com/matthewpennell/eve-traders-handbook/blob/master/app/classes/ETH/API.php from line 43.

You can check what is going on by adding after line 48:

echo "Found a cached price for type ID $type\n";

That will tell you if it is incorrectly flagging all prices as cached - perhaps your MySQL version isn't dealing with the time difference calculation properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants