This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
I recently upgraded my Ubuntu to 17.10. My website running October began to show the following code in plaintext instead of needed pages (sorry for absent formatting):
<?php /**
- October - The PHP platform that gets back to basics.
- @package October
- @author Alexey Bobkov, Samuel Georges */
/* | -------------------------------------------------------------------------- | Register composer |
---|---|---|
Composer provides a generated class loader for the application. | ||
*/
require DIR.'/bootstrap/autoload.php';
/* | -------------------------------------------------------------------------- | Load framework |
---|---|---|
This bootstraps the framework and loads up this application. | ||
*/
$app = require_once DIR.'/bootstrap/app.php';
/* | -------------------------------------------------------------------------- | Process request |
---|---|---|
Execute the request and send the response back to the client. | ||
*/
$kernel = $app->make('Illuminate\Contracts\Http\Kernel');
$response = $kernel->handle( $request = Illuminate\Http\Request::capture() );
$response->send();
$kernel->terminate($request, $response);
As I understand, it's a default index.php for October. This is valid for all sub-folders and links including backend. How is it possible to fix this issue?Restoring the website to the state when it worked didn't help, so I assume that it is an OS problem.
1-1 of 1