[Koha-devel] Systempreferences.pl

paul POULAIN paul.poulain at free.fr
Wed Jul 2 06:15:02 CEST 2003


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)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20030702/59c2b75e/attachment-0002.htm>


More information about the Koha-devel mailing list