Page 1 of 1

Class 'CmsRoute' not found

Posted: Fri Jun 08, 2012 11:09 am
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

Re: Class 'CmsRoute' not found

Posted: Sat Jun 09, 2012 7:33 pm
by Dr.CSS
Do you have your site in mypage.eu/public_html most times it is just in the /public_html folder...

Re: Class 'CmsRoute' not found

Posted: Tue Jun 12, 2012 2:15 pm
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.