Moodle version 4.1.2+ (build 20230406)
Solved all Plugin and Theme issues while updating, now I get this error.
Parse error: syntax error, unexpected end of file in /home/customer/www/consultingmethodology.com/public_html/moodle/config.php on line 34
I did all the checks on the config.php and it is 100% correct.
Here is my config.php. Can anyone help me with this?
<?php // Moodle configuration file
$CFG->dblibrary = 'native';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'xxxxxxxxxx';
$CFG->dbuser = 'xxxxxxxxxxx';
$CFG->dbpass = 'xxxxxxxxx';
$CFG->prefix = 'mdl_';
$CFG->dboptions = array (
'dbpersist' => 0,
'dbport' => '',
'dbsocket' => '',
'dbcollation' => 'utf8mb4_general_ci',
);
$CFG->
dataroot = '/home/customer/www/Mysite.com/moodledata';
$CFG->admin = 'admin';
$CFG->siteadmins = 2 ;
$CFG->directorypermissions = 0777 ;
require_once(__DIR__ . '/lib/setup.php');
// There is no php closing tag in this file,
// it is intentional because it prevents trailing whitespace problems!