Welcome Guest, Not a member yet? Register   Sign In
[split] Upgrading to CI3.0CodeIgniter 3.0 Release Candidate
#1

(01-30-2015, 09:09 AM)geekita Wrote: Just upgraded my app in production environment from CI 2.2.1 to CI 3.0rc + HMVC 5.5 + Composer. Everything worked nicely Big Grin
Thank you all guys!
I try, but get an error 404
I follow this steps:
1. Copy MX directory to application;third_party and files MY_Router.php and MY_Loader.php to application/core directory
2. Add this lines to config/config.php:
$config['modules_locations'] = array(
APPPATH.'modules/' => '../modules/',
);
3. Create an module:
application/modules/pages/controllers/Pages.php
4. Change the default router in config/routes.php for:
$route['default_controller'] = 'pages/index';

And get error 404 in http://localhost/test/

Help please.
Reply
#2

(01-30-2015, 10:14 AM)dts Wrote:
(01-30-2015, 09:09 AM)geekita Wrote: Just upgraded my app in production environment from CI 2.2.1 to CI 3.0rc + HMVC 5.5 + Composer. Everything worked nicely Big Grin
Thank you all guys!
I try, but get an error 404
I follow this steps:
1. Copy MX directory to application;third_party and files MY_Router.php and MY_Loader.php to application/core directory
2. Add this lines to config/config.php:
$config['modules_locations'] = array(
   APPPATH.'modules/' => '../modules/',
);
3. Create an module:
application/modules/pages/controllers/Pages.php
4. Change the default router in config/routes.php for:
$route['default_controller'] = 'pages/index';

And get error 404 in http://localhost/test/

Help please.

Step 2 it's not mandatory.
I suspect there's a problem with index 'keyword'. Try this: $route['default_controller'] = 'pages';
Reply
#3

(01-31-2015, 03:20 AM)geekita Wrote:
(01-30-2015, 10:14 AM)dts Wrote:
(01-30-2015, 09:09 AM)geekita Wrote: Just upgraded my app in production environment from CI 2.2.1 to CI 3.0rc + HMVC 5.5 + Composer. Everything worked nicely Big Grin
Thank you all guys!
I try, but get an error 404
I follow this steps:
1. Copy MX directory to application;third_party and files MY_Router.php and MY_Loader.php to application/core directory
2. Add this lines to config/config.php:
$config['modules_locations'] = array(
   APPPATH.'modules/' => '../modules/',
);
3. Create an module:
application/modules/pages/controllers/Pages.php
4. Change the default router in config/routes.php for:
$route['default_controller'] = 'pages/index';

And get error 404 in http://localhost/test/

Help please.

Step 2 it's not mandatory.
I suspect there's a problem with index 'keyword'. Try this: $route['default_controller'] = 'pages';

Please don't turn this thread into a how-to discussion for a third-party addon.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB