Class 'CmsRoute' not found

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
StevieRay
New Member
New Member
Posts: 2
Joined: Fri Jun 08, 2012 10:59 am

Class 'CmsRoute' not found

Post by StevieRay »

Hi.

I know, that it's common error, but all of solutions there won't solve problem.

I had site based on CMSMS. Everything was ok.
Later, I've changed domain (not hosting), so I've changed config file too:

Code: Select all

$config['root_url'] = 'http://www.mypage.eu';
$config['ssl_url'] = 'https://www.mypage.eu';

$config['root_path'] = '/home/stevie/domains/mypage.eu/public_html';
$config['admin_dir'] = 'admin';
$config['previews_path'] = '/home/stevie/domains/mypage.eu/public_html/tmp/cache';
$config['uploads_path'] = '/home/stevie/domains/mypage.eu/public_html/uploads';
When I enter www.mypage.eu I've get error:
Fatal error: Class 'CmsRoute' not found in /home/stevie/domains/mypage.eu/public_html/lib/classes/class.contentoperations.inc.php on line 1077
But when I enter www.mypage.eu/index.php then everything is ok.
I can login as admin too. The only one problem is this error when I write www.mypage.eu
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Class 'CmsRoute' not found

Post by Dr.CSS »

Do you have your site in mypage.eu/public_html most times it is just in the /public_html folder...
StevieRay
New Member
New Member
Posts: 2
Joined: Fri Jun 08, 2012 10:59 am

Re: Class 'CmsRoute' not found

Post by StevieRay »

Yes, I do.

I solved it, by redirecting 301 via .htaccess from:
mypage.eu
to
mypage.eu/index.php

It works, but it still isn't solving reason.
Locked

Return to “CMSMS Core”