Affichage bizarre des catégories

More
5 years 5 months ago #33153 by Pitou
Salut à tous

Je viens de passer sur mon site de test en joomla 2.5 et flexicontent 2.0.0 RC9b (r1601).

Au début, tout va bien, dans le backend les catégories s'affichent bien et je peux les éditer.
Par la suite, je ne sais à la suite de quelle opération, j'ai le problème suivant, l'affichage des catégories ne présente plus aucune feuille de style (voir PJ)
J'ai réinstallé un joomla 2.5 neuf, réinstallé flexicontent et fait une insertion de mon ancienne base sql sur la nouvelle installation--> tout était ok pour l'affichage des catégories.
Plus de 24 heures après, à nouveau le même problème.
L'édition des articles ne pose aucun problème
Avez-vous une idée ?
Attachments:

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #33156 by ggppdk
Hello,

Please put test site online and send me a PM with super admin Joomla access (and preferably also send FTP access) this will make it easy for me to find what is happening


(also if you do a view page source in the page and search for word "fatal" you will probably see the fatal PHP error that caused this)


-- FLEXIcontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #33157 by Pitou
Thx for your answer.

I've made some tests. I've found that two of my personnals templates, that I've uploaded from previous version, was in cause for that bug.

I've made all the modifications that was recommanded (metadata to form, fields, etc...)

When I suppress the two folders, everything is ok.

The fatal texte is : <b>Fatal error</b>: Cannot instantiate abstract class JFormField in <b>G:\xampp\htdocs\test\libraries\joomla\form\helper.php</b> on line <b>119</b><br />

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #33158 by ggppdk
- Did you clear cache and then trying again to edit the category?

- Do you have custom template parameters in your item.xml or category.xml?

Check the type of these custom parameter, and trying commenting out temporarily : by adding them inside comments: <!-- ... -->


-- FLEXIcontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #33159 by Pitou
OK, it's category.xml
I've copy it from the old blog template.
Comparing the two files, I see a lot of differences.

here is the file
<?xml version="1.0" encoding="utf-8"?>
<form>
	<author>Emmanuel Danan</author>
	<website>www.flexicontent.org</website>
	<email>emmanuel@vistamedia.fr</email>
	<license>GPLv2</license>
	<version>1.1</version>
	<release>25 november 2009</release>
	<description>Category layout similar to the Joomla blog layout. Title, description and image are set as category fieldeters</description>
	<fields name="attribs">
  <fieldset name="attribs" addfieldpath="/administrator/components/com_flexicontent/elements">
		<field name="lead_num" type="text" size="3" default="1" label="FLEXI_NUM_LEADING" description="FLEXI_NUM_LEADING_DESC" />
		<field name="intro_cols" type="list" default="2" label="FLEXI_INTRO_COLS" description="FLEXI_INTRO_COLS_DESC">
			<option value="1">FLEXI_1_COL</option>
			<option value="2">FLEXI_2_COLS</option>
		</field>
		<field name="@spacer" type="spacer" default="" label="" description="" />
		<field name="@spacer" type="" default="" label="FLEXI_LEADING_ITEMS" description="FLEXI_LEADING_ITEMS_DESC" />
		<field name="lead_strip_html" type="list" default="1" label="FLEXI_STRIP_HTML" description="FLEXI_STRIP_HTML_DESC">
			<option value="0">No</option>
			<option value="1">Yes</option>
		</field>
		<field name="lead_cut_text" type="text" size="4" default="400" label="FLEXI_CUT_INTRO" description="FLEXI_CUT_INTRO_DESC" />
		<field name="lead_use_image" type="list" default="1" label="FLEXI_USE_IMAGE" description="FLEXI_USE_IMAGE_DESC">
			<option value="0">No</option>
			<option value="1">Yes</option>
		</field>
		<field name="lead_image" type="fcimage" size="10" default="" label="FLEXI_IMAGE_SOURCE" description="FLEXI_IMAGE_SOURCE_DESC" />
		<field name="lead_position" type="list" default="1" label="FLEXI_IMAGE_POSITION" description="FLEXI_IMAGE_POSITION_DESC">
			<option value="0">FLEXI_IMAGE_LEFT</option>
			<option value="1">FLEXI_IMAGE_RIGHT</option>
		</field>		
		<field name="lead_link_image" type="list" default="1" label="FLEXI_LINK_IMAGE" description="FLEXI_LINK_IMAGE_DESC">
			<option value="0">No</option>
			<option value="1">Yes</option>
		</field>
		<field name="lead_image_size" type="list" default="" label="FLEXI_INTRO_IMAGE_SIZE" description="FLEXI_INTRO_IMAGE_SIZE_DESC">
			<option value="">FLEXI_USE_fieldS</option>
			<option value="s">FLEXI_SMALL</option>
			<option value="m">FLEXI_MEDIUM</option>
			<option value="l">FLEXI_LARGE</option>
		</field>
		<field name="lead_width" type="text" size="4" default="180" label="FLEXI_IMAGE_WIDTH" description="FLEXI_IMAGE_WIDTH" />
		<field name="lead_height" type="text" size="4" default="180" label="FLEXI_IMAGE_HEIGHT" description="FLEXI_IMAGE_HEIGHT" />
		<field name="lead_method" type="list" default="0" label="FLEXI_PROCESSING_METHOD" description="FLEXI_PROCESSING_METHOD">
			<option value="0">FLEXI_SCALE</option>
			<option value="1">FLEXI_CROP</option>
		</field>		
 		<field name="@spacer" type="spacer" default="" label="" description="" />
		<field name="@spacer" type="" default="" label="FLEXI_INTRO_ITEMS" description="FLEXI_INTRO_ITEMS_DESC" />
		<field name="intro_strip_html" type="list" default="1" label="FLEXI_STRIP_HTML" description="FLEXI_STRIP_HTML_DESC">
			<option value="0">No</option>
			<option value="1">Yes</option>
		</field>
		<field name="intro_cut_text" type="text" size="4" default="200" label="FLEXI_CUT_INTRO" description="FLEXI_CUT_INTRO_DESC" />
		<field name="intro_use_image" type="list" default="1" label="FLEXI_USE_IMAGE" description="FLEXI_USE_IMAGE_DESC">
			<option value="0">No</option>
			<option value="1">Yes</option>
		</field>
		<field name="intro_image" type="fcimage" size="10" default="" label="FLEXI_IMAGE_SOURCE" description="FLEXI_IMAGE_SOURCE_DESC" />
		<field name="intro_position" type="list" default="1" label="FLEXI_IMAGE_POSITION" description="FLEXI_IMAGE_POSITION_DESC">
			<option value="0">FLEXI_IMAGE_LEFT</option>
			<option value="1">FLEXI_IMAGE_RIGHT</option>
		</field>		
		<field name="intro_link_image" type="list" default="1" label="FLEXI_LINK_IMAGE" description="FLEXI_LINK_IMAGE_DESC">
			<option value="0">No</option>
			<option value="1">Yes</option>
		</field>
		<field name="intro_image_size" type="list" default="" label="FLEXI_INTRO_IMAGE_SIZE" description="FLEXI_INTRO_IMAGE_SIZE_DESC">
			<option value="">FLEXI_USE_fieldS</option>
			<option value="s">FLEXI_SMALL</option>
			<option value="m">FLEXI_MEDIUM</option>
			<option value="l">FLEXI_LARGE</option>
		</field>
		<field name="intro_width" type="text" size="4" default="90" label="FLEXI_IMAGE_WIDTH" description="FLEXI_IMAGE_WIDTH" />
		<field name="intro_height" type="text" size="4" default="90" label="FLEXI_IMAGE_HEIGHT" description="FLEXI_IMAGE_HEIGHT" />
		<field name="intro_method" type="list" default="0" label="FLEXI_PROCESSING_METHOD" description="FLEXI_PROCESSING_METHOD">
			<option value="0">FLEXI_SCALE</option>
			<option value="1">FLEXI_CROP</option>
		</field>
	  </fieldset>
</fields>
	<fieldgroups>
		<group>above-description-line1</group>
		<group>above-description-line1-nolabel</group>
		<group>above-description-line2</group>
		<group>above-description-line2-nolabel</group>
		<group>under-description-line1</group>
		<group>under-description-line1-nolabel</group>
		<group>under-description-line2</group>
		<group>under-description-line2-nolabel</group>
	</fieldgroups>
	<csscategory>
		<file>css/category.css</file>
	</csscategory>
	<jscategory>
	</jscategory>	
</form>

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #33165 by ggppdk
Did you try using the category.xml included with standard FLEXIcontent blog template? and then making the addition that you need?


-- FLEXIcontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #33166 by Pitou
At the beginning, I've duplicated all the blog folder to create a new template.
Now I see so much differences between the new category.xml and the old one that I'm asking if my method was wrong.

So, yesterday I replaced it with the standard default category.xml and it works perfectly.

Should I recreate all my templates from the begenning ?

++

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #33192 by ggppdk
Hello,
If you want to use new features yes, if not no


-- FLEXIcontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.