In interface/patient_file/history/history_save.php, you are running include_once("../summary/demographics.php");, which means that all the relative paths in interface/patient_file/history/history_save.php
This will throw off all the relative paths in interface/patient_file/history/history_save.php
Perhaps would be better to use a redirect method there than using the include.
-brady
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Scott,
When I click Save on the history screen, lots of ajax pages aren't loading on the Patient Summary screen and seeing following errors (on Firefox->Wed Developer->Web Console):
[02:17:09.090] POST http://192.168.1.143/openemr/interface/patient_file/history/stats.php [HTTP/1.1 404 Not Found 1ms]
[02:17:09.094] POST http://192.168.1.143/openemr/interface/patient_file/history/clinical_reminders_fragment.php [HTTP/1.1 404 Not Found 0ms]
[02:17:09.099] GET http://192.168.1.143/openemr/interface/patient_file/history/pnotes_fragment.php [HTTP/1.1 404 Not Found 1ms]
[02:17:09.101] GET http://192.168.1.143/openemr/interface/patient_file/history/disc_fragment.php [HTTP/1.1 404 Not Found 0ms]
[02:17:09.105] GET http://192.168.1.143/openemr/interface/patient_file/history/patient_reminders_fragment.php [HTTP/1.1 404 Not Found 1ms]
[02:17:09.107] GET http://192.168.1.143/openemr/interface/patient_file/history/vitals_fragment.php [HTTP/1.1 404 Not Found 1ms]
The above paths should have summary in place of history.
I also placed a comment on a minor issue on github.
-brady
Ok so I can't figure out what causing this, So have changed back to after save it goes to the history.php not demographics.php. Any suggestions Brady?
Hi,
In interface/patient_file/history/history_save.php, you are running include_once("../summary/demographics.php");, which means that all the relative paths in interface/patient_file/history/history_save.php
This will throw off all the relative paths in interface/patient_file/history/history_save.php
Perhaps would be better to use a redirect method there than using the include.
-brady