Systempreferences.pl
Hi all Since the last update of systempreferences from CVS, my system preferences page does display anything. Reading the logs I've seen that the script now supports droplists for some values. Is there anything that needs to be changed apart from the koha files (some part of the db for example) so that the file works correctly ? Thanks Jerome
On Tue, Jul 01, 2003 at 01:44:29PM +0200, Jerome Vizcaino wrote:
Hi all
Since the last update of systempreferences from CVS, my system preferences page does display anything. Reading the logs I've seen that the script now supports droplists for some values. Is there anything that needs to be changed apart from the koha files (some part of the db for example) so that the file works correctly ?
Thanks
Jerome
I have the same problem...the systempreferences page is blank.
Hi I've figured out that the 2.0.0pre1 and the CVS versions of system preferences are dead. The perl script has been upgraded so it can support lists and predefined values. It seems the script expects the systempreferences table to have a type and option field but those fields doesn't exist (even in the koha.mysql in the 2.0.0pre1 install script). The default template doesn't support those modifications too. The one who made the modifications (steve I think) didn't upgrade the tmpl and database creation script so the system doesn't work anymore. I've sent a mail to Steve explaining the problem. Hope he gets it fixed soon. Jerome On Tue, 2003-07-01 at 15:56, Joshua Ferraro wrote:
On Tue, Jul 01, 2003 at 01:44:29PM +0200, Jerome Vizcaino wrote:
Hi all
Since the last update of systempreferences from CVS, my system preferences page does display anything. Reading the logs I've seen that the script now supports droplists for some values. Is there anything that needs to be changed apart from the koha files (some part of the db for example) so that the file works correctly ?
Thanks
Jerome
I have the same problem...the systempreferences page is blank.
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Koha-devel mailing list Koha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/koha-devel
Hello, I had this problem as well. I believe that koha.mysql is way out of date. The changes are in the updatedatabase script and so they should be in effect on a new installation. Mike -- Mike Hansen <mwhansen@hmc.edu>
Mike Hansen <mwhansen@hmc.edu> wrote:
I had this problem as well. I believe that koha.mysql is way out of date. The changes are in the updatedatabase script and so they should be in effect on a new installation.
Design question: why is updatedatabase used instead of the koha.mysql file? -- MJR/slef My Opinion Only and possibly not of any group I know. http://mjr.towers.org.uk/ jabber://slef@jabber.at Creative copyleft computing services via http://www.ttllp.co.uk/ Thought: "Changeset algebra is really difficult."
MJ Ray wrote:
Mike Hansen <mwhansen@hmc.edu> wrote:
I had this problem as well. I believe that koha.mysql is way out of date. The changes are in the updatedatabase script and so they should be in effect on a new installation.
Design question: why is updatedatabase used instead of the koha.mysql file?
Some explanations : * the koha.mysql is a old 1.2.x DB structure. * all modifications are done through updatedatabase script. During install, the db is created with koha.mysql then updated through updatedatabase. This enable upgrading from any version to 2.0.0 one. However, this upgradedatabase script is not enough when upgrading from 1.2.x to 2.0.0 version, as this upgrade require : * updatedatabase * populate MARC parameters table * tune your marc * migrate datas from old-DB to MARC-DB I asked katipo for this upgrade tools, they can't do it for instance. I spoke with jerome of a complete koha.mysql 2.0.0, that should not require upgradedatabase. I may build such a DB for 2.0.0 official release. BUT, the upgradedatabase will still be used for upgrading. -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
paul POULAIN <paul.poulain@free.fr> wrote:
I may build such a DB for 2.0.0 official release.
Can I have a 2.0.0 .mysql file, please? It would be a great help to have one that is known correct, for some things I am working on. -- MJR/slef My Opinion Only and possibly not of any group I know. http://mjr.towers.org.uk/ jabber://slef@jabber.at Creative copyleft computing services via http://www.ttllp.co.uk/ Thought: "Changeset algebra is really difficult."
MJ Ray wrote:
paul POULAIN <paul.poulain@free.fr> wrote:
I may build such a DB for 2.0.0 official release.
Can I have a 2.0.0 .mysql file, please? It would be a great help to have one that is known correct, for some things I am working on.
I'll send you mine immediatly. (only table definitions, no values) -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
Joshua Ferraro wrote:
On Tue, Jul 01, 2003 at 01:44:29PM +0200, Jerome Vizcaino wrote:
Hi all
Since the last update of systempreferences from CVS, my system preferences page does display anything. Reading the logs I've seen that the script now supports droplists for some values. Is there anything that needs to be changed apart from the koha files (some part of the db for example) so that the file works correctly ?
Thanks
Jerome
I have the same problem...the systempreferences page is blank.
cc from cvsweb : Revision *1.50* <http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/koha/koha/updater/updatedatabase?rev=1.50> / *(view)* <http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/koha/koha/updater/updatedatabase?rev=1.50&content-type=text/vnd.viewcvs-markup> - annotate <http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/koha/koha/updater/updatedatabase?annotate=1.50> - [select for diffs] <http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/koha/koha/updater/updatedatabase?r1=1.50> , /Wed Jun 11 21:28:22 2003 UTC/ (2 weeks, 6 days ago) by /tonnesen/ Branch: *MAIN* <http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/koha/koha/updater/updatedatabase?only_with_tag=MAIN> Changes since *1.49: +110 -37 lines* Diff to previous 1.49 <http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/koha/koha/updater/updatedatabase.diff?r1=1.49&r2=1.50> Added modifications required to the systempreferences table by the new systempreferences.pl script. The systempreferences.pl script will not work properly until this table is updated. Check that your systempref table is : CREATE TABLE systempreferences ( variable varchar(50) NOT NULL default '', value varchar(200) default NULL, explanation varchar(200) NOT NULL default '', options text, type varchar(20) default NULL, PRIMARY KEY (variable) ) TYPE=ISAM PACK_KEYS=1; (you should have to add options and type) I had missed this change in 2.0.0pre1 release notes, sorry. -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
participants (5)
-
Jerome Vizcaino -
Joshua Ferraro -
Mike Hansen -
MJ Ray -
paul POULAIN