Hello,
I have uploaded my moodle local website to my hosting.
I have imported moodle database with same name.
I set moodledata directory with 777 permissons.
I had the error below.
"Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting."
to fix the error I made changes in config.php file
$CFG->wwwroot = 'http://www.uzakademi.org';
$CFG->dataroot = '/home/neduzaka/moodledata';
$CFG->admin = 'admin';
$CFG->directorypermissions = 0777;
But now I have "http 500" error. Thank you all for response.
Ümit DEMİR