Welcome to the nuBuilder forums!
Please register and login to view forums and other content only available to registered users.
Please register and login to view forums and other content only available to registered users.
Moving application to win2022 server
-
- Posts: 41
- Joined: Thu Jan 25, 2018 3:51 pm
Moving application to win2022 server
Hi ,
I have moved application built using nubuilder to win 2022 from win 2012 with following steps.
1) copied the source code to xamp
2) exported the database
3) changed relevant connection string.
4) started apache and mysql.
After performing above steps i am able to see login screen with localhost on the server as well as outside the server using url.
However, i tried to login with normal user or globeadmin i am getting attached error and warmings. please suggest.
I have moved application built using nubuilder to win 2022 from win 2012 with following steps.
1) copied the source code to xamp
2) exported the database
3) changed relevant connection string.
4) started apache and mysql.
After performing above steps i am able to see login screen with localhost on the server as well as outside the server using url.
However, i tried to login with normal user or globeadmin i am getting attached error and warmings. please suggest.
- Attachments
-
- nuerror.PNG (87.56 KiB) Viewed 5005 times
-
- nuBuilder Team
- Posts: 3848
- Joined: Sun Oct 14, 2018 6:43 pm
- nuBuilder Version: 4.5
- Has thanked: 2 times
- Been thanked: 9 times
- Contact:
-
- Posts: 41
- Joined: Thu Jan 25, 2018 3:51 pm
-
- nuBuilder Team
- Posts: 3848
- Joined: Sun Oct 14, 2018 6:43 pm
- nuBuilder Version: 4.5
- Has thanked: 2 times
- Been thanked: 9 times
- Contact:
-
- Posts: 41
- Joined: Thu Jan 25, 2018 3:51 pm
Re: Moving application to win2022 server
Thank you Kevin for quick response. It made me to move one step forward. However, Still not able to login successfully.
From the first screenshot ini_set warning is resolved however i feel actual error is last message from first screenshot.:
Fatal error: Uncaught Error: Attempt to modify property "forms" on null in E:\xampp\htdocs\PMTools_PROD\nuapi.php:33
Stack trace:
#0 {main}
thrown in E:\xampp\htdocs\PMTools_PROD\nuapi.php on line 33
line 33 code for nuapi.php is
$f->forms[0] = new stdClass;
From the first screenshot ini_set warning is resolved however i feel actual error is last message from first screenshot.:
Fatal error: Uncaught Error: Attempt to modify property "forms" on null in E:\xampp\htdocs\PMTools_PROD\nuapi.php:33
Stack trace:
#0 {main}
thrown in E:\xampp\htdocs\PMTools_PROD\nuapi.php on line 33
line 33 code for nuapi.php is
$f->forms[0] = new stdClass;
-
- nuBuilder Team
- Posts: 3848
- Joined: Sun Oct 14, 2018 6:43 pm
- nuBuilder Version: 4.5
- Has thanked: 2 times
- Been thanked: 9 times
- Contact:
-
- Posts: 41
- Joined: Thu Jan 25, 2018 3:51 pm
Re: Moving application to win2022 server
Server version: 10.4.28-MariaDB - mariadb.org binary distribution
PHP/8.1.17
Database client version: libmysql - mysqlnd 8.1.17
nubuilder 4
PHP/8.1.17
Database client version: libmysql - mysqlnd 8.1.17
nubuilder 4
-
- Posts: 41
- Joined: Thu Jan 25, 2018 3:51 pm
Re: Moving application to win2022 server
on my old windows server we have the following.
Database client version: libmysql - mysqlnd 5.0.12-dev
PHP version: 7.0.30
Server version: 10.1.32-MariaDB - mariadb.org binary distribution
Database client version: libmysql - mysqlnd 5.0.12-dev
PHP version: 7.0.30
Server version: 10.1.32-MariaDB - mariadb.org binary distribution
-
- nuBuilder Team
- Posts: 3848
- Joined: Sun Oct 14, 2018 6:43 pm
- nuBuilder Version: 4.5
- Has thanked: 2 times
- Been thanked: 9 times
- Contact:
Re: Moving application to win2022 server
nuBuilder4 might not be completely compatible with your existing setup. I recommend updating both nuBuilder to the latest version (4.5) and your PHP version to a more recent version.
-
- Posts: 41
- Joined: Thu Jan 25, 2018 3:51 pm
Re: Moving application to win2022 server
Thank you very much Kevin for the advice.
I have created separate instance with 4.5 version. but i got struct with migrate existing forms and data. looks like few fields have changed.
Do we have ant specific procedure to follow when we have latest version?
I have created separate instance with 4.5 version. but i got struct with migrate existing forms and data. looks like few fields have changed.
Do we have ant specific procedure to follow when we have latest version?