143 Posts
pretobrazza
10 years ago
Topic
Hi,

In one Form&Content type, I cannot save the articles in admin form view (Site (admin) view is no problem). When I switch on the debugger I get the following when trying to save the content in admin:
Notice: Constant JROOT_CCK already defined in [DOMAIN]/components/com_cck/helpers/helper_define.php on line 16 Notice: Constant JROOT_MEDIA_CCK already defined in [DOMAIN]/components/com_cck/helpers/helper_define.php on line 17 Notice: Constant JPATH_LIBRARIES_CCK already defined in [DOMAIN]/components/com_cck/helpers/helper_define.php on line 18 Fatal error: Cannot redeclare class Helper_Include in [DOMAIN]/components/com_cck/helpers/helper_include.php on line 15

The url displays: [DOMAIN]/administrator/index.php?option=com_cck

For all of the other content types there's no problem.
I'm ready to fix this if need be, in the database but where?

Thank you beforehand!
Bernard
Get a Book for SEBLOD
143 Posts
pretobrazza
10 years ago
0
Level 1
Hi All,

I looked all over the Mysql base and compared the rows with rows which do save the content from Admin form. Yet I could find no substantial difference between them.

SO I created a new 'Form&Content type' (same fields) and set it up exactly like the old one. (admin Form + content) .. and it works like a charm! Afterwards I set the 'cck' in the 'Search&list Type' > search form option #2 to the newly created 'Form&Content type' and it picked up all the new data.

For sure, I have to re-enter all the data into the the newly created 'Form&Content type' but at least now, I can get on with my work. :)

Bernard
Get a VIP membership