Fatal error: Class ContentOperations

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
emac
New Member
New Member
Posts: 4
Joined: Thu Apr 28, 2016 1:10 pm

Fatal error: Class ContentOperations

Post by emac »

Hello,

I use cms made simple for many years. For some reason the current version running is Hyacinthe 1.10.3. I know this is not very good to use an old version like this one.

Ten days ago, with no apparent reason, the website turned into a white page. After activating the error, i have this one:
Fatal error: Class 'ContentOperations' not found in /flex/storage/lapensiondes3chats.fr/site/www/lib/autoloader.php on line 82
I have not made any recent change. After reading all the post on the forum about this line 82 error, i uploaded again all files on the ftp but nothing changes.

I put here the config file
$config['php_memory_limit'] = '';
$config['process_whole_template'] = false;
$config['debug'] = false;
$config['output_compression'] = false;
$config['timezone'] = 'Europe/Paris';
$config['dbms'] = 'mysql';
$config['db_hostname'] = '';
$config['db_username'] = '';
$config['db_password'] = '';
$config['db_name'] = '';
$config['db_port'] = 0;
$config['db_prefix'] = 'cms_';
$config['persistent_db_conn'] = '';
$config['use_adodb_lite'] = true;
$config['root_url'] = 'http://www.lapensiondes3chats.fr';
$config['ssl_url'] = 'https://www.lapensiondes3chats.fr';
$config['root_path'] = '/';
$config['admin_dir'] = 'admin';
$config['previews_path'] = '/tmp/cache';
$config['uploads_path'] = '/uploads';
$config['uploads_url'] = 'http://www.lapensiondes3chats.fr/uploads';
$config['max_upload_size'] = 50000000;
$config['default_upload_permission'] = '664';
$config['use_smarty_php_tags'] = false;
$config['auto_alias_content'] = true;
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
$config['query_var'] = 'page';
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
$config['image_uploads_path'] = '/uploads/images';
$config['image_uploads_url'] = 'http://www.lapensiondes3chats.fr/uploads/images';
$config['ssl_uploads_url'] = '/uploads';
$config['locale'] = '';
$config['default_encoding'] = 'utf-8';
$config['admin_encoding'] = 'utf-8';
$config['set_names'] = true;
$config['wiki_url'] = 'http://wiki.cmsmadesimple.org/index.php ... dmin_Panel';
I asked to my host if they change anything but they said no.

Does anyone know how i can solve this ?

Thanks a lot for your help.
chandra

Re: Fatal error: Class ContentOperations

Post by chandra »

First step - compare the files of your current install with the files of a fresh CMSMS 1.10.3 Core ...
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm
Location: MI

Re: Fatal error: Class ContentOperations

Post by Jeff »

$config['root_path'] = '/';
This is VERY rare, please verify.

The typical problem when you have a "Class not Found" with the autoloader is that the $config['path'] is incorrect.
emac
New Member
New Member
Posts: 4
Joined: Thu Apr 28, 2016 1:10 pm

Re: Fatal error: Class ContentOperations

Post by emac »

Thank you for your answers.

You say that the way to access to the root path seems wrong. But how do i know the real path on the server ?

Thanks again
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm
Location: MI

Re: Fatal error: Class ContentOperations

Post by Jeff »

On most site is can be remove and the system will figure it out.

From the error message my guess is that your root path is:
/flex/storage/lapensiondes3chats.fr/site/www/
emac
New Member
New Member
Posts: 4
Joined: Thu Apr 28, 2016 1:10 pm

Re: Fatal error: Class ContentOperations

Post by emac »

Thank you Jeff, problem is solved.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: Fatal error: Class ContentOperations

Post by paulbaker »

emac wrote:problem is solved.
Well, it is, sort of.

Now you have a working site you should upgrade to the latest CMSMS. You are running a very old version. Latest version has no known vulnerabilities.

Start here and post any issues to another thread:
http://docs1.cmsmadesimple.org/upgrading/old-versions
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Post Reply

Return to “The Lounge”