@fsgl, am using openemr 4.1.2(7), windows 7 and xammp 1.8.3. With the editing of the code as stated in earlier comments, it is expected that the letterhead image will appear but never was but the name and address that were commented out as instructed by stephen worked but the letterhead didnt show at all.
@stephen, you were talking about placing an echo line of code in the file. Also the image you placed in your last post was not accessible, please help out
place this after you set $practice_logo and it should print out on the printable report
the inaccessible image i placed in the last post was on purpose, is that what you’re seeing on the printable report?
that would indicate that xammp can’t access the file
@stephen, the $practice_logo is already echoed in line 462,
however, the logo is not displaying. As regard the image posted with your comment is not displaying. may be you can repost it. Finally what do we do,thanks
@stephen, thanks for your effort. I did what u said in your last post,its still not appearing. Along the line, i want to ask could it be caused by xampp configuration because in one of your post above,you said its possible that xampple cant locate the letterhead. On diagnosing the xampp server i found out, whenever i connect to openemr, the port number of the apache server will change from the regular apache port 80 to 3 different ports (curremtly it has changed to ports 53, 49500,49502) but when i connect to other php file without openemr, it doesn’t change. Could this cause it. Thankr
If Apache has been configured incorrectly it may be easier to install the package than it is to pinpoint the configuration error, provided that you don’t need XAMPP for anything else.
Backup 4.1.2 (7)-XAMPP 1.8.3 with this to a flash drive.
Copy openemr web directory, run mysqldump & save both files to a location outside of the xampp directory.
Turn off Apache & MySQL in Xampp Control & exit.
Delete the entire xampp directory. If you need it again, it will be on the flash drive.
Install package, cited above.
Replace openemr web directory in the package with that from step 2.
Not that I want to hijack this conversation… hoping this gets resolved but this brings up another question… well… really more of a request which does not seem high-enough priority: These types of customization should be done in files residing in the /sites/sitesXXX directory (not the /interface) … ideally… so that multiple sites can use the same code base but have different customization: logos etc. seems strange to have it implemented this way. Am I missing something?
Lams: I agree the reinstalling XAMPP is a good solution. If you are trying to debug, take a look at C:\xampp\apache\conf\httpd.conf (open it in notepad). This should tell you something about the ports you are talking about.
on the first point, here’s a snippet from an earlier post:
in the 4.1.3 code, custom_report has been upgraded to avoid placing in custom dir and instead uses the $OE_SITE_DIR variable, however, apache doesn’t have access to the /var/www that preceded the openemr root(at least on my debian devel package install), so that has to be tweaked, i’ve commented on a possible fix here
but with all of the mu2 work going on there’s bigger fish to fry for sure