Originally posted by Giu
View Post
Announcement
Collapse
No announcement yet.
How to upgrade SC
Collapse
This is a sticky topic.
X
X
-
-
No, to be sure you need to make a full binary backup of your scriptcase folder under netmake.
Leave a comment:
-
Ok. From now on I will make a full backup of my projects using the built in function and I will also make a copy of wwwroot/scriptcase folder.
In case of problems, is it enough to put the old scriptcase folder at its place overwritting the new one?
Thank you
Leave a comment:
-
I only have one recommendation. Since you cannot go easily back to the old version I recommend to create a full binary backup of your sc folder. If something goes wrong you can always revert back. Unfortunately we have had samples of updates that did not went well. Of course SC fixes it asap, but it's a burdon never-the-less. We always do this on any update, tiny or big.
Leave a comment:
-
So let me get this straight:
i am now running 8.1.041 version.
i generally follow inidications and go in help menu-->update version and so on.
should i trust this procedure when i see the message frog sc when i log in telling me that there is an update?
what you suggested applies for every update or just major ones?
thanks
Leave a comment:
-
Thanks Gui, will do..... Just thought it is related to upgrading ...
Rgrds
Leave a comment:
-
No, you can use php 5.4 although I don't recommend that. But you cannot use php 7 (yet).
Leave a comment:
-
Originally posted by MohMiro View PostHi Team,
I wish I had this info before upgrading although most of the direct updates have worked with no problems. In fact I once backed-up my project and restored and was shocked that I lost all my layout formatting. I had to repeat all my forms.
However, following upgrade to version 8.1.039 I experienced many problems with dates upon generating source code. The following is an abstract;
Parse error: syntax error, unexpected ';' in C:\Program Files (x86)\NetMake\v81\wwwroot\scriptcase\app\AutoGUser s\form_valuations\form_valuations_apl.php on line 6335
$comando_multiul = "SELECT COUNT(*) FROM valuations_photos WHERE p_val_id = " . $this->id . "";
$_SESSION['scriptcase']['sc_sql_ult_comando'] = $comando_multiul;
$this->trans_date = $old_value_trans_date;
$this->expirydate = $old_value_expirydate;
$this->valuation_fee = $old_value_valuation_fee;
$this->datereg = $old_value_datereg;
$this->id = $old_value_id;
$this->marketvalue = $old_value_marketvalue;
$this->windscreenvalue = $old_value_windscreenvalue;
$this->radiovalue = $old_value_radiovalue;
$this->tyres_nearfront = $old_value_tyres_nearfront;
$this->tyres_offfront = $old_value_tyres_offfront;
$this->tyres_nearrear = $old_value_tyres_nearrear;
$this->tyres_offrear = $old_value_tyres_offrear;
$this->insert_date = $old_value_insert_date;
$this->insert_date_hora = $old_value_insert_date_hora = ; <=NOTICE THIS, this is line 6335
$this->edit_date = $old_value_edit_date;
$this->edit_date_hora = $old_value_edit_date_hora = ; <=NOTICE THIS
$rs_mu = $this->Db->Execute($comando_multiul);
Kindly what is the work-around for this? Its happening to most of my transactions forms and remember that I have not made any changes to the forms. I cannot deploy to production
Thnx & KRgrds
Moh.
Leave a comment:
-
Hi Team,
I wish I had this info before upgrading although most of the direct updates have worked with no problems. In fact I once backed-up my project and restored and was shocked that I lost all my layout formatting. I had to repeat all my forms.
However, following upgrade to version 8.1.039 I experienced many problems with dates upon generating source code. The following is an abstract;
Parse error: syntax error, unexpected ';' in C:\Program Files (x86)\NetMake\v81\wwwroot\scriptcase\app\AutoGUser s\form_valuations\form_valuations_apl.php on line 6335
$comando_multiul = "SELECT COUNT(*) FROM valuations_photos WHERE p_val_id = " . $this->id . "";
$_SESSION['scriptcase']['sc_sql_ult_comando'] = $comando_multiul;
$this->trans_date = $old_value_trans_date;
$this->expirydate = $old_value_expirydate;
$this->valuation_fee = $old_value_valuation_fee;
$this->datereg = $old_value_datereg;
$this->id = $old_value_id;
$this->marketvalue = $old_value_marketvalue;
$this->windscreenvalue = $old_value_windscreenvalue;
$this->radiovalue = $old_value_radiovalue;
$this->tyres_nearfront = $old_value_tyres_nearfront;
$this->tyres_offfront = $old_value_tyres_offfront;
$this->tyres_nearrear = $old_value_tyres_nearrear;
$this->tyres_offrear = $old_value_tyres_offrear;
$this->insert_date = $old_value_insert_date;
$this->insert_date_hora = $old_value_insert_date_hora = ; <=NOTICE THIS, this is line 6335
$this->edit_date = $old_value_edit_date;
$this->edit_date_hora = $old_value_edit_date_hora = ; <=NOTICE THIS
$rs_mu = $this->Db->Execute($comando_multiul);
Kindly what is the work-around for this? Its happening to most of my transactions forms and remember that I have not made any changes to the forms. I cannot deploy to production
Thnx & KRgrds
Moh.
Leave a comment:
-
Originally posted by Cavadinha View PostNice Giu.
This post will remain sticked for newer users knows how to upgrade and succesfully roll-back in case of problems.Last edited by ashtonbrady45; 11-21-2015, 05:35 AM.
Leave a comment:
-
Fatal Error
Hi, Mr. Gui...
A few days ago, I updated my SC version to 8.1. And as suggested, I made manual backup to my scriptcase folder in .zip format.
While, I was working, the error occurs :
"Fatal error: This file has expired. in /opt/NetMake/v8/wwwroot/scriptcase/devel/lang/en-us/App.lang.php on line 0"
Then, I logout and tried to login again. But, I can't login. The error occur, ie:
"Fatal error: This file has expired. in /opt/NetMake/v8/wwwroot/scriptcase/devel/lib/php/error.inc.php on line 0"
So, I decided to get back to the previous version (ver.8).
Now, I have already rollback my scriptcase installation to the previous version. But, the error is still occurs, like this :
"Fatal error: This file has expired. in /opt/NetMake/v8/wwwroot/scriptcase/devel/lib/php/error.inc.php on line 0"
So, what is the problem? Please help me, because I can not working with my scriptcase now.
Thank You.
Leave a comment:
-
Just a quick clarification: to deploy 8.1 apps to an existing 8.0 production environment, I would have to deploy the whole app afresh right? i.e. _lib folder especially. In other words I cannot expect the 8.1 apps to work with the 8.0 _lib folder?
Leave a comment:
-
ok here is what i've done so far,
installed fresh 8.1 from installer on different directory of version 8.0
tried to backup general from 8.0 from settings > backup, gave me
The requested URL /scriptcase/devel/iface/admin_serv_backup2.php was not found on this server
tried to copy this file of the backup from the other the 8.1 (backup2.php) and copy it to 8.0 -no luck, i was caught
so now i have 8.1 (upgraded from 8.0) functining well with php 5.4 - all projects, themes, icons, customization... all ok
and my fresh 8.1 is new, no license, no projects no icons, no themes, nothing i could do to import my themes and customized stuff from 8.0 yet
still stuck actually
and yeah, something else... the interface of 8.1 is better than 8.0 upgraded to 8.1... even the icons and the toolbar of the IDE is different, so is better to work on the new one 8.1 with php 5.6 but still everything i have as i said, specially the themes and customized stuff all projcts are in the old one 8.1. ....
so still need help here, any other suggestion?Last edited by MikeDE; 07-25-2015, 07:23 AM.
Leave a comment:
Leave a comment: