Frames but no content after restore

docaltmed wrote on Tuesday, February 17, 2015:

I installed 4.0 onto a fresh Debian Wheezy system. After installation, everything worked fine, as far as I could tell. However, after restoring my database, which was backed up from OpenEMR 4.0 on another machine, my OpenEMR looks like the linked screenshot.

Apparently the data made it in, because my username and login from the restored database worked.

How can I fix this?

Link to screenshot: https://avery.portknox.net/public.php?service=files&t=21752e9948d967ec7fbd2dac0e09cf22

visolveemr wrote on Tuesday, February 17, 2015:

Hi Docaltmed,
It would be helpful to assist, if you could post the error log.

The error log will be available in the location /var/log/apache2/error.log

Thanks
OpenEMR Customization/Support Team,
ViSolve Inc
services@visolve.com | Phone: 408-850-2243
Demo’s @ ViSolve Demo Library

docaltmed wrote on Tuesday, February 17, 2015:

Thanks, ViSolve. I found two error logs, I’m attaching both.

visolveemr wrote on Wednesday, February 18, 2015:

Hi Docaltmed,
It looks like your version of PHP is not compatible with the version of OpenEMR. You are using PHP v 5.3.0 or above for the OpenEMR v 4.1.2 or less, which is the reason for your issue. You can use OpenEMR v 4.2.0 with existing PHP or downgrade your PHP with existing OpenEMR codebase.

Thanks
OpenEMR Customization/Support Team,
ViSolve Inc
services@visolve.com | Phone: 408-850-2243
Demo’s @ ViSolve Demo Library

docaltmed wrote on Friday, February 20, 2015:

Thanks, ViSolve,

Just to close things out in case someone else has the same problem, I upgraded to the present stable version (4.2), at which point OpenEMR was behaving close to normally. The only problem at that point was that the pages would appear with little formatting or color, although the links were all functional.

I fixed that by changing the local theme preference. It didn’t matter what the original display theme had been set to, what mattered was that it got changed. Then the formatting of the pages appeared normal. Changing the theme through globals was of no help.

Thanks again for your assistance.