Newbie MD needs help with OEMR and XAMPP/Mac

pommehomme wrote on Wednesday, June 16, 2010:

apache 2 error log:

  Init: Session Cache is not configured
httpd: Could not reliably determine the server’s fully qualified domain name, using barry-presss-mac-pro.local for ServerName
  Digest: generating secret for digest authentication …
  Digest: done
  Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 configured - resuming normal operations
   File does not exist: /Library/WebServer/Documents/favicon.ico
   File does not exist: /Library/WebServer/Documents/favicon.ico
   File does not exist: /Library/WebServer/Documents/favicon.ico
   File does not exist: /Library/WebServer/Documents/favicon.ico
   File does not exist: /Library/WebServer/Documents/favicon.ico
   File does not exist: /Library/WebServer/Documents/favicon.ico
   File does not exist: /Library/WebServer/Documents/favicon.ico
   File does not exist: /Library/WebServer/Documents/library
   File does not exist: /Library/WebServer/Documents/library
  caught SIGTERM, shutting down
  Init: Session Cache is not configured
httpd: Could not reliably determine the server’s fully qualified domain name, using barry-presss-mac-pro.local for ServerName
  Digest: generating secret for digest authentication …
  Digest: done
  Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 configured - resuming normal operations
   File does not exist: /Library/WebServer/Documents/openemr
   File does not exist: /Library/WebServer/Documents/openemr
  caught SIGTERM, shutting down
  Init: Session Cache is not configured
httpd: Could not reliably determine the server’s fully qualified domain name, using barry-presss-mac-pro.local for ServerName
  Digest: generating secret for digest authentication …
  Digest: done
  Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 configured - resuming normal operations
  caught SIGTERM, shutting down

bradymiller wrote on Wednesday, June 16, 2010:

In you interface/globals.php file what are the two below variables:

$webserver_root
$web_root

pommehomme wrote on Wednesday, June 16, 2010:

In you interface/globals.php file what are the two below variables:
$webserver_root = “/Applications/XAMPP/xamppfiles/htdocs”
$web_root = “/login.php”

bradymiller wrote on Wednesday, June 16, 2010:

Your web_root is wrong, but I forgot whether should be left blank or with a slash, so try following.

set:

$web_root = ""

If that does not work, then try

$web_root = "/"

-brady

pommehomme wrote on Wednesday, June 16, 2010:

tried both blank and slash (without quotation marks.) With either one, now when I enter the address http://127.0.0.1/openemr and hit return, the address changes to:

http://localhost/openemr/interface/login/login_frame.php

and I get a blank page (at least it doesn’t say It Works!)

Other suggestions?

bradymiller wrote on Wednesday, June 16, 2010:

hey,

Can somebody here confirm whether to use “” or “/” for web_root when openemr is in the main webroot?

Two more things:
1) Ensure your php configuration settings are correct (if change them, then need to restart apache):
http://www.openmedsoftware.org/wiki/FAQ#What_are_the_correct_PHP_settings_.28can_be_found_in_the_php.ini_file.29_.3F

2) If still not working, then repaste your apache/php error log here.

-brady

sunsetsystems wrote on Wednesday, June 16, 2010:

> Can somebody here confirm whether to use “” or “/” for web_root when openemr is in the main webroot?

“”

pommehomme wrote on Wednesday, June 16, 2010:

Here is my apache error log:

  Init: Session Cache is not configured
httpd: Could not reliably determine the server’s fully qualified domain name, using barry-presss-mac-pro.local for ServerName
  Digest: generating secret for digest authentication …
  Digest: done
  Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 configured - resuming normal operations
   File does not exist: /Library/WebServer/Documents/favicon.ico
   File does not exist: /Library/WebServer/Documents/favicon.ico
   File does not exist: /Library/WebServer/Documents/favicon.ico
   File does not exist: /Library/WebServer/Documents/favicon.ico
   File does not exist: /Library/WebServer/Documents/favicon.ico
   File does not exist: /Library/WebServer/Documents/favicon.ico
   File does not exist: /Library/WebServer/Documents/favicon.ico
   File does not exist: /Library/WebServer/Documents/library
   File does not exist: /Library/WebServer/Documents/library
  caught SIGTERM, shutting down
  Init: Session Cache is not configured
httpd: Could not reliably determine the server’s fully qualified domain name, using barry-presss-mac-pro.local for ServerName
  Digest: generating secret for digest authentication …
  Digest: done
  Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 configured - resuming normal operations
   File does not exist: /Library/WebServer/Documents/openemr
   File does not exist: /Library/WebServer/Documents/openemr
  caught SIGTERM, shutting down
  Init: Session Cache is not configured
httpd: Could not reliably determine the server’s fully qualified domain name, using barry-presss-mac-pro.local for ServerName
  Digest: generating secret for digest authentication …
  Digest: done
  Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 configured - resuming normal operations
  caught SIGTERM, shutting down

bradymiller wrote on Thursday, June 17, 2010:

hey,

I’m not seeing any php errors in that log file. I’d look through your /Applications/xampp/etc/php.ini (php configuration file) so see where php errors are going:
error_log setting

If get furstrated finding it, then set below temporarily:
display_errors = On

Also, did you ensure you have the php configuration settings?:
http://www.openmedsoftware.org/wiki/FAQ#What_are_the_correct_PHP_settings_.28can_be_found_in_the_php.ini_file.29_.3F

-brady

pommehomme wrote on Thursday, June 17, 2010:

errors are going to system.log, which is quite extensive (how much do you want to see if any?)

checked and rechecked the php configuration settings (I almost have them memorized!)

pommehomme

bradymiller wrote on Thursday, June 17, 2010:

hey,
Just do a couple attempted openemr page views (where you see blank page), and then cop/paste the last 20 or so lines.
-brady

nthurman wrote on Thursday, June 17, 2010:

Let me ask a couple of basic Mac questions to see if there is some conflicts between the  Mac OS apache server and the new server you are installing.   The Mac has a server set up already which is activated using the “System Preferences” , “Sharing”.

1) Is the button next to “Web Sharing” checked?
    a) If so, can you access either of the IP addresses indicated (personal, computer)
    b) Try turning off the “Web Sharing” and see if you can access the openemr address now
2) If off, verify you are pulling the correct log files as the information above shows you are trying to access the “computer” web site
3) Have you considered using a linux based install running Parallels or VMWare?   I have found acceptable response times using either system.

pommehomme wrote on Thursday, June 17, 2010:

in response to bradymiller’s last post:

Wednesday, June 16, 2010 20.10.23 h America/Los_Angeles
Jun 16 20:10:55 barry-presss-macbook-pro XAMPP Control:  Load ‘org.apachefriends.xampp.apache’…
Jun 16 20:10:55 barry-presss-macbook-pro XAMPP Control:  PlugIn ‘org.apachefriends.xampp.apache’ loaded…
Jun 16 20:10:55 barry-presss-macbook-pro XAMPP Control:  Load ‘org.apachefriends.xampp.proftpd’…
Jun 16 20:10:55 barry-presss-macbook-pro XAMPP Control:  PlugIn ‘org.apachefriends.xampp.proftpd’ loaded…
Jun 16 20:10:55 barry-presss-macbook-pro XAMPP Control:  Load ‘org.apachefriends.xampp.mysql’…
Jun 16 20:10:55 barry-presss-macbook-pro XAMPP Control:  PlugIn ‘org.apachefriends.xampp.mysql’ loaded…
Jun 16 20:10:55 barry-presss-macbook-pro XAMPP Control: NSBox supports fillColor.
Jun 16 20:10:55 barry-presss-macbook-pro XAMPP Control:  No hooks for ‘controlsWindowDidLoad’
Jun 16 20:11:05 barry-presss-macbook-pro com.apple.launchd.peruser.501 (com.apple.pbs): Throttling respawn: Will start in 10 seconds
Jun 16 20:11:05 barry-presss-macbook-pro SecurityAgent: system.privilege.admin|2010-06-16 20:11:05 -0700
Jun 16 20:11:10 barry-presss-macbook-pro authexec: executing /Applications/XAMPP/XAMPP Control.app/Contents/MacOS/xproottask-helper-tool
Jun 16 20:11:13 barry-presss-macbook-pro XAMPP Control: (null)
Jun 16 20:11:15 barry-presss-macbook-pro authexec: executing /Applications/XAMPP/XAMPP Control.app/Contents/MacOS/xproottask-helper-tool
Jun 16 20:11:16 barry-presss-macbook-pro XAMPP Control: (null)
Jun 16 20:11:18 barry-presss-macbook-pro authexec: executing /Applications/XAMPP/XAMPP Control.app/Contents/MacOS/xproottask-helper-tool
Jun 16 20:11:18 barry-presss-macbook-pro XAMPP Control: (null)
Jun 16 20:11:18 barry-presss-macbook-pro proftpd: 10.0.1.5 - ProFTPD 1.3.3 (stable) (built Sat Feb 27 2010 11:10:00 CET) standalone mode STARTUP
Jun 16 20:12:17 barry-presss-macbook-pro osascript: Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types:  dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found.  Did find:\n /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
Jun 16 20:12:17 barry-presss-macbook-pro .org.mozilla.firefox: 2010-06-16 20:12:17.787 osascript Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types:  dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found.  Did find:
Jun 16 20:12:17 barry-presss-macbook-pro .org.mozilla.firefox: /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
Jun 16 20:12:17 barry-presss-macbook-pro .org.mozilla.firefox: osascript: OpenScripting.framework - scripting addition “/Library/ScriptingAdditions/Adobe Unit Types.osax” declares no loadable handlers.
Jun 16 20:12:23 barry-presss-macbook-pro .org.mozilla.firefox: Debugger() was called!
Jun 16 20:12:50 barry-presss-macbook-pro .org.mozilla.firefox: !!!  hook(): title not found

pommehomme wrote on Thursday, June 17, 2010:

to nthurman:
1. the apache server downloaded with XAMPP will not start if web sharing is enabled
2. see post above
3. that would be too easy (seems like it should work with OSX with enough tweaking)

nthurman wrote on Thursday, June 17, 2010:

pommehomme,
I will try to load OpenEMR on the mac using the built in apache2 and php.   The first hurdle will be MYSql (which is available for the mac).  I’ll let you know the outcome.

bradymiller wrote on Thursday, June 17, 2010:

hey,

No PHP errors are in this log. Since having difficulty finding the log, I’d suggest turning on the display error log in the php configuration script while troubleshooting:
display_errors = On

then paste the errors you see here.

-brady

pommehomme wrote on Thursday, June 17, 2010:

nthurman: thank you. I have been using xampp’s apache rather than the built-in

brady:

OK, so I opened xampp and started apache and Mysql. then opened firefox and tried:

localhost
localhost/xampp: got the xampp start page with tools>phpMyAdmin: I could see databases (including openemr) but couldn’t get into them
localhost/openemr: not found on this server

here is php error log for above:

Jun 17 15:20:43 barry-presss-mac-pro XAMPP Control:  Load ‘org.apachefriends.xampp.apache’…
Jun 17 15:20:43 barry-presss-mac-pro XAMPP Control:  PlugIn ‘org.apachefriends.xampp.apache’ loaded…
Jun 17 15:20:43 barry-presss-mac-pro XAMPP Control:  Load ‘org.apachefriends.xampp.proftpd’…
Jun 17 15:20:43 barry-presss-mac-pro XAMPP Control:  PlugIn ‘org.apachefriends.xampp.proftpd’ loaded…
Jun 17 15:20:43 barry-presss-mac-pro XAMPP Control:  Load ‘org.apachefriends.xampp.mysql’…
Jun 17 15:20:43 barry-presss-mac-pro XAMPP Control:  PlugIn ‘org.apachefriends.xampp.mysql’ loaded…
Jun 17 15:20:43 barry-presss-mac-pro XAMPP Control: NSBox supports fillColor.
Jun 17 15:20:43 barry-presss-mac-pro XAMPP Control:  No hooks for ‘controlsWindowDidLoad’
Jun 17 15:20:46 barry-presss-mac-pro SecurityAgent: system.privilege.admin|2010-06-17 15:20:46 -0700
Jun 17 15:20:46 barry-presss-mac-pro com.apple.launchd.peruser.501 (com.apple.pbs): Throttling respawn: Will start in 10 seconds
Jun 17 15:20:59: – last message repeated 1 time –
Jun 17 15:20:59 barry-presss-mac-pro authexec: executing /Applications/XAMPP/XAMPP Control.app/Contents/MacOS/xproottask-helper-tool
Jun 17 15:21:00 barry-presss-mac-pro XAMPP Control: (null)
Jun 17 15:21:04 barry-presss-mac-pro authexec: executing /Applications/XAMPP/XAMPP Control.app/Contents/MacOS/xproottask-helper-tool
Jun 17 15:21:05 barry-presss-mac-pro XAMPP Control: (null)
Jun 17 15:21:05 barry-presss-mac-pro authexec: executing /Applications/XAMPP/XAMPP Control.app/Contents/MacOS/xproottask-helper-tool
Jun 17 15:21:05 barry-presss-mac-pro XAMPP Control: (null)
Jun 17 15:21:05 barry-presss-mac-pro proftpd: 192.168.2.125 - ProFTPD 1.3.3 (stable) (built Sat Feb 27 2010 11:10:00 CET) standalone mode STARTUP
Jun 17 15:21:14 barry-presss-mac-pro .org.mozilla.firefox: Debugger() was called!
Jun 17 15:22:55 barry-presss-mac-pro authexec: executing /Applications/XAMPP/XAMPP Control.app/Contents/MacOS/xproottask-helper-tool
Jun 17 15:22:56 barry-presss-mac-pro authexec: executing /Applications/XAMPP/XAMPP Control.app/Contents/MacOS/xproottask-helper-tool
Jun 17 15:22:57 barry-presss-mac-pro authexec: executing /Applications/XAMPP/XAMPP Control.app/Contents/MacOS/xproottask-helper-tool
Jun 17 15:22:57 barry-presss-mac-pro proftpd: 192.168.2.125 - ProFTPD killed (signal 15)
Jun 17 15:22:57 barry-presss-mac-pro proftpd: 192.168.2.125 - ProFTPD 1.3.3 standalone mode SHUTDOWN
Jun 17 15:24:32 barry-presss-mac-pro mDNSResponder: Client application bug: DNSServiceResolve(Brother\032MFC-9840CDW._printer._tcp.local.) active for over two minutes. This places considerable burden on the network.

nthurman wrote on Thursday, June 17, 2010:

I’ll try the XAMPP install next …. the native mac version is working but needs a few minor tweaks to reduce the PHP generated messages.   I should have a “draft” install process by this weekend.   Not very difficult once we get the process down.

pommehomme wrote on Thursday, June 17, 2010:

thanks NT!  let me know if I can do anything to help.

bradymiller wrote on Thursday, June 17, 2010:

hey,
Rather than continuing to problem solve this, I’d suggest waiting for rthurman’s instruction set.
-brady