Multilingual issue

Permalink 1 user found helpful
Uploaded 5.7.4.2 to my server, ran index.php in order to initiate the installation but immediately got this error:

Fatal error: Class '\Concrete\Core\Multilingual\MultilingualServiceProvider' not found in /home/www/DOMAINENAME/concrete/src/Foundation/Service/ProviderList.php on line 17

What could cause this issue?

 
achrist replied on at Permalink Reply
I wonder why there is no response. Can it really be that I am the only one getting this error when I try to install the latest version from scratch?
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
Can you verify that "concrete\src\Multilingual\MultilingualServiceProvider.php" exists?

It may not have uploaded properly.

It should contain this:

<?php 
namespace Concrete\Core\Multilingual;
use \Concrete\Core\Foundation\Service\Provider as ServiceProvider;
class MultilingualServiceProvider extends ServiceProvider {
   public function register() {
      $singletons = array(
         'multilingual/interface/flag' => '\Concrete\Core\Multilingual\Service\UserInterface\Flag',
         'multilingual/detector' => '\Concrete\Core\Multilingual\Service\Detector',
         'multilingual/extractor' => '\Concrete\Core\Multilingual\Service\Extractor'
      );
      foreach($singletons as $key => $value) {
         $this->app->singleton($key, $value);
      }
   }
}
achrist replied on at Permalink Reply
That was exactly the issue. I re-uploaded the entire zip-file, and now the installation is progressing. Thanks a lot.