I am setting up OpenEMR 4.0 on a friend’s Windows XP computer with XAMPP. I first had to take out a bunch of &'s from statements like:
= & new
a(&$b)
The next one that has come up so far is the split function is used in Controller.class.php in two places. Instead of changing to preg_split, it appears that explode can be used in place of split with no problem.
1) How do we submit patches?
2) Do these patches get integrated into the next release? I noticed that the first deprecated issue with =&new was patched in 3.2 but is still present in 4.0.
Mark,
Welcome Back! Code submission process has changed dramatically for the better. Please see http://wiki.oemr.org/wiki/Main_Page#Repository for detailed instruction on the workflow and how to use GitHub.com for code review.
PHP really needs to be cleaned of deprecated code, it’s time. There is also a lot of old HTML 3 deprecated code. We would appreciate your contributions.
So you don’t get overwhelmed by all the repository pages, the submission procedures can be found in the bottom half of the following wiki page: http://wiki.oemr.org/wiki/ New_Developer_Information
There are basically two methods of submission, via a patch or via git.
Agree with Tony that code fixes to make code compliant with new versions of mysql and php would be very useful.