We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Please check that the xx module is installed and that yy is an available method of the module - SOLVED

Development and Programming

Oskar Smith's avatar
Oskar Smith
33 posts
15 years ago
Oskar Smith's avatar Oskar Smith

Hi all,

Please check that the xx module is installed and that yy is an available method of the module

Just wanted to post this so it will get picked up by any one else searching for a solution to this issue when developing their own EE modules. This took me a while to figure out as I was getting this error in my templates on a new module and couldn’t see anything wrong with my module files.

Turns out I was right and it’s an EE DB caching issue.

On line 1110 of system/expressionengine/libraries/Template.php, all the installed modules get pulled in:

$query = $this->EE->db->query("SELECT module_version, module_name FROM exp_modules");

I tracked things right back to this line and found that my module wasn’t appearing in the array returned from the DB, even though it was present when checking via the same SQL query run from my MySQL GUI.

This immediately pointed me towards a cache problem, and sure enough going to Tools -> Data -> Clear Caching in the EE CP cleared the cache and my module started working.

So if you’re having this problem and your module files look good, try clearing the cache in this way and see if it works.

Indeed I wonder if the EE dev team should consider making EE clear it’s own SQL cache when a new module is installed to prevent this happening?

Anyway, hope this helps someone.

       
Akash Sharma's avatar
Akash Sharma
1 posts
7 years ago
Akash Sharma's avatar Akash Sharma

I am trying to set up my website on my local, I followed the same steps (taking DB dump, installed MAMP, checked configs), but I am facing the same error “Error The following tag cannot be processed:

{exp:locale:en}

Please check that the ‘locale’ module is installed and that ‘en’ is an available method of the module” Clearing caches are not helping me. Please, help me with the issue

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.