- Firstly, create a restore point.
- Open SERVERLINK, in “HOME”, click on the update.
- Let SERVERLINK download the update.
- After the download has been completed, a popup will appear. Click “Yes”.
- Click “Next” on each Setup.
Note: if you choose “Only dowload setup (do not install)” , then the setup file is downloaded into this folder “C:\Users\…\AppData\Local\Temp\UpdateRelease.exe“. Run the “UpdateRelease.exe” at a later date.
- Restart UBS-SERVER.
- Finally, check the version displayed is the latest version (s.c.).
Category Archives: Support
Comparison of E-mail API used in PHP
Runner_Mail() | PHPMailer() | PHP Mail() |
SMTP, user name, password, port, etc. are set inside the PHPRunner UI | PHPMailer() is called by Runner_Mail()
SMTP is set inside the PHP code itself |
SMTP is set in “PHP.ini” |
<?php
require_once(“include/dbcommon.php”);
$email = “t1@mobitek.my”; $msg = “”; $subject = “New data record”;
$msg.= “Message: [Message]\r\n”; $msg.= “Recipient: Recipient\r\n”; $msg.= “Date/Time: DateTimeQueue\r\n”; runner_mail(array(‘to’ => ‘$email’, ‘subject’ => $subject, ‘body’ => $msg)); ?> |
<?php include_once(‘libs/phpmailer/class.phpmailer.php’); include_once(‘libs/phpmailer/class.smtp.php’);$mail = new PHPMailer( true ); // Mail settings $mail->isSMTP(); //Send using SMTP $mail->Host = ‘mail.sweetco.com.my’; //Set the SMTP server to send through $mail->SMTPAuth = true; //Enable SMTP authentication $mail->Username = ‘factory@sweetco.com.my‘; //SMTP username $mail->Password = ‘2022@Beranang@Factory’; //SMTP password //$mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; //Enable implicit TLS encryption $mail->Port = 587; //TCP port to connect to; use 587 if you have set `SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS` $mail->setFrom(‘support@mobitek.my‘, ‘MOBITEK Support’); $mail->isHTML(false);$mail->To = “t1@mobitek.my”; $mail->Subject = “This is Subject”; $mail->Body = “This the body”; $mail->Send();?> |
Open “php.ini” and search for “smtp” (there are no entries for no username and password)
[mail function] ; For Win32 only. ; For Unix only. You may supply arguments as well (default: “sendmail -t -i”). ; Force the addition of the specified parameters to be passed as extra parameters ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename ; The path to a log file that will log all mail() calls. Log entries include |
How to Implement Log-In Page using “Database” for a Web Application
- Edit “Email settings…” in “Misc” tab.
- Add new table “users” in “Security” tab.
- Set “Dynamic permissions” in “Security” tab. Add a new user.
- Build and run the PHPRunner project in localhost. Log in using the username and password added previously. Let the PHPRunner project open in localhost.
- Go to PHPRunner project again. Enable “Password hashing (encryption)” in “Registration and passwords…”.
- Build and run PHPRunner project again in localhost.
- Go to “Admin Area”.
- Go to “Add/Edit users”, edit the password. To use back the same password, first change the password to another password. Save it and then edit it back to change to the original password.
USR-VCOM for MOBITEK S80 and MOBITEK Q25 Works in Windows 11
LAN driver (USR-VCOM) for MOBITEK S80 and MOBITEK Q25 supports Windows 11.
However, the USB driver of MOBITEK S80 3G Modem does not work in Windows 11. Use LAN port (LAN driver) of MOBITEK S80 instead.
USR-VCOM for MOBITEK S80 and MOBITEK Q25 Works in Windows 11
TEST OBJECTIVE | TESTING METHODOLOGY | TEST RESULT |
Does MOBITEK S80’s USR-VCOM (ELTIMA virtual serial port) support Windows 11? | USR-VCOM version = 3.7.1.520 | |
Does MOBITEK Q25’s USR-VCOM (ELTIMA virtual serial port) support Windows 11? | USR-VCOM version = 3.7.1.520 |
Change Log of SMS360
v. 1.1 2024-01-03 Kaizen Completed
Add “Incoming SMS” tab
BEFORE | AFTER |
“Incoming SMS” tab that display ‘Inbox” table in grid format. |
MODIFICATION in PHPRunner
- Add new connection to “SMSEngineVBNET.mdb”
- Add “Inbox” table to the project.
- Go to “Menu editor”. In “Menu Settings” section, select “Inbox” -> “Edit item”.
- In “Menu Item Editor”, rename the “Item text” to “Incoming SMS”.
- Go to “Pages” tab. In Tables list, select “Inbox”. Uncheck “Edit record”, “Add new” and “Delete record”.
- Go to “Designer” tab, select “Inbox” in Tables list, set the page properties as below:
Add “Outgoing SMS” tab
BEFORE | AFTER |
“Outgoing SMS” tab that display “Outbox” table in grid format. |
MODIFICATION in PHPRunner
- Add “Outbox” table to the project.
- Go to “Menu editor”. In “Menu Settings” section, select “Outbox” -> “Edit item”.
- In “Menu Item Editor”, rename the “Item text” to “Outgoing SMS”.
- Go to “Pages” tab. In Tables list, select “Outbox”. Uncheck “Edit record” and “Delete record”.
- Go to “Designer” tab, select “Outbox” in Tables list, set the “Page layout” as below:
Add button “Send SMS” into “Incoming SMS” tab
BEFORE | AFTER |
“Outgoing SMS” tab has a button “Send SMS” that insert a new record into “Outbox” table so that a SMS can be send out by SMS Engine — Basic Edition. |
MODIFICATION in PHPRunner
- Go to “Designer” tab. Select “Outbox” in Tables list. Click on “list” tab, click “Add new” button. Rename the text in “label” to “Send SMS”.
- In the same “Designer” tab, select “add” tab. Click “Remove field” dropdown and remove all fields except “Message”, “Recipient” and “DateTimeQueue”.
Add “http://localhost/sms360/v.1.1”
BEFORE | AFTER |
Localhost in HPC-8300 can access the PHP files on “http://localhost/sms360/v.1.1” |
MODIFICATION in PHPRunner
- Open “..\output\connections\ConnectionManager.php”
- Go to the line “$data[“ODBCString”]” and change the value to:
- “Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\mobitek1\\Desktop\\SMS360 v. 1.1\\SMSEngineVBNET.mdb;Persist Security Info=False;”;
- “Data Source” is where the “SMSEngineVBNET.mdb” located.
- Each directory must be separated by double backslash “\\”.
- Copy all files inside “output” folder to “C:\wamp64\www\sms360\v.1.1”
v. 1.1 2024-01-03 Beta Testing Completed
TEST OBJECTIVE: Can v.1.1 work with “SMSEngineVBNET.mdb”?
TEST OBJECTIVE: Can v.1.1 run in localhost of HPC-8300 (http://localhost/sms360/v.1.1) ?
TESTING METHODOLOGY | TEST RESULT |
|
PROBLEM
SOLUTION | SOLVED? |
According to PHPRunner documentation, to use PHPRunner with Access database, we need to use 32-bit version (source: https://xlinesoft.com/phprunner/docs/connecting_to_ms_access_db.htm) |
Not tested |
Enable “php_com_dotnet.dll” extension in “php.ini” file (source: https://xlinesoft.com/phprunner/docs/connecting_to_ms_access_db.htm) |
NO |
Use ODBC in PHPRunner
refer to |
NO. ODBC does not work.
“ADODB.Connection” problem has disappeared but new error thrown Steps to use ODBC in PHPRunner:
It seems like PHPRunner still use Microsoft.Jet.OLEDB driver to connect to Access database which only work with 32-bit application as suggested by PHPRunner The problem with Microsoft.Jet.OLEDB driver also discussed by others
I’ve tried to create a new blank project using MS Access database in PHPRunner and also face the same problem:
The solutions to use Microsoft Access database in PHPRunner are:
|
Edit the “ConnectionManager.php” to force it to use “Provider=Microsoft.ACE.OLEDB.12.0” instead of “Provider=Microsoft.Jet.OLEDB.4.0”
|
YES
Overwrite “..\output\connections\ConnectionManager.php” in line 146 from: Provider=Microsoft.Jet.OLEDB.4.0;DSN=SMSEngineVBNET;UID=;PWD=;Driver=C:\\PROGRA~1\\COMMON~1\\MICROS~1\\OFFICE15\\ACEODBC.DLL;DBQ=C:\\Users\\mobitek1\\Desktop\\SMS360 v. 1.1\\SMSEngineVBNET.mdb;DriverId=25;FIL=\”MS Access;\”;SafeTransactions=0″ to Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\mobitek1\\Desktop\\Project1\\SMSEngineVBNET.mdb;Persist Security Info=False; |
How Does MOBITEK S150 Remotely Open and Close Automatic Gate by SMS
SMS Command
- To open the gate:
- send 1234CC to connect the relay
- send 1234DD to disconnect the relay
- To close the gate:
- send 1234CC to connect the relay
- send 1234DD to disconnect the relay
Steps — Wiring and Configuration
PHPRunner Allows Both Image and PDF File to be Uploaded
The Preferred Method — “View as File”
To set the field to allow both image and PDF file to be uploaded, go to “Designer” tab, select the field and click “View As/Edit As” button:
- In “View as”, set the field as “File”
- In “Edit as”:-
In “Advanced Settings”, set the “Allowed file types” to accept both image and document format or just leave it empty to allow all file formats:-
- The result:-
Difference Among “view as image”, “view as file”, “view as PDF”
View as “Image”
View as “File”
View as “PDF”
Conclusions on Both Image and PDF File Format
In the documentation (https://xlinesoft.com/phprunner/docs/view_as_settings_file.htm), there is “Display PDF files online” but not in our PHPRunner.
That’s the only way to view the PDF file uploaded online. But still the image file will be downloaded when clicked.
3 ways to show the uploaded image or file
How to Solve MOBITEK S150 Rebooting Every 1 Minute
PROBLEM | SOLUTION |
Find out why S150 keeps rebooting every 1 minute.
|
The problem will occur when S150 is unable to reply by SMS to the “1234CC” and “1234DD” commands.
In our case, the cause is SMS quota in the Yoodo SIM card has been exchausted, so S150 is not able to reply via SMS to any command send to it. When it failed to send out SMS, it would self-reboot. This will be repeated for every 1 minute until SMS is successfully send out. Solution: Keep the credit balance available all the time to avoid the S150 rebooting every 1 minute in order to resend SMS. |
Moving Shared Folder to Another Disk Drive While Retaining Share Permission in Windows OS
How to move shared folder to another drive on Windows 11, 10
robocopy C:\SOURCE-SHARE D:\DESTINATION-SAHRE /R:5 /W:2 /Copyall /E /MIR
robocopy "K:\HPC-8300 Back-Up" "P:\HPC-8300 Back-Up" /R:5 /W:2 /Copyall /E /MIR