I am updating a clients site to 3.7.3 and following the update receive the following on both the front end and admin:
Fatal error: Class 'JInput' not found in /home/wwwsitew/public_html/rmi/libraries/joomla/application/web.php on line 149
This refers to {
$this->input = new JInput;
}
In the following function:
public function __construct(JInput $input = null, Registry $config = null, JApplicationWebClient $client = null)
{
// If an input object is given use it.
if ($input instanceof JInput)
{
$this->input = $input;
}
// Create the input based on the application logic.
else
{
$this->input = new JInput;
}
// If a config object is given use it.
if ($config instanceof Registry)
{
$this->config = $config;
}
// Instantiate a new configuration object.
else
{
$this->config = new Registry;
}
// If a client object is given use it.
if ($client instanceof JApplicationWebClient)
{
$this->client = $client;
}
// Instantiate a new web client object.
else
{
$this->client = new JApplicationWebClient;
}
// Load the configuration object.
$this->loadConfiguration($this->fetchConfigurationData());
// Set the execution datetime and timestamp;
$this->set('execution.datetime', gmdate('Y-m-d H:i:s'));
$this->set('execution.timestamp', time());
// Setup the response object.
$this->response = new stdClass;
$this->response->cachable = false;
$this->response->headers = array();
$this->response->body = array();
// Set the system URIs.
}
I cant seem to find anything related in Google, does anyone have any ideas as to what the problem could be?
Update: I have downloaded a full copy of 3.7.3 and uploaded both /libraries/joomla/application/web.php and libraries/joomla/input/input.php but I;m now getting a 404 error for both Front end and Admin pages....
Update2: It seems the DB is running at 3.7.0, the following issues show when trying to 'fix' the DB, however they are not fixed after clicking the button:
Table 'uh46v_session' does not have column 'client_id' with type tinyint(3). (From file 3.7.0-2016-10-02.sql.) Table 'uh46v_ucm_content' does not have column 'core_content_item_id' with type int(10). (From file 3.7.0-2017-01-08.sql.) Table 'uh46v_ucm_content' does not have column 'asset_id' with type int(10). (From file 3.7.0-2017-01-08.sql.) Table 'uh46v_ucm_content' does not have column 'core_type_id' with type int(10). (From file 3.7.0-2017-01-08.sql.) Table 'uh46v_languages' does not have column 'asset_id' with type int(10). (From file 3.7.0-2017-03-03.sql.) Table 'uh46v_menu_types' does not have column 'asset_id' with type int(10). (From file 3.7.0-2017-03-03.sql.)
I have tried manual updates of earlier Joomla versions, i.e 3.6, 3.7 and also reinstalling 3.5.1 which is the current version - I'm guessing the site owner may have corrupted something when trying to update or roll back?
Update 3: I have ran the Joomla FPA and the full details can be found here
Update 4: Still no luck, all none core EXT's removed apart from Akeeba. There are some additional details here
I'm still investigating, but any suggestions welcome.
Regards D
use Joomla\Input\Input;
to line 14 of this file?Components >> Joomla Update
and try reinstalling the core.