You may want to upgrade SweetRice using online upgrade feature,we want it too,but there is a bug when update files which does't exists on the server,so we must update [YOUR DASHBOARD DIR]/lib/do_update.php manually,the file is listed at the attachment section below.
just download the zip file and unzip,upload do_update.php to your server,other things will be very easy,just go to Dashboard / Update click check update,download files,update files,update database,clean temp file,every thing will be success. You can upgrade using automatically mode too.
What's new for SweetRice 1.4.0?
- Tiny js framework - see js/public.js just one function named Sweetrice or _ ,it provides a basic dom selector , we can list object by ID,CLASSNAME,TAGNAME ,supports child node.
- AJAX - using _.ajax to manage post or get request,before we can use ajax_post or ajax_get,since 1.4.0 the old function will be move to new js framework.
- js dialog - using _.dialog you can just popup a notice message or make a form with button.
- Dashboard supports pugin return ajax data
- Template file automatic backup when online modify,some time if network problem or submit wrong data,template will be updated,if you want to get back,yes,you can.
- db_fetch function - when you want to get items with page output,just using this function,you can custome pager function and tell db_fetch the function name.
- new dashboard design and new dashboard login form,hope you like.
Which trouble will stops you when upgrade to 1.4.0?
- Old js function includes AJAX function,setCookie,ajax_tip,pageSize,scrollSize ajax_post ,ajax_get etc must be call them using new name.
- Plugin's home.php must give dashboard a array named $plugin_page,which list that files want to include.
- new PHP version,php5,3 and php5.4 remove some function likes mysql_escape_string,sqlite_escape_string,if you want to use new PHP,please upgrade SweetRice to 1.4.0 before upgrade PHP.
About web browser support
We must say goodbye to IE7 and below,IE8? IE9? maybe you want to use IE 10 and above or Firefox,Chrome,because standard web browser will save your many time,save time is save money.
When error stops you,how to get help?
just give us a comment or email with error message or screenshot,maybe we can help you.