[bad custom templat] Invalid argument supplied for foreach()

More
11 years 1 week ago #41920 by masstox
Bonjour,
j'ai une erreur dans la vue catégorie après un transfert d'un site d'un serveur à un autre.
Cette erreur s'affiche pour chaque article dans la vue catégorie en frontend.
Code:
Warning: Invalid argument supplied for foreach() in /homez.370/formaprof/www/components/com_flexicontent/classes/flexicontent.fields.php on line 775 Warning: Invalid argument supplied for foreach() in /homez.370/formaprof/www/components/com_flexicontent/classes/flexicontent.fields.php on line 391 Optimisez l'accueil physique

Je n'avais pas de problème avant le transfert.

Merci de votre aide.

Cordialement.

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

More
11 years 1 week ago #41922 by ggppdk
Hello

1. which Joomla version and which FLEXIcontent version do you have?

2. and besides the displayed error, is the item displayed properly?

3. were you installation before or after was inside a subfolder ?


-- 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...

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

More
11 years 1 week ago #41932 by masstox
J'utilise joomla 2.5.14.

Je viens de faire une mise à jour de flexicontent de la version 2.1.0 r1742 vers la version 2.1.1 r1793.

J'ai maintenant cette erreur etla page ne s'affiche pas.
Code:
500 - JDatabaseMySQL::query: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND value > "" ORDER BY item_id, field_id, valueorder' at line 1 SQL=SELECT field_id, value, item_id FROM hpstl_flexicontent_fields_item_relations WHERE item_id IN () AND value > "" ORDER BY item_id, field_id, valueorder Vous ne pouvez pas visiter cette page car : bookmark/favori périmé Un moteur de recherche possède un listing périmé pour ce site une adresse erronée vous n'avez pas accès à cette page La ressource demandée n'a pas été trouvée Une erreur est survenue pendant l'exécution de la requête. Veuillez essayer l'une des pages suivantes : Page d'accueil Si les difficultés persistent, merci de contacter l'administrateur de ce site.. JDatabaseMySQL::query: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND value > "" ORDER BY item_id, field_id, valueorder' at line 1 SQL=SELECT field_id, value, item_id FROM hpstl_flexicontent_fields_item_relations WHERE item_id IN () AND value > "" ORDER BY item_id, field_id, valueorder Call stack # Function Location 1 JSite->dispatch() /homez.370/formaprof/www/index.php:42 2 JComponentHelper::renderComponent() /homez.370/formaprof/www/includes/application.php:197 3 JComponentHelper::executeComponent() /homez.370/formaprof/www/libraries/joomla/application/component/helper.php:351 4 require_once() /homez.370/formaprof/www/libraries/joomla/application/component/helper.php:383 5 JController->execute() /homez.370/formaprof/www/components/com_flexicontent/flexicontent.php:168 6 FlexicontentController->display() /homez.370/formaprof/www/libraries/joomla/application/component/controller.php:761 7 JController->display() /homez.370/formaprof/www/components/com_flexicontent/controller.php:803 8 FlexicontentViewCategory->display() /homez.370/formaprof/www/libraries/joomla/application/component/controller.php:722 9 JView->display() /homez.370/formaprof/www/components/com_flexicontent/views/category/view.html.php:694 10 JView->loadTemplate() /homez.370/formaprof/www/libraries/joomla/application/component/view.php:205 11 include() /homez.370/formaprof/www/libraries/joomla/application/component/view.php:649 12 JView->loadTemplate() /homez.370/formaprof/www/components/com_flexicontent/templates/fiche_formation/category.php:23 13 include() /homez.370/formaprof/www/libraries/joomla/application/component/view.php:649 14 JView->loadTemplate() /homez.370/formaprof/www/components/com_flexicontent/templates/fiche_formation/category_html5.php:95 15 include() /homez.370/formaprof/www/libraries/joomla/application/component/view.php:649 16 FlexicontentFields::getFieldDisplay() /homez.370/formaprof/www/components/com_flexicontent/templates/fiche_formation/category_items_html5.php:226 17 FlexicontentFields::getFields() /homez.370/formaprof/www/components/com_flexicontent/classes/flexicontent.fields.php:381 18 FlexicontentFields::_getCustomValues() /homez.370/formaprof/www/components/com_flexicontent/classes/flexicontent.fields.php:207 19 JDatabase->loadObjectList() /homez.370/formaprof/www/components/com_flexicontent/classes/flexicontent.fields.php:773 20 JDatabaseMySQL->execute() /homez.370/formaprof/www/libraries/joomla/database/database.php:1100 21 JError::raiseError() /homez.370/formaprof/www/libraries/joomla/database/database/mysql.php:548 22 JError::raise() /homez.370/formaprof/www/libraries/joomla/error/error.php:251

Merci pour votre aide.

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

More
11 years 1 week ago #41935 by ggppdk
Hello

first please update to
v2.1.1 r1793
or to
v2.1.2 r1806 beta

code.google.com/p/flexicontent/downloads/list


-- 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...

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

More
11 years 1 week ago #41940 by masstox
La mise à jour est déja faite, la version que j'utilise est 2.1.1 r1793.

La 1ère erreur apparaissait sur la version 2.1.0 r1742.

La 2nd erreur apparait sur la version 2.1.1 r1793, mais je n'ai plus la première erreur.

Cordialement.

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

More
11 years 1 week ago #41941 by masstox

3. were you installation before or after was inside a subfolder ?


Pour répondre à cette question, l'installation sur le premier serveur de joomla était dans un sous dossier.
Sur ce serveur je n'ai pas d'erreur.

J'ai transféré le site avec akkeba backup sur un 2ème serveur. Sur ce serveur joomla n'est pas dans un sous dossier, Il est directement à la racine.
Ensuite sur le 2ème serveur j'ai fait la mise à jour de Flexicontent 2.1.1 r1793.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.367 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline