Application is not working in Apache web server |
4/21/2021 3:30:39 PM |
PHPRunner General questions | |
A
abhijit2020 author
I have downloaded and installed Apache 2.4.46 (64 bits) on my laptop (windows 10 64 bits) from ApacheHaus. The testing page is working as expected, however my phprunner application(project) is not working. Application works in default built-in web server. Is there any document other than the xampp example that I can refer to. Any help/direction is much appreciated. I have following two changes in httpd.conf file: Define SRVROOT "/app/Apache24" Listen localhost:8080 PHPRunners version is 10.4 Enterprise (Build: 37031) Build the application with the following: Selected "I have my own web server" Output folder: C:\app\Apache24\htdocs\TSheet After the full build, when I try to launch the application from "View in browser", I see the index list page instead of login page I get following messages when I try with the URL, http://localhost:8080/TSheet/login.htm IE browser: init(); $pageObject->process(); ?> Chrome and Edge: <?php require_once("include/dbcommon.php"); $xt = new Xtempl(); //an array of LoginPage constructor's params $params["captchaValue"] = postvalue("value_captcha_1"); $params["rememberPassword"] = postvalue("remember_password"); $params["mode"] = LoginPage::readLoginModeFromRequest(); $params["message"] = postvalue("message"); $params["tName"] = GLOBAL_PAGES; $pageObject = new LoginPage( $params ); $pageObject->process(); Thank you, Abhi |
|
![]() |
Admin 4/21/2021 |
You didn't install PHP or didn't enable it in Apache settings. This is why we recommend downloading XAMPP as it comes with everything you need. |
A
|
abhijit2020 author 4/23/2021 |
I have installed PHP & mssql drivers and configured the following in php.ini. I am getting following connection errors; do I need to configure anything in PHPRunners end? Application is working fine in XAMPP. extension_dir = "ext" Errors: Warning: Undefined array key "language" in C:\app\Apache24\htdocs\TSheet\include\commonfunctions.php on line 3522 Warning: Undefined array key "mediaType" in C:\app\Apache24\htdocs\TSheet\include\appsettings.php on line 737 Warning: Undefined array key "SQLConnString" in C:\app\Apache24\htdocs\TSheet\connections\MSSQLWinConnection.php on line 63 Warning: Undefined variable $options in C:\app\Apache24\htdocs\TSheet\connections\MSSQLWinConnection.php on line 68 Warning: Undefined variable $options in C:\app\Apache24\htdocs\TSheet\connections\MSSQLWinConnection.php on line 73 Warning: Undefined array key "password" in C:\app\Apache24\htdocs\TSheet\include\appsettings.php on line 764 Fatal error: Uncaught TypeError: Unsupported operand types: int + string in C:\app\Apache24\htdocs\TSheet\include\commonfunctions.php:4269 Stack trace: #0 C:\app\Apache24\htdocs\TSheet\login.php(15): postvalue_number('id') #1 {main} thrown in C:\app\Apache24\htdocs\TSheet\include\commonfunctions.php on line 4269 Thank you. |
![]() |
Admin 4/23/2021 |
What version of PHP is this? |