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

ee2 to ee5 routing controller question

Development and Programming

maxbato's avatar
maxbato
42 posts
4 years ago
maxbato's avatar maxbato

Hello,

I am undertaking a rather complex upgrade from 2 to 5 and one of the things my current ee2 site relies on is the routing stuff on index.php being commented out as we have a couple custom controllers installed in /system/expressionengine/controllers.

//$routing[‘directory’] = ”; //$routing[‘controller’] = ‘ee’; //$routing[‘function’] = ‘index’;

If I comment this stuff out in ee5 I get “Error: Unable to load the requested controller.”

I have loaded my custom controllers from ee2 into the ee5 system/ee/legacy/controllers folder but still get the error. IS there a different method of accomplishing this in ee5? I have looked just about everywhere on the web regarding this and am coming up short.

anything to do with controllers in the ee5 docs is only about addon development.

Any help would really be appreciated.

Thanks

Mike Keller

       

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.