freebsd 7
openemr 2.8.3
mysql 5.1
apache 2.2
openemr was working well and data had been transferred. then I installed sql-ledger, phpgacl and enabled ssl following instructions from:
but I installed and configured all three at once without checking if openemr continued to work. Now going to http://myhost/openemr gives me a blank page. I can see the login screen for a few milliseconds then it becomes a blank page.
I retraced all my steps, and disabled ssl, phpgacl, and sql-ledger, but I’m still having the same problem.
Sounds to me like something has gone awry with the contents of /openemr/interface/login. You could try installing OpenEMR over the existing one. Just don’t wipe out your database by accident. (I’ve done that before)
If you’re able to dig into the files and directories from a command-line I’d look hard at the contents of the folder I mentioned above. The login page is the most basic of all in OpenEMR.
You didn’t mix up OpenEMR 2.8.3 with something newer like version 2.8.4 or a checkout from CVS did you?
A totally blank page usually means there is a PHP error.
Look in your http error log, php error log, or syslog depending on where the error output is sent.
Warnings can generate a white page if your error reporting level is too high. You need to make sure that the PHP engine does not stop on simple warning messages. This is the actual most frequent cause of this.
mysql 5.1
apache 2.2
are not likely to cause this.
I run OpenEMR on FreeBSD on the www.oemr.org web page and don’t have any problems though I have not tried to run it using using ssl.
>Sounds to me like something has gone awry with the contents of /openemr/interface/login. You could try >installing OpenEMR over the existing one. Just don’t wipe out your database by accident. (I’ve done that >before)
I agree, and I was going to substitute some files one by one, like globals, the logins, auth.in and others, but reinstalling might be a better, faster solution. Thanks, I’ll try that.
>If you’re able to dig into the files and directories from a command-line I’d look hard at the contents of >the folder I mentioned above. The login page is the most basic of all in OpenEMR.
Yes I’ve been doing that on a few files. I compare them with a running openemr 2.8.3 I have on windows computer (I got stuck on the DBD::Pg install and was unable to configure sql-ledger on that one, but open emr works well there) and have noticed no differences yet. I think I will just openemr as above.
>You didn’t mix up OpenEMR 2.8.3 with something newer like version 2.8.4 or a checkout from CVS did you?
Definitely not.
>A totally blank page usually means there is a PHP error.
>Look in your http error log, php error log, or syslog depending on where the error output is sent.
My php error log is not reporting anything beyond the apache restart. Is as if the program doesn’t even get to run any php. these are the last three lines from my php-error.log file:
[06-Apr-2008 19:08:36] PHP Warning: Module ‘yaz’ already loaded in Unknown on line 0
[06-Apr-2008 19:08:36] PHP Warning: Module ‘zip’ already loaded in Unknown on line 0
[06-Apr-2008 19:08:36] PHP Warning: Module ‘zlib’ already loaded in Unknown on line 0
Warnings can generate a white page if your error reporting level is too high. You need to make sure that the PHP engine does not stop on simple warning messages. This is the actual most frequent cause of this.
how would I go about reducing my error reporting level??
can also cause this behavior if MySQL doesn’t like your settings. I have trouble with my.cnf because I have a very large table that holds all my images. This is an InnoDB table and setting up the my.cnf incorrectly causes this behavior.
Do you show active httpd and mysql processes when you:
reinstalling did the trick
one of my important files must have become corrupted at some point.
I will post the actual error if I figure it out in the future.
Dr. Smit this is what I did:
re-downloaded openemr2.8.3.tar.gz from SourceForge.net
made a backup copy of the openemr directory in my web root directory (in mandriva it might be /var/www/html,)
made a back up copy of the openemr database folder in mysql
to make backups I just recopy the folder and rename it with the suffix backup and todays date ex:
openemr becomes openemrBackup20080407
made changes to globals.php
ran http://localhost/openemr/setup.php
and followed the instructions from there
1. rm -rf openemr ;removing openemr from /var/www/html
and then reinstalling a fresh download from sourceforge but the login screen is still blank
2. is it that I have php5 , i searched but there are no php4 packages for cli, cgi in mandriva
3. do I have to remove openemr database in mysql first or back it up & then procced as in step 1.
You can’t expect to solve this without knowing what the error message is. Your php.ini needs to be configured to log error messages, and then you need to look in wherever they are logged to.
here’s what you need to help me I think
thanks in advance to all
Warning: include_once(/mnt/htdocs/openemr/library/classes/Filtreatment_class.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/html/openemr/interface/login/login_frame.php on line 4
Warning: include_once() [function.include]: Failed opening ‘/mnt/htdocs/openemr/library/classes/Filtreatment_class.php’ for inclusion (include_path=’.:/usr/lib/php/:/usr/share/pear/’) in /var/www/html/openemr/interface/login/login_frame.php on line 4
Fatal error: Class ‘Filtreatment’ not found in /var/www/html/openemr/interface/login/login_frame.php on line 12
You need to slow down, breathe, and start at the top.
Your configurations file has an error (ie: globals.php)
From the error message it looks like you are asking the system to look for Filtreatment_class.php in /mnt/htdocs/openemr/library/classes/ yet, your openemr installation directory seems to be /var/www/html/openemr/ (not /mnt/htdocs/openemr). The Filtreatment_class.php is located in /var/www/html/openemr/library/classes/ and that is where php should be looking.
Do not go back to PHP4, there is no need.
I have apache2.2, php5, mysql5.1, postgres 8.3, sql-ledger2.8.13 (with the ws_server_28.pl file from cvs) and openemr2.8.3 all apparently working together with ssl.
It was a !@#$%^&*( but worth it.
By starting at the top I mean, go back to the instruction manual and follow the steps one by one again, and make sure you did them correctly.
To back up mysql go to your mysql-data folder (in freebsd it’s in the /var/db/mysql folder) and make a copy of the complete openemr folder. You will know its the right one when you see files that look like this:
addresses.frm
addresses.MYD
addresses.MYI
array.frm
array.MYD
array.MYI
batchcom.frm
and so on and so forth.
Alternatively you can do a search for all the folders of the name openemr.
I reinstalled apache mysql php and openemr 5 times but every time the result is same
there is one deviation that I adopt from the prescribed method that–
I unzip and mv openemr-* to folder /var/html/openemr as I could not follow the code:
cd /var/www/html
tar pxzvf /location/to/tar/openemr-*.tar.g
mv openemr-* /var/www/html/openemr
it has been very much trying Plesae suggest some solution
I tried by substituting "/var/www/html/openemr/" instead of "/mnt/htdocs/openemr" in global.php, my login screen came but on typing in the username and password it comes bak to login screen with username and password field empty.
i could log in after many efforts… i get this on logging in
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /var/www/html/openemr/library/freeb/xmlrpcs.inc on line 498
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /var/www/html/openemr/library/freeb/xmlrpcs.inc on line 501
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /var/www/html/openemr/library/freeb/xmlrpcs.inc on line 538
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pnuserapi.php on line 1280
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pnuserapi.php on line 1312
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pnuserapi.php on line 1359
in my efforts I did:
1.—
kdesu kwrite /var/www/html/openemr/interface/globals.php
in the editor that opened I subtituted "/mnt/htdocs/" to "/var/www/html"
and then ran setup again
2—
the first pass word is "pass" and nothing else, I mistaken was keying the password I had set during setup