Category Archives: Internal

Change Log of Single Sign On

v. 1.0 2024-11-07 Kaizen Completed

Create a dashboard page, insert a table for each web application and its link

BEFORE AFTER

MODIFICATION in PHPRunner or cPanel or PHPMyAdmin

  1. Go to “Tables” tab and create “Dashboard”.

  2. Click on the newly created dashboard and go to “Layout” tab.
  3. Add a new “Code snippet”.

  4. There will be 4 code snippets to add for “JVS”, “SOT”, “STOCK” and “VMS”. For each code snippet:-
    • JVS
      • go to “jvs.sweetco.com.my” and get the current version and the landing page (must end with “.php” or “.html”)
      • add below code to code snippet by including the current version and landing page for JVS
        $header = "Journal Voucher System";
        echo "<table cellpadding=10px cellspacing=0px border=0>";
        echo "<tr><td><b>Current Version:</b></td><td> v. 2.2</td></tr>";
        echo "<tr><td><b>Link:</b></td><td><a href='external.php?url=https://jvs.sweetco.net/v.2.2/journal_voucher1_list.php' target='_blank'>JVS</a></td></tr>";
        echo "</table>";
    • SOT
      • go to “sot.sweetco.com.my” and get the current version and the landing page (must end with “.php” or “.html”)
      • add below code to code snippet by including the current version and landing page for SOT
        $header = "Sales Order Tracking";
        echo "<table cellpadding=10px cellspacing=0px border=0>";
        echo "<tr><td><b>Current Version:</b></td><td> v. 8.4</td></tr>";
        echo "<tr><td><b>Link:</b></td><td><a href='external.php?url=https://sot.sweetco.net/v.8.4/dashboard_dashboard.php' target='_blank'>SOT</a></td></tr>";
        echo "</table>";
    • STOCK
      • go to “stock.sweetco.com.my” and get the current version and the landing page (must end with “.php” or “.html”)
      • add below code to code snippet by including the current version and landing page for STOCK
        $header = "Stock Control";
        echo "<table cellpadding=10px cellspacing=0px border=0>";
        echo "<tr><td><b>Current Version:</b></td><td> v. 6.5.1</td></tr>";
        echo "<tr><td><b>Link:</b></td><td><a href='external.php?url=https://stock.sweetco.net/v.6.5/dashboard_dashboard.php' target='_blank'>Stock Control</a></td></tr>";
        echo "</table>";
    • VMS
      • go to “vms.sweetco.com.my” and get the current version and the landing page (must end with “.php” or “.html”)
      • add below code to code snippet by including the current version and landing page for VMS
        $header = "Vehicle Management System";
        echo "<table cellpadding=10px cellspacing=0px border=0>";
        echo "<tr><td><b>Current Version:</b></td><td> v. 3.3.1</td></tr>";
        echo "<tr><td><b>Link:</b></td><td><a href='external.php?url=https://vms.sweetco.net/v.3.3/dashboard_list.php' target='_blank'>VMS</a></td></tr>";
        echo "</table>";
    • Go to “Misc” tab and set the landing page.

    • Go to “Editor” tab, double-click on the title and rename it to “Single Sign-On v. 1.0”.


 

v. 1.0 2024-11-07 Beta Testing Completed

TEST OBJECTIVE: To test if “Stock Control”, “SOT”, “VMS” and “JVS” can directly login using the single login from “https://sso.sweetco.net/” if the same username EXISTS in all web applications

TESTING METHODOLOGY TEST RESULT
  1. Add “test4” in all “users” tables for all web applications with the same password
  2. Open “https://sso.sweetco.net/
  3. Log-in using “finance@sweetco.com.my”
  4. Click on each link of “Stock Control”, “SOT”, “VMS” and “JVS”
  5. Each link should be opened in a new tab without the need to enter the username and password anymore
 

  • SSO
  • Stock Control

  • SOT

  • VMS

  • JVS


 

TEST OBJECTIVE: To test if “Stock Control”, “SOT”, “VMS” and “JVS” can directly login using the single login from “https://sso.sweetco.net/” if the same username EXISTS in all web applications but with different passwords

TESTING METHODOLOGY TEST RESULT
  1. Change the password for “test4” in all web applications except for SSO
  2. Open “https://sso.sweetco.net/
  3. Log-in using “finance@sweetco.com.my”
  4. Click on each link of “Stock Control”, “SOT”, “VMS” and “JVS”
  5. Each link should be opened in a new tab without the need to enter the username and password anymore
 

  • Stock Control

  • SOT

  • VMS

  • JVS


 

TEST OBJECTIVE: To test if “Stock Control”, “SOT”, “VMS” and “JVS” can directly login using the single login from “https://sso.sweetco.net/” if the same username is NOT EXISTS in all web applications

TESTING METHODOLOGY TEST RESULT
  1. Add a new user only in SSO
  2. Open “https://sso.sweetco.net/
  3. Log-in using the new user’s username and password
  4. Click on each link of “Stock Control”, “SOT”, “VMS” and “JVS”
 

  • SSO

  • Stock Control
  • SOT
  • VMS
  • JVS

 

SOP of Resetting Windows 10 for Acer Nitro 5

Resetting also refers to reinstalling.

  1. There are few ways to reset:-
    1. via cloud
    2. using local disk
    3. using recovery media/drive which is a USB thumb drive created via Windows 10
    4. goto https://www.microsoft.com/en-au/software-download/windows10 to create Windows 10 installation media; download “MediaCreationTool21H2.exe”, run it, downlaod download a Windows 10 installer into USB thumb drive
  2. Acer Nitro 5 fail to reset using method (a), (b), (c),  so need to use method (d).
  3. After Windows 10 is installed, avoid using Microsoft account to log into Windows.
  4. Rename PC, joing “MOBITEK” workgroup.
  5. Map “U:\” to “Usefule Software” network drive.
  6. Install the 3 Acer applications:-
    1. Care Center
    2. Nitrosense
    3. Quick Access
  7. Create a restore point.
  8. Run Windows Update to update all updates.
  9. Create a restore point if necessary.
  10. Reinstall applications and drivers:-
    • AnyDesk v. 5.3;
    • Classic Shell;
    • FreeCommander;
    • Intel via Intel-Driver-Support-Assistant (create a restore point after this);
    • from Acer Support
    • NVIDIA via GeForce Experience (create a restore point after this);
  11. Run System Image to create a system image of:-
    • newly installed Windows 10;
    • drivers installed;
    • essential software installed; and
    • Windows updated.
  12. Reinstall software as per “Remove Applications.html” generatged by Geek Uninstaller.
  13. Optional:-
    • create a recovery drive/media using USB thumb drive;
    • create a password reset key using USB thumb drive;

SOP of Refreshing Windows 8.1 for Asus Zenbook UX303L

  1. Before Windows Refresh, use SyncBack to back up files to Buffalo external HDD.
  2. Run Windows Refresh , USB thumb drive “Windows Recovery” is required in order to refresh.
  3. After Windows Refresh is completed, remove Metro Apps using PowerShell command (https://news.softpedia.com/news/How-to-Remove-All-Pre-Installed-Windows-8-Metro-Apps-328110.shtml) :
    • Get-AppxPackage -AllUsers | Remove-AppxPackage
    • Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage –online
  4. Run Windows Update to update all updates.
    • optional — install “KB 3138615” first if Windows Update stuck
  5. Reinstall drivers and anti-virus software:-
    • Windows Classic Shell;
    • Intel via Intel-Driver-Support-Assistant;
    • NVIDIA via GeForce Experience;
    • Asustek;
    • Webroot
  6. Optional:-
    • create a recovery media (Windows installer) using USB thumb drive;
    • create a password reset key using USB thumb drive;
    • create a back-up of Windows Activation Key.
  7. Run System Image to create a system image of newly refreshed Windows with drivers and anti-virus installed.
  8. Restore files using SyncBack from Buffalo external HDD to “Documents”
  9. Reinstall software as per “Remove Applications.html”

Pro and Con of Quick.Cart

E-Commerce Platform/Framework: Quick.Cart

Pro

  1. easy to build a e-commerce web site
  2. based on XHTML

Con

  1. once build on a particular folder, it cannot be moved to another folder nor renamed
  2. not based on HTML5 (but can use skin to make web site responsive)
  3. not fully supported by IIS (must use Linux web hosting), error message will appear:-
    1. PHP Notice: Undefined index: REQUEST_URI in C:\Domains\mobitek.com.my\wwwroot\Dell\Price_list\admin.php on line 8