shortname wrote on Friday, January 13, 2006:
Since I last posted I have switched from OpenSuSE 10.0 to Gentoo 2005.1 to solve some bizarre problems with PostNuke: but I am now having trouble moving an openemr database. I need to move a database from an old machine (running 2.7 beta for mandrake) to a new machine (Gentoo 2005.1 with OpenEMR 2.8.0). After I set up OpenEMR 2.8.0, I moved the database from the old machine into /var/lib/mysql on the new machine, overwriting the OpenEMR database that was created during setup. At first I encounter no problems (after making sure that sqlconf.php reflects the proper username and password), until I try to log in (standard "admin" and "pass") at which point I get:
Warning: Missing argument 2 for helpfuldie() in /var/www/localhost/htdocs/openemr/library/sql.inc on line 113
ERROR: insert failed: insert into log (date, event, user, groupname, comments) values (NOW(), ‘login’,‘admin’,‘DavidAugust’,‘failure’) (Table ‘log’ is read only)
I’m not sure what the problem is, seeing as the entire OpenEMR database has the correct permissions (I copied the old dbase using cp -RP). Is there some way to make the tables writeable again?
Thanks,
Jeremy