PHP Warning Errors before even installing

Install and configure FormaLMS and DoceboCE
Post Reply
kennyehresman
Newbie
Posts: 2
Joined: Wed Apr 19, 2023 5:32 pm

PHP Warning Errors before even installing

Post by kennyehresman »

i currently am trying to try this software out and determine if it will suit us. I have installed mysql and php and before i can even get the page to load i get this...
PHP Warning: Undefined global variable $where_templates_relative in C:\inetpub\wwwroot\LMS\lib\lib.get.php on line 319
PHP Warning: Undefined global variable $where_templates_relative in C:\inetpub\wwwroot\LMS\lib\lib.get.php on line 319
PHP Warning: Undefined global variable $where_templates_relative in C:\inetpub\wwwroot\LMS\lib\lib.get.php on line 319
PHP Warning: Undefined global variable $where_templates_relative in C:\inetpub\wwwroot\LMS\lib\lib.get.php on line 319
PHP Warning: Undefined global variable $where_templates_relative in C:\inetpub\wwwroot\LMS\lib\lib.get.php on line 319
PHP Warning: Undefined global variable $where_templates_relative in C:\inetpub\wwwroot\LMS\lib\lib.get.php on line 319
PHP Warning: Undefined global variable $where_templates_relative in C:\inetpub\wwwroot\LMS\lib\lib.get.php on line 319
PHP Warning: Undefined global variable $where_templates_relative in C:\inetpub\wwwroot\LMS\lib\lib.get.php on line 319
PHP Warning: Undefined global variable $where_templates_relative in C:\inetpub\wwwroot\LMS\lib\lib.get.php on line 319
PHP Warning: Undefined global variable $where_templates_relative in C:\inetpub\wwwroot\LMS\lib\lib.get.php on line 319
PHP Warning: Undefined global variable $where_templates_relative in C:\inetpub\wwwroot\LMS\lib\lib.get.php on line 319
PHP Warning: Constant _COMMUNITY already defined in C:\inetpub\wwwroot\LMS\lib\installer\lang\english.php on line 166
PHP Warning: Constant _COMMERCIAL_SERVICES already defined in C:\inetpub\wwwroot\LMS\lib\installer\lang\english.php on line 167
PHP Warning: Constant _DATABASE already defined in C:\inetpub\wwwroot\LMS\lib\installer\lang\english.php on line 168
PHP Warning: Constant _SMTP_INFO already defined in C:\inetpub\wwwroot\LMS\lib\installer\lang\english.php on line 174
PHP Warning: Constant _USE_SMTP_DATABASE already defined in C:\inetpub\wwwroot\LMS\lib\installer\lang\english.php on line 175
PHP Warning: Constant _USE_SMTP already defined in C:\inetpub\wwwroot\LMS\lib\installer\lang\english.php on line 176
PHP Warning: Constant _SMTP_HOST already defined in C:\inetpub\wwwroot\LMS\lib\installer\lang\english.php on line 177
PHP Warning: Constant _SMTP_PORT already defined in C:\inetpub\wwwroot\LMS\lib\installer\lang\english.php on line 178
PHP Warning: Constant _SMTP_SECURE already defined in C:\inetpub\wwwroot\LMS\lib\installer\lang\english.php on line 179
PHP Warning: Constant _SMTP_USER already defined in C:\inetpub\wwwroot\LMS\lib\installer\lang\english.php on line 180
PHP Warning: Constant _SMTP_PWD already defined in C:\inetpub\wwwroot\LMS\lib\installer\lang\english.php on line 181
PHP Warning: Constant _CANT_CONNECT_SMTP already defined in C:\inetpub\wwwroot\LMS\lib\installer\lang\english.php on line 182

Any help would be great. I have tested php and it works, so i am not sure what i am missing.
alfa24
Senior Boarder
Posts: 2008
Joined: Fri Nov 24, 2017 8:45 am

Re: PHP Warning Errors before even installing

Post by alfa24 »

Turn error reporting off or set it to report only fatal errors.
Per supporto GRATUITO contattatemi in privato qui
kennyehresman
Newbie
Posts: 2
Joined: Wed Apr 19, 2023 5:32 pm

Re: PHP Warning Errors before even installing

Post by kennyehresman »

now i am getting a whole new error. Found out the PHP was the wrong version downgraded to 7.4 and it fixed it...

PHP Fatal error: Uncaught Error: Call to a member function get_client_info() on null in C:\inetpub\wwwroot\LMS\db\lib.docebodb.php:609
Stack trace:
#0 C:\inetpub\wwwroot\LMS\install\views\Step2.php(11): sql_get_client_info()
#1 C:\inetpub\wwwroot\LMS\install\controllers\StepController.php(23): include_once('C:\\inetpub\\wwwr...')
#2 C:\inetpub\wwwroot\LMS\lib\installer\lib.step.php(65): StepController->render()
#3 C:\inetpub\wwwroot\LMS\install\index.php(53): StepManager::loadCurrentStep()
#4 {main}
thrown in C:\inetpub\wwwroot\LMS\db\lib.docebodb.php on line 609
User avatar
alberto
FormaLms Guru
Posts: 1135
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: PHP Warning Errors before even installing

Post by alberto »

Please check requirements before installing:
https://docs.formalms.org/reference-gui ... ments.html
Post Reply