Elxis CMS Forum

Extensions => Modules => Topic started by: Dr_Monkey on August 01, 2007, 16:40:29

Title: Fatal error: Class 'content_section_menu_html' not found
Post by: Dr_Monkey on August 01, 2007, 16:40:29
Not sure what I did to get this but I was working with the mod_sections module.  I copied and renamed mod_sections.php and mod_sections.xml to mod_bg_sections.php and mod_bg_sections.xml because I wanted to modify the sections module but I want to keep the original.

I made changes to the .php and .xml and installed the modules.  I published them successfully and they appeared to work.

In the backend I wanted to modify a menu.  I clicked on New and only 10 new menu items showed up.  Many items that used to show up are not.  When I click on Table - Content Section I get the following error:

Fatal error: Class 'content_section_menu_html' not found in
C:\htdocs\administrator\components\com_menus\content_section\content_section.class.php on line 61.

I restored the CMS files on my local web server but I still have the same problem.  So I am thinking it is something stored in the database files.  Any ideas?
Title: Re: Fatal error: Class 'content_section_menu_html' not found
Post by: Dr_Monkey on August 01, 2007, 16:51:48
I restored the database files also and I still get the same error.

Title: Re: Fatal error: Class 'content_section_menu_html' not found
Post by: Dr_Monkey on August 01, 2007, 18:08:01
I looked at the files in \administrator\components\com_menus\ directory and all the menu items that have disappeared have been renamed to .ph instead of .php.

Anyone else run into this? 

Changing them back to .php fixes the problem.

It also did it to the .xml files...changed them to .xm
Title: Re: Fatal error: Class 'content_section_menu_html' not found
Post by: datahell on August 01, 2007, 18:09:41
Copy paste contents of the folders:

/administrator/components/com_menus/content_section/

and

/administrator/components/com_menus/

from the Elxis distribution package to your site's.

Do not to modify core files...