We've installed FARMDATA on a server and it's working, but it's NOT running on SSL even though, yes, I know it's highly recommended.
We've got it working, can input Fields and such, but when we try to run setup, we just get 404 Page Not Found. Any ideas? It would be nice to get it all setup because the hassle of inputting every tiny detail is daunting.
We've installed FARMDATA on a server and it's working, but it's NOT running on SSL even though, yes, I know it's highly recommended.
We've got it working, can input Fields and such, but when we try to run setup, we just get 404 Page Not Found. Any ideas? It would be nice to get it all setup because the hassle of inputting every tiny detail is daunting.
Great that you got the basic install to work! SSL shouldn't have anything to do with whether the rapid setup works or not. Here are a couple things to try:
go to http://yourfarmdata/setup/extlogin.php in your browser (where yourfarmata is the URL for your FARMDATA installation). If that page is found and you can log in there, you should be in the rapid setup procedure.
if that doesn't work, go to the directory where you installed FARMDATA (the subdirectory of your document root directory), check that there is a subdirectory there called setup, and that in the setup subdirectory there are files extlogin.php and setup.php
if that doesn't work, can you send me the URL for your site? (Fine just to send it to wahlst@dickinson.edu rather than posting it here.)
If you do find setup/extlogin.php, try deleting lines 3 through 6 (between HTTPSON and HTTPSOFF) and then try the setup url again.
Yes, we located the lines and deleted them, and YES, it worked ! Thanks for that tip. I'm into Setup now and am inputting my fields.
Question: Is Setup a one time thing, done only at the beginning? In other words, if I went into it again to add a bunch more basic data, would it delete all the information I had input already? I'm assuming so from the Configuration page, but just want to confirm that.
I heard about this database at a Farm conference this Thursday on Vancouver Island. It was during a session about keeping track of your time with each crop.
My developer is also looking at some kind of timekeeper app where I can have my smartphone with me and just "be" in a task, like seeding or transplanting or weeding, and hitting a start button on the screen, and then a stop button when I'm done. The phone would take care of the times--and this would be helpful as I'm so often interrupted by customers or other things.
So my developer wants know which files you would recommend he should start with.
And one final question for now: I see in Setup that there are Plants.txt and CoverCrops.txt. I also saw those two sections when I was poking around the program itself. Is there any way that you could add another section called FLOWERS? I know I could just add them into the vegetables section, similar to the way you've set up Herbs, but it would be cleaner and easier to keep those separate, since they are for the most part non-edible, but definitely part of growing.
Many thanks for this. Looks good !
Very good! I'll update the install procedure so that others don't have this same problem (thanks much for reporting it) and then I'll close this ticket. Just open a new one if some other issue comes up.
You can do setup multiple times and it won't delete any of the information you have already entered. But it always starts with the same base data from Dickinson Farm (from those .txt files in the setup directory you are looking at), and you'll get database error messages if you submit data (crops, spray materials etc.) that have already been submitted to the database. Those messages shouldn't hurt anything - just ignore them and keep going.
I see where you are coming from with the timekeeping idea - that's a good one! We've actually got something like that for timing how long the irrigation pump has been running. If your developer would like to see those files, they are:
Soil/pumpInfo.php
Soil/updateElapsedTime.php
Soil/addElapsedTime.php
To do something like this for seeding (for example), the easy way would be just to record the time when the seeding input form (Seeding/dir_seeding.php) is loaded as the start time, take the stop time as when the Submit button is clicked, and subtract. That could all be done in PHP. You could also have start and stop buttons - that would just take some Javascript added to that same page. That would let you pause the timer while you were doing something else - which seems to be one of your requirements. The other relevant files for the tasks you mentioned are Seeding/transferred_to.php and Labor/labor.php
If you get somewhere with that extension, we'd certainly like to have that code contributed back to the sourceforge repository!
It would be possible to do flowers separately from crops, but it would be a good bit of work. I don't know much about raising flowers - for example, I don't know if the seeding input forms and reports would basically work for flowers as they are, or if they would require separate pages. I also don't know what sort of harvest data you would want to capture for flowers. Anyway, seems like one possibility would be to do a flowers module with separate input forms and reports - that might turn out to be the easiest way to do it. If you did try to integrate flowers into the existing seeding and harvest pages, I'm guessing they would need significant change and it would also weaken the consistency checking that the database is doing.