Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in public_html/fdata/validate.php on line 4
I can add @ in front to suppress the message and get the page to load. But what other php files do I need to add the @ to? Also, plans to use mysqli or PDO in the next release?
I think it was just these files btw:
./Harvest/harvestEdit.php
./Seeding/ghEdit.php
./Seeding/transEdit.php
./Seeding/dirEdit.php
./setup/validate.php
./Labor/laborEdit.php
./Notes/notesEdit.php
./connection.php
./Admin/Add/getUserExt.php
./Admin/Add/addExtUser.php
./Admin/Add/resetPassword.php
./Admin/Delete/tSpray.php
./Soil/fertilizerEdit.php
./Soil/liquidFertilizerEdit.php
./validate.php
Shawn,
Sorry for the delay in responding - busy couple of days. Anyway, that is exactly the right list of 15 files that would need to have the annotation added to supress the warning.
And we should update FARMDATA to use PDO - I've thought about it, but we haven't had a case where using the older style was causing issues for someone before. We also have a big list of requested features built up, so there is more than enough to do for another release. I'll try to recruit some students to work on it this fall - we are an all volunteer team, so progress is very bursty.
Best,
Tim
Shawn,
I had more time than expected this semester, so FARMDATA is now updated to use PDO! I'm closing this ticket next.