Closed maserowik closed 2 years ago
@maserowik This is on your remote server, not your Pi, correct? And that message ONLY appeared the very first time you want to the keograms page? Did it happen on the startrails page? They use the same code.
I'm pretty sure I know what the problem is, but don't know why the message only appeared once. The message will only appear if not on a Pi.
Keep bugging me until I fix this.
@EricClaeys
Correct this is on my hosted site.
Correct this only happens on very first time I go to either the Startrails/Keograms or timelapse.
Thanks Mike
@maserowik Would you please try the following file? It goes in your "allsky" folder on your web server Remove the ".txt" from the name. I can't get the error to appear on my Pi, so I assume your server is using a different version of PHP.
still having the same issue
again it only happen on the first time I select the keogram/startrail or timelapse icon.
Mike
@maserowik This is a different message. The exec() function allows PHP to execute any command on the server so I am not surprised it is disabled. Let me check if there is a way to determine if the function is disabled.
@maserowik Mike, please try this. I googled how to check if the function is disabled and implemented their solution.
i added the file to my hosted system. I got the following
if I hit shift f5 get this
so doing a browser refresh works
Mike
@maserowik How about this? You'll still get the error but should also see a couple debugging lines. functions.php.txt
@maserowik Mike, have you had a chance to try the updated functions.php file?
@EricClaeys sorry for the delay. I did a clean up of my website and remove all the old "test" images/videos. I then added the file to my website. It behaved like before. The first time I select the files I get the message but as soon as I do a browser refresh it goes away and work fine from then on out. maybe just something on my hosting side.
@maserowik I am going to simplify the logic of determining if the website is on a Pi which will eliminate the message. Give me a week or two. In the meantime it's safe to ignore the message.
@maserowik Mike, Can you try the attached file and let me know if you still get that error message the first time? The file goes in the "allsky" directory on the web server. Thanks. functions.php.txt
@maserowik Can you try the file above and let me know if you still get that error message the first time?
@maserowik Mike, We uploaded several new files in the website to GitHub. Would you please try them and let me know if you still have issues?
look good for now.
So I got this error on a new fresh install
so I went back to live view and then select the keograms again and the error went away
any idea