-
Notifications
You must be signed in to change notification settings - Fork 2
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
Great tool!! #1
Comments
Oh, I forgot to mention that I discovered the fix for the line color issue here: |
Joe, Thanks for your input. For someone who is not a developer, you seem to have You are quite right on all counts:
Thanks for your help! I'm most impressed that this thing is still being On Sat, Aug 29, 2015 at 5:44 PM, Max-P0wer [email protected] wrote:
|
I really love this program! Good job!
I have a few tweaks for you. Please forgive the format/manner in which I'm submitting these. I'm not a programmer, nor, do I really have the skill set to properly participate in open source projects. LOL But, I try really hard to help as much as I can!!
On my particular system, timezone setting is largely ignored. This causes the log files to fill up as it complains everytime the 'date' function is called in php. Apparently, the work around is to put a one-line .htaccess in the dtgraph folder containing this:
php_value date.timezone America/Denver
Obviously, change that for your locale. I don't really this is a bug in your code. I think this is a problem somewhere in php itself, but, I figure it might be a handy tip for your users. (found here: http://php.net/manual/en/function.date-default-timezone-set.php ...look at "Taylor"'s post).
I was also getting an error from line 13 of admin.php:
Undefined variable: PHP_SELF
I found that changing line 13 to the following cleared up the error:
I found that fix here: http://stackoverflow.com/questions/12710803/undefined-variable-php-self
Although, if you read the most highly ranked solution on that page, it recommends not using PHP_SELF at all. I'll leave that bit to you if you decide to change it. ;-)
The last thing I found was that Line colors were being ignored. It turns out that you have to set line properties after putting them on the graph.....which is a bit weird, but, the fix is easy enough. In graph.php at approximately line 266, I added the bits to change the line and mark colors etc (although the marks settings actually seem to work where they were?)
Then I removed those same bits from the makePlot function as well.
I hope this helps!! Thanks for the great tool!
-Joe
The text was updated successfully, but these errors were encountered: