mod_featcats error: failed opening router.php

This forum is for general questions about extensions for Joomla! 4.x.

Moderators: pe7er, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
borja
Joomla! Guru
Joomla! Guru
Posts: 614
Joined: Wed May 27, 2009 11:26 am

mod_featcats error: failed opening router.php

Post by borja » Fri Mar 24, 2023 9:43 pm

I´ve got this error:

Compile Error: require_once(): Failed opening required '/var/www/vhosts/mydomain/httpdocs/desarrollo/components/com_content/router.php' (include_path='.:/opt/plesk/php/7.4/share/pear')

n /var/www/vhosts/mydomain/httpdocs/desarrollo/modules/mod_featcats/helper.php (line 15)

-------------------------------------------------------------------------*/
defined('_JEXEC') or die;
$com_path = JPATH_SITE.'/components/com_content/';
require_once $com_path.'router.php';
require_once $com_path.'helpers/route.php';
JModelLegacy::addIncludePath($com_path.'/models', 'ContentModel');
abstract class modFeatcatsHelper

I don´t know where this error happens. I don´t use featured cats.
Last edited by toivo on Sat Mar 25, 2023 12:47 am, edited 2 times in total.
Reason: mod note: moved from 4.x Migrating and Upgrading, retitled

borja
Joomla! Guru
Joomla! Guru
Posts: 614
Joined: Wed May 27, 2009 11:26 am

Re: MOd_Featcat

Post by borja » Fri Mar 24, 2023 9:55 pm

as far as i see the file: /var/www/vhosts/mydomain/httpdocs/desarrollo/components/com_content/router.php

doesn´t exist.

but in joomla 3 there was a file touter.php. What can be wrong?

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17432
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: mod_featcats error: failed opening router.php

Post by toivo » Sat Mar 25, 2023 12:54 am

Did you upgrade this site from Joomla 3?

The extension Featured Categories may have been compatible with Joomla 3 but it is clear it is not compatible with Joomla 4. It has been unpublished from the JED because of broken links.

Uninstall this module. If unstallation does not work for some reason, remove its folder from /modules and delete the row in the _extensions table in the database.
Toivo Talikka, Global Moderator


Locked

Return to “Extensions for Joomla! 4.x”