Because of some modifications in Jelix 1.0beta3, here what you must do to update Jelix and your application:
remove the directories lib/jelix and lib/jelix-plugins/ (recover your own files if you put some in these directories, you will reinstall them then)
remove the directory lib/jelix-modules/jelix
remove the contents of the directory temp of your application
install the new directory lib/jelix, lib/jelix-plugins (which is empty in the beta3) and the other directories provided.
modify the configuration file of your application, and other source files, by changing the names of the parameters defaultModule, defaultAction, defaultLocale, defaultCharset, defaultTimeZone, defaultTheme, respectively by the names startModule, startAction, local, charset, timeZone and topic.
If you created plugins of coordinator:
place them in under directory coord/in your directory of plugins (example: your-appli/plugins/exemple becomes your-appli/plugins/coord/exemple
rename your plugin files : exemple.plugin.php to exemple.coord.php
in your plugin files, change the name of the interface jIPlugin to jICoordPlugin
If you created your own drivers of authentification, drivers jdb, rename also the files and the names of the classes (see documentation on the plugins)
if you created plugins of templates
move your directories common, html etc in a sub-directory tpl/ of your directory plugins (in your-appli/plugins/tpl thus)
in the configuration files of your application, remove the line tplpluginsPath which is not necessary any more
modify the function names of your plugins, by following the pattern “jtpl_plugintype_outputtype_pluginname” where plugintype is the type of plugin (function, to modify etc.), outputtype is the type of format (
HTML if it is in repertory
HTML, common if it is in the repertory common etc.).
In your DAO files:
change the attribute names selectmotif, updatemotif and insertmotif, to selectpattern, updatepattern and insertpattern (but it is not an urgency, the old names are still recognized in the beta3)
in your methods in PHP, change the call to $this→_pkFields into $this→getPrimaryKeyNames ().
In your PHP files, if you use jDatetime, change the names of the constant BD_* into DB_* (but it is not an urgency, the old names are still recognized in the beta3)
if you use JSON class (lib/JSON/) directly, replace the call by the use of the new class jJson.
There were many modifications in the format of the jForms files. Refer to the documentation to know the new XML grammar.
Change the call to the classes jAclManager and jAclUserGroup by jAclDbManager and jAclDbUserGroup (see the details of the changes)
Use of the requests jsonrpc and xmlrpc: received parameters RPC are now in a single parameter jelix “params”.