drbowen wrote on Thursday, December 04, 2008:
Install MySQL like usual.
Set the root password, etc.
Make sure the MySQL server starts like normal.
Then Stop the MySQL server.
move the new /var/lib/mysql to a new directory (for paranoid metal state thinking).
such as:
mv /var/lib/mysql /home/voipbound/mysql.new
Copy the old mysql to /var/lib/mysql
cp /home/voipbound/mysql.original /var/lib/mysql -R
"mv" works also but does not protect your backup copy.
Restart the mysql server.
Everything should be there and working.
I think the module that you are missing is CT::save_customer. This seems to be due to a miss match between the ws_server.pl and the version of SQL-Ledger.
I found a reference to this problem on openemr dot net while on searching the web:
**********
When trying to save patient data after adding demographic data, I received an error indicating that ‘save_customer’ could not be found in CT. After looking in ws_server.pl, I found the sub ‘rpc_add_customer’ that calls: CT::save_customer(’’, %$myconfig, %$form). I then looked in CT.pm and found that there was no sub in CT.pm named ‘save_customer’ I did find a sub named ‘save’ that looked like it performed the correct tasks. Just to find out if it would work, I copied ‘save’ into ‘save_customer’ and it worked. Since this is a major part of the system, and I have not seen other posts about it, I figured that I had done something wrong on install to cause this. Any thoughts?
Update: 4/8/08 - I found that sql-ledger 2.8.x has changed the CT.pm package to contain a save() sub, but not a save_customer() sub any more. I am not sure if I chose the version of sql-ledger, or if it is included in the openemr package. I will check that next, but it looks like if anyone intends to use a newer sql-leger version, the calls to it will need to be changed.
My setup:
Ubuntu server 6.06 LTS, Apache 2, MySql 5.0
OpenEMR v3.3.8-rc1 (from the current download page)
Sql-ledger 2.8.13
***********
A couple of issues come up.
1) I don’t think that we use “ezybiz”
2) SQL-Ledger development is not under our control and it is possibly that it is really the newer version of the SQL-Ledger that is causing this problem
3) There is another project that insists on using the name openEMR but "they are not us".
4) If you could consider upgrading to OpenEMR 2.9.1-dev from CVS. You won’t need ws_server.pl or PERL or SQL-Ledger since the AR management is now inthe the OpenEMR code. (Unless you still want to use SQL-Ledger for your accounting).
Which versions of OpenEMR and SQL-Ledger are you using?
Sam Bowen, MD