[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
steevo.fr • Afficher le sujet - Problème de template sur joomla 2.5

Problème de template sur joomla 2.5

Si vous n'arrivez pas à configurer le composant pour votre collection...

par ovni » Mar 22 Mai 2012 18:16

Bonjour,

déjà merci et félicitation pour cette nouvelle version. Si je puis me permettre un petit conseil sur l'installation lors d'une migration de joomla 1.5 vers 2.5, il peut être bien d'inclure les DROP TABLE dans le script lors du rapatriement des données sur la 2.5... j'ai eu quelques souci de compatibilité entre les tables.

Maintenant que j'ai bien récupéré toutes mes données, mon problème est le suivant:
Lorsque j'accède à la page de collection j'ai bien le message d'en-tête mais pas les données. J'obtiens les 2 messages suivant:
En début de page
"Warning: Invalid argument supplied for foreach() in /home/lesze345/public_html/J2.5/components/com_collector/models/collection.php on line 1424"

En fin de page
"Warning: Invalid argument supplied for foreach() in /home/lesze345/public_html/J2.5/components/com_collector/views/collection/tmpl/default.php on line 285"

Au vu du message je me suis immédiatement dirigé vers l'onglet templates de l’administration de collector. Là, je n'obtiens que le message "indisponible". Dans la base, il y'a bien les enregistrements des 2 modes par défaut.

Si vous avez une idée, pour m'aider...

Merci
ovni
 
Messages: 29
Inscription: Mar 22 Fév 2011 12:22

par steevo » Mar 29 Mai 2012 21:40

Avatar de l’utilisateur
steevo
Administrateur du site
 
Messages: 330
Inscription: Jeu 17 Déc 2009 22:59

par ovni » Mer 30 Mai 2012 17:59

Bonjour,
merci beaucoup pour votre réponse.
C'est efféctivement les champs qui se trouve dans ma BDD.
Auriez vous une autre piste?

Si cela peut aider, voici le message exact en début de page :

Warning: Invalid argument supplied for foreach() in /home/lesze345/public_html/J2.5/components/com_collector/models/collection.php on line 1424

Warning: Invalid argument supplied for foreach() in /home/lesze345/public_html/J2.5/components/com_collector/models/collection.php on line 1445

Warning: Invalid argument supplied for foreach() in /home/lesze345/public_html/J2.5/components/com_collector/models/collection.php on line 1526

Warning: Invalid argument supplied for foreach() in /home/lesze345/public_html/J2.5/components/com_collector/models/collection.php on line 1424

Warning: Invalid argument supplied for foreach() in /home/lesze345/public_html/J2.5/components/com_collector/models/collection.php on line 1445

Warning: Invalid argument supplied for foreach() in /home/lesze345/public_html/J2.5/components/com_collector/models/collection.php on line 1526

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/lesze345/public_html/J2.5/libraries/joomla/database/database/mysqli.php on line 263

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/lesze345/public_html/J2.5/libraries/joomla/database/database/mysqli.php on line 263

Warning: Invalid argument supplied for foreach() in /home/lesze345/public_html/J2.5/components/com_collector/views/collection/tmpl/default.php on line 199



Et celui-ci en dessous du filtre :
Warning: Invalid argument supplied for foreach() in /home/lesze345/public_html/J2.5/components/com_collector/views/collection/tmpl/default.php on line 285

Merci
ovni
 
Messages: 29
Inscription: Mar 22 Fév 2011 12:22

par steevo » Mer 30 Mai 2012 18:43

Avatar de l’utilisateur
steevo
Administrateur du site
 
Messages: 330
Inscription: Jeu 17 Déc 2009 22:59

par ovni » Dim 3 Juin 2012 00:37

Bonjour,
merci pour votre réponse rapide et désolé pour le retard de la mienne.

Voici ce que me renvoi comme message l'ajout de la ligne dans le code :

SELECT f.*, u.name AS author, u.usertype,t.type AS type FROM #__collector_fields AS f LEFT JOIN #__collector_fields_type AS t ON t.id = f.type LEFT JOIN #__users AS u ON u.id = f.created_by WHERE collection = 2 AND ( f.created_by = 0 OR ( f.state = 1 AND ( f.publish_up = '0000-00-00 00:00:00' OR f.publish_up <= '2012-06-02 22:35:15' ) AND ( f.publish_down = '0000-00-00 00:00:00' OR f.publish_down >= '2012-06-02 22:35:15' ) ) ) AND f.access IN (1,1) ORDER BY ordering SELECT f.*, u.name AS author, u.usertype,t.type AS type FROM #__collector_fields AS f LEFT JOIN #__collector_fields_type AS t ON t.id = f.type LEFT JOIN #__users AS u ON u.id = f.created_by WHERE collection = 2 AND ( f.created_by = 0 OR ( f.state = 1 AND ( f.publish_up = '0000-00-00 00:00:00' OR f.publish_up <= '2012-06-02 22:35:15' ) AND ( f.publish_down = '0000-00-00 00:00:00' OR f.publish_down >= '2012-06-02 22:35:15' ) ) ) AND f.access IN (1,1) ORDER BY ordering
Warning: Invalid argument supplied for foreach() in /home/lesze345/public_html/J2.5/components/com_collector/models/collection.php on line 1424

Warning: Invalid argument supplied for foreach() in /home/lesze345/public_html/J2.5/components/com_collector/models/collection.php on line 1445
SELECT f.*, u.name AS author, u.usertype,t.type AS type FROM #__collector_fields AS f LEFT JOIN #__collector_fields_type AS t ON t.id = f.type LEFT JOIN #__users AS u ON u.id = f.created_by WHERE collection = 2 AND ( f.created_by = 0 OR ( f.state = 1 AND ( f.publish_up = '0000-00-00 00:00:00' OR f.publish_up <= '2012-06-02 22:35:15' ) AND ( f.publish_down = '0000-00-00 00:00:00' OR f.publish_down >= '2012-06-02 22:35:15' ) ) ) AND f.access IN (1,1) ORDER BY ordering
Warning: Invalid argument supplied for foreach() in /home/lesze345/public_html/J2.5/components/com_collector/models/collection.php on line 1526
SELECT f.*, u.name AS author, u.usertype,t.type AS type FROM #__collector_fields AS f LEFT JOIN #__collector_fields_type AS t ON t.id = f.type LEFT JOIN #__users AS u ON u.id = f.created_by WHERE collection = 2 AND ( f.created_by = 0 OR ( f.state = 1 AND ( f.publish_up = '0000-00-00 00:00:00' OR f.publish_up <= '2012-06-02 22:35:15' ) AND ( f.publish_down = '0000-00-00 00:00:00' OR f.publish_down >= '2012-06-02 22:35:15' ) ) ) AND f.access IN (1,1) ORDER BY ordering
Warning: Invalid argument supplied for foreach() in /home/lesze345/public_html/J2.5/components/com_collector/models/collection.php on line 1424

Warning: Invalid argument supplied for foreach() in /home/lesze345/public_html/J2.5/components/com_collector/models/collection.php on line 1445
SELECT f.*, u.name AS author, u.usertype,t.type AS type FROM #__collector_fields AS f LEFT JOIN #__collector_fields_type AS t ON t.id = f.type LEFT JOIN #__users AS u ON u.id = f.created_by WHERE collection = 2 AND ( f.created_by = 0 OR ( f.state = 1 AND ( f.publish_up = '0000-00-00 00:00:00' OR f.publish_up <= '2012-06-02 22:35:15' ) AND ( f.publish_down = '0000-00-00 00:00:00' OR f.publish_down >= '2012-06-02 22:35:15' ) ) ) AND f.access IN (1,1) ORDER BY ordering
Warning: Invalid argument supplied for foreach() in /home/lesze345/public_html/J2.5/components/com_collector/models/collection.php on line 1526

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/lesze345/public_html/J2.5/libraries/joomla/database/database/mysqli.php on line 263

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/lesze345/public_html/J2.5/libraries/joomla/database/database/mysqli.php on line 263

Warning: Invalid argument supplied for foreach() in /home/lesze345/public_html/J2.5/components/com_collector/views/collection/tmpl/default.php on line 199


Merci beaucoup!
ovni
 
Messages: 29
Inscription: Mar 22 Fév 2011 12:22

par steevo » Dim 3 Juin 2012 13:37

Avatar de l’utilisateur
steevo
Administrateur du site
 
Messages: 330
Inscription: Jeu 17 Déc 2009 22:59

par ovni » Dim 3 Juin 2012 15:49

Pas de problème de ce coté là,
MySQL a retourné un résultat vide (aucune ligne).
Pour info, j'ai bien remplacé #__ (avec 2 underscores) par prefixe_ (avec un underscore).

Merci beaucoup.
ovni
 
Messages: 29
Inscription: Mar 22 Fév 2011 12:22

par steevo » Dim 3 Juin 2012 22:58

Tiens c'est bizarre ça. Cela voudrait dire qu'il n'y a aucun champ défini pour la collection...

Côté backend, il n'y a pas de problème? Vous avez bien vos objets?
Avatar de l’utilisateur
steevo
Administrateur du site
 
Messages: 330
Inscription: Jeu 17 Déc 2009 22:59

par ovni » Lun 4 Juin 2012 00:47

J'ai bien les objets en backend ce qui me parait effectivement très bizarre...
ovni
 
Messages: 29
Inscription: Mar 22 Fév 2011 12:22

par ovni » Lun 4 Juin 2012 02:00

Le problème vient de jnew_collector_fields : access. Ils sont tous a 0. Je viens de tout changer en 1 et ça marche. Serait-ce un peu barbare???
Merci beaucoup
ovni
 
Messages: 29
Inscription: Mar 22 Fév 2011 12:22

Suivante

Retourner vers Problème de paramétrage

cron

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 1 invité