where do we have to chaneg the path details so as to open the file pl.
the path which openemr is looking for is of old server from whhere i have moved, but the file is verymuch there in documents folder.
regards
regards
This may or may not be the “official” resolution, but when I’ve had to deal with this issue in the past, the most direct solution has been to dump the documents table to file, then use a text editor or command line tools to replace the old path information with the new.
e.g., if your new web root is ‘/var/www/html/openemr’ , then you’re updating all those stored file paths and replacing the ‘/home3/james/public_html/openemr70’ with the new path. Then reload the table into the database with the new path information.
The quick and dirty workaround is to establish a symlink on the new environment that replicates the old path, but points to the correct documents directory. However, that can get really annoying as time goes on, so at some point it’s usually better to just fix all the stored file paths and be done with it.
Probably old document which I wont be needing, but still if this can be considered as a bug, and the way the files are stored physically in a folder and the path is updated…
maybe by default the path may not start from eg file://C:/xampp/htdocs/openemr/sites/default/documents/10/Financial_Policy.pdf
but rather
%path_openemr%/openemr_dir/…