Probleme fonction recherche avec le thème mystique (Créer un compte)

  • Statut : non résolu
14 sujets de 1 à 14 (sur un total de 14)
  • Auteur
    Messages
  • #508864
    Cedric C.
    Participant
    Maître WordPress
    612 contributions

    Bonjour,

    Ma configuration WP actuelle
    – Version de WordPress : 3.3.2
    – Version de PHP/MySQL : 5.3
    – Thème utilisé : Mystique
    – Extensions en place : Adminimize, Admin Post Navigation, Allow Multiple Accounts, Backup Scheduler, bbPress, CodeStyling Localization, Custom Post Templates, Custom Post Type Shortcode, Events Manager, Events Manager Pro, Gravity Forms, Gravity Forms + Custom Post Types, Member Access, Search By Category, Shutter Reloaded, Simple Post Template, Theme My Login, Extension « User Role Editor », WP-Memory-Usage, WP-SEO-Paginate, WP e-Commerce, Wpsc Downloadable File Importer, WPSC jPlayer Plugin, WP Smush.it, et WP System Health
    – Nom de l’hebergeur : O2switch.net
    – Adresse du site : francejazz.fr

    Problème(s) rencontré(s) :

    Bonjour,

    J’ai un problème lorsque j’utilise la barre de recherche située dans la sidebar tout en haut. Si je rentre un mot cle qui existe sur le site j’ai un affichage correct. En revanche, si je rentre n’importe quoi, cela m’affiche uniquement ma sidebar en plein écran.

    La boucle de ce thème est assez particulière, et du coup je n’arrive pas à m’en sortir. Si mon code de searchform.php est des plus classiques, par contre ma page search.php me destabilise quelque peu :

    <?php

    /*
    * @template Mystique
    * @revised December 20, 2011
    * @author digitalnature, http://digitalnature.eu
    * @license GPL, http://www.opensource.org/licenses/gpl-license
    */

    // Search results template.
    // Uses the teaser template part to render the results.

    ?>

    <?php atom()->template(‘header’); ?>

    <!-- main content: primary + sidebar(s) -->
    <div id="mask-3" class="clear-block">
    <div id="mask-2">
    <div id="mask-1">

    <!-- primary content -->
    <div id="primary-content">
    <div class="blocks clear-block">

    <?php atom()->action(‘before_primary’); ?>

    <?php if(have_posts()): ?>

    <h1 class="title">
    <?php atom()->te(‘Search results for %1$s (%2$d)’, sprintf(‘<span class="alt">%s</span>‘, get_search_query()), $GLOBALS[‘wp_query’]->found_posts); ?>
    </h1>

    <?php if(atom()->options(‘post_navi’) !== ‘single’): ?>
    <div class="clear-block">
    <?php atom()->pagination(array(‘class’ => ‘alignright’)); ?>
    </div>
    <?php endif; ?>

    <div class="divider"></div>

    <div class="posts clear-block">
    <?php while(have_posts()) atom()->template(‘teaser’); ?>
    </div>

    <?php atom()->pagination(); ?>

    <?php else: ?>
    <h1 class="title"><?php atom()->te(‘Nothing found :(‘); ?></h1>
    <p class="large"><em><?php atom()->te(‘Try a different search…’); ?></em></p>

    <?php endif; ?>

    <?php atom()->action(‘after_primary’); ?>

    </div>
    </div>
    <!-- /primary content -->

    <?php #atom()->template(‘sidebar’); ?>

    </div>

    template(‘footer’); ?>

    J’ai essayé de le remplacer complètement par un code générique du style if have_post() blablabla, mais c’est toujours le même micmac.

    Quelqu’un saurait-il me dire comment résoudre ce problème, ou m’indiquer par où chercher car je suis perdu ?

    Merci pour votre aide

    #829892
    Anonyme
    Invité
    Maître WordPress
    34067 contributions

    Ce message a été supprimé suite à la demande de l’auteur.

    #829893
    Cedric C.
    Participant
    Maître WordPress
    612 contributions

    Bonjour, je reviens vers vous.

    En fait, j’ai un child theme mystique extend. C’est lui qui me donne ce résultat qui est le fait de mon problème.

    Si en revanche je ne mets que mystique en place et que je fais une recherche bidon, ça va ramer à mort et je vais avoir une série de messages d’erreur avant que la page de résultat ne s’affiche :

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘dbem_flush_needed’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘wpsc_upgrade_urls’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘gc_anet_ignore’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘_transient_timeout_wpsc_theme_path’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT autoload FROM wp_options WHERE option_name = ‘_transient_wpsc_theme_path’

    WordPress database error: [MySQL server has gone away]
    SELECT autoload FROM wp_options WHERE option_name = ‘_transient_timeout_wpsc_theme_path’

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘_transient_wpsc_theme_path’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES (‘_transient_timeout_wpsc_theme_path’, ‘1335651204’, ‘no’) ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

    WordPress database error: [MySQL server has gone away]
    INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES (‘_transient_wpsc_theme_path’, ‘/home/zenbear/public_html/wp-content/plugins/wp-e-commerce/wpsc-theme/’, ‘no’) ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘product_category_hierarchical_url’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘wpsc_ups_settings’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘base_zipcode’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT post_name FROM `wp_posts` WHERE `post_content` LIKE ‘%[productspage]%’ AND `post_type` = ‘page’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT post_name FROM `wp_posts` WHERE `post_content` LIKE ‘%[shoppingcart]%’ AND `post_type` = ‘page’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT post_name FROM `wp_posts` WHERE `post_content` LIKE ‘%[transactionresults]%’ AND `post_type` = ‘page’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT post_name FROM `wp_posts` WHERE `post_content` LIKE ‘%[userlog]%’ AND `post_type` = ‘page’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT * FROM wp_users WHERE user_login = ‘Zenbear’

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘dbem_disable_css’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ’em_payment_gateways’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘_transient_timeout_doing_cron’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT autoload FROM wp_options WHERE option_name = ‘_transient_doing_cron’

    WordPress database error: [MySQL server has gone away]
    SELECT autoload FROM wp_options WHERE option_name = ‘_transient_timeout_doing_cron’

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘_transient_doing_cron’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES (‘_transient_doing_cron’, ‘1335608004’, ‘yes’) ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘disable_post_thumbnails’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT * FROM wp_posts WHERE ID = 8831 LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘widget_atom-calendar’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘widget_atom-pages’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘widget_atom-terms’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘widget_atom-twitter’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘_transient_timeout_wpsc_url_wpsc-default.css’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT autoload FROM wp_options WHERE option_name = ‘_transient_wpsc_url_wpsc-default.css’

    WordPress database error: [MySQL server has gone away]
    SELECT autoload FROM wp_options WHERE option_name = ‘_transient_timeout_wpsc_url_wpsc-default.css’

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘_transient_wpsc_url_wpsc-default.css’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES (‘_transient_timeout_wpsc_url_wpsc-default.css’, ‘1335651205’, ‘no’) ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

    WordPress database error: [MySQL server has gone away]
    INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES (‘_transient_wpsc_url_wpsc-default.css’, ‘http://francejazz.fr/wp-content/plugins/wp-e-commerce/wpsc-theme/wpsc-default.css’, ‘no’) ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘google_server_type’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘google_cur’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT `ID` FROM `wp_posts` WHERE `post_type` IN(‘page’,’post’) AND `post_content` LIKE ‘%[shoppingcart]%’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT `ID` FROM `wp_posts` WHERE `post_type` IN(‘page’,’post’) AND `post_content` LIKE ‘%[userlog]%’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT `ID` FROM `wp_posts` WHERE `post_type` IN(‘page’,’post’) AND `post_content` LIKE ‘%[transactionresults]%’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts WHERE 1=1 AND (((wp_posts.post_title LIKE ‘%Guy%’) OR (wp_posts.post_content LIKE ‘%Guy%’)) AND ((wp_posts.post_title LIKE ‘%bonne%’) OR (wp_posts.post_content LIKE ‘%bonne%’))) AND (wp_posts.post_password =  ») AND wp_posts.post_type IN (‘post’, ‘page’, ‘attachment’, ‘location’, ‘event’, ‘wpsc-product’) AND (wp_posts.post_status = ‘publish’ OR wp_posts.post_status = ‘closed’) ORDER BY wp_posts.post_date DESC LIMIT 0, 10

    WordPress database error: [MySQL server has gone away]
    SELECT FOUND_ROWS()

    WordPress database error: [MySQL server has gone away]
    SELECT ID, post_name, post_parent FROM wp_posts WHERE post_name IN (‘products-page’) AND (post_type = ‘page’ OR post_type = ‘attachment’)

    WordPress database error: [MySQL server has gone away]
    SELECT `ID` FROM `wp_posts` WHERE `post_type` IN(‘page’,’post’) AND `post_content` LIKE ‘%[productspage]%’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = ‘wpsc_product_category’ AND t.term_id = 132 LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_parent = 0 AND wp_posts.post_type = ‘wpsc-product’ AND (wp_posts.post_status = ‘publish’ OR wp_posts.post_status = ‘private’) ORDER BY wp_posts.post_title ASC

    WordPress database error: [MySQL server has gone away]
    SELECT `ID` FROM `wp_posts` WHERE `post_type` IN(‘page’,’post’) AND `post_content` LIKE ‘%[productspage]%’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = ‘nav_menu’ AND t.term_id = 12 LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = ‘nav_menu’ AND t.slug = ’12’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = ‘nav_menu’ AND t.name = ’12’ LIMIT 1

    France Jazz

    Le site du jazz classique en France

    WordPress database error: [MySQL server has gone away]
    SELECT * FROM wp_posts WHERE (post_type = ‘page’ AND post_status = ‘publish’) ORDER BY menu_order,wp_posts.post_title ASC





    Une deuxième recherché avec « Toulouse » donne un truc qui y ressemble, j’ai mon message « rien de trouvé », mais plus de sidebar:





    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘dbem_flush_needed’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘wpsc_upgrade_urls’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘gc_anet_ignore’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘_transient_timeout_wpsc_theme_path’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT autoload FROM wp_options WHERE option_name = ‘_transient_wpsc_theme_path’

    WordPress database error: [MySQL server has gone away]
    SELECT autoload FROM wp_options WHERE option_name = ‘_transient_timeout_wpsc_theme_path’

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘_transient_wpsc_theme_path’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES (‘_transient_timeout_wpsc_theme_path’, ‘1335651694’, ‘no’) ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

    WordPress database error: [MySQL server has gone away]
    INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES (‘_transient_wpsc_theme_path’, ‘/home/zenbear/public_html/wp-content/plugins/wp-e-commerce/wpsc-theme/’, ‘no’) ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘product_category_hierarchical_url’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘wpsc_ups_settings’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘base_zipcode’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT post_name FROM `wp_posts` WHERE `post_content` LIKE ‘%[productspage]%’ AND `post_type` = ‘page’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT post_name FROM `wp_posts` WHERE `post_content` LIKE ‘%[shoppingcart]%’ AND `post_type` = ‘page’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT post_name FROM `wp_posts` WHERE `post_content` LIKE ‘%[transactionresults]%’ AND `post_type` = ‘page’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT post_name FROM `wp_posts` WHERE `post_content` LIKE ‘%[userlog]%’ AND `post_type` = ‘page’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT * FROM wp_users WHERE user_login = ‘Zenbear’

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘dbem_disable_css’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ’em_payment_gateways’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘_transient_timeout_doing_cron’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT autoload FROM wp_options WHERE option_name = ‘_transient_doing_cron’

    WordPress database error: [MySQL server has gone away]
    SELECT autoload FROM wp_options WHERE option_name = ‘_transient_timeout_doing_cron’

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘_transient_doing_cron’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES (‘_transient_doing_cron’, ‘1335608494’, ‘yes’) ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘disable_post_thumbnails’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT * FROM wp_posts WHERE ID = 8831 LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘widget_atom-calendar’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘widget_atom-pages’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘widget_atom-terms’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘widget_atom-twitter’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘_transient_timeout_wpsc_url_wpsc-default.css’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT autoload FROM wp_options WHERE option_name = ‘_transient_wpsc_url_wpsc-default.css’

    WordPress database error: [MySQL server has gone away]
    SELECT autoload FROM wp_options WHERE option_name = ‘_transient_timeout_wpsc_url_wpsc-default.css’

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘_transient_wpsc_url_wpsc-default.css’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES (‘_transient_timeout_wpsc_url_wpsc-default.css’, ‘1335651695’, ‘no’) ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

    WordPress database error: [MySQL server has gone away]
    INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES (‘_transient_wpsc_url_wpsc-default.css’, ‘http://francejazz.fr/wp-content/plugins/wp-e-commerce/wpsc-theme/wpsc-default.css’, ‘no’) ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘google_server_type’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = ‘google_cur’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT `ID` FROM `wp_posts` WHERE `post_type` IN(‘page’,’post’) AND `post_content` LIKE ‘%[shoppingcart]%’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT `ID` FROM `wp_posts` WHERE `post_type` IN(‘page’,’post’) AND `post_content` LIKE ‘%[userlog]%’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT `ID` FROM `wp_posts` WHERE `post_type` IN(‘page’,’post’) AND `post_content` LIKE ‘%[transactionresults]%’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts WHERE 1=1 AND (((wp_posts.post_title LIKE ‘%toulouse%’) OR (wp_posts.post_content LIKE ‘%toulouse%’))) AND (wp_posts.post_password =  ») AND wp_posts.post_type IN (‘post’, ‘page’, ‘attachment’, ‘location’, ‘event’, ‘wpsc-product’) AND (wp_posts.post_status = ‘publish’ OR wp_posts.post_status = ‘closed’) ORDER BY wp_posts.post_date DESC LIMIT 0, 10

    WordPress database error: [MySQL server has gone away]
    SELECT FOUND_ROWS()

    WordPress database error: [MySQL server has gone away]
    SELECT ID, post_name, post_parent FROM wp_posts WHERE post_name IN (‘products-page’) AND (post_type = ‘page’ OR post_type = ‘attachment’)

    WordPress database error: [MySQL server has gone away]
    SELECT `ID` FROM `wp_posts` WHERE `post_type` IN(‘page’,’post’) AND `post_content` LIKE ‘%[productspage]%’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = ‘wpsc_product_category’ AND t.term_id = 132 LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_parent = 0 AND wp_posts.post_type = ‘wpsc-product’ AND (wp_posts.post_status = ‘publish’ OR wp_posts.post_status = ‘private’) ORDER BY wp_posts.post_title ASC

    WordPress database error: [MySQL server has gone away]
    SELECT `ID` FROM `wp_posts` WHERE `post_type` IN(‘page’,’post’) AND `post_content` LIKE ‘%[productspage]%’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = ‘nav_menu’ AND t.term_id = 12 LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = ‘nav_menu’ AND t.slug = ’12’ LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = ‘nav_menu’ AND t.name = ’12’ LIMIT 1

    France Jazz

    Le site du jazz classique en France

    WordPress database error: [MySQL server has gone away]
    SELECT * FROM wp_posts WHERE (post_type = ‘page’ AND post_status = ‘publish’) ORDER BY menu_order,wp_posts.post_title ASC

    Si je mets en place n’importe quel autre thème, la recherche s’effectue sans problème.

    Bizarre ce truc…

    #829894
    Cedric C.
    Participant
    Maître WordPress
    612 contributions

    P.S. : je vais tenter une optimisation de la base de donnees via un plugin du style wp db manager

    #829895
    Anonyme
    Invité
    Maître WordPress
    34067 contributions

    Ce message a été supprimé suite à la demande de l’auteur.

    #829896
    Cedric C.
    Participant
    Maître WordPress
    612 contributions

    C’est O2switch.net

    Et voici la liste de tous mes plugins : Adminimize, Admin Post Navigation, Allow Multiple Accounts, Backup Scheduler, bbPress, CodeStyling Localization, Custom Post Templates, Custom Post Type Shortcode, Events Manager, Events Manager Pro, Gravity Forms, Gravity Forms + Custom Post Types, Member Access, Search By Category, Shutter Reloaded, Simple Post Template, Theme My Login, Extension « User Role Editor », WP-Memory-Usage, WP-SEO-Paginate, WP e-Commerce, Wpsc Downloadable File Importer, WPSC jPlayer Plugin, WP Smush.it, et WP System Health

    #829897
    Cedric C.
    Participant
    Maître WordPress
    612 contributions

    Ok j’ai localisé le problème en désactivant / réactivant tous les plugins : c’est wp ecommerce qui met le bazar

    Maintenant comment faire pour résoudre ce problème ? Mystère, mystère

    #829898
    Anonyme
    Invité
    Maître WordPress
    34067 contributions

    Ce message a été supprimé suite à la demande de l’auteur.

    #829899
    Cedric C.
    Participant
    Maître WordPress
    612 contributions

    J’ai tout désactivé pour ne laisser que wp e-commerce, rien n’y fait. D’après le forum du site de ce plugin, ce dernier serait lié avec la search de base de WordPress, dont la boucle est complètement différente de celle de Mystique.

    En bref, je ne suis pas très optimiste pour la suite, à moins de trouver un plugin ou une fonction de recherche qui se substitue à celle du thème, mais là encore je n’ai rien trouvé.

    #829900
    Anonyme
    Invité
    Maître WordPress
    34067 contributions

    Ce message a été supprimé suite à la demande de l’auteur.

    #829901
    Cedric C.
    Participant
    Maître WordPress
    612 contributions

    CQFD

    Maintenant il ne s’agit pas de mon site à proprement parler, j’ai pour ma part developpé mon propre thème et ce grâce à cette excellente série de tutos sur fran6art.

    Je ne le redirai jamais assez : méfiez-vous des thèmes gratuits, ce sont des pièges à couillon les 3/4 du temps.

    #829902
    Anonyme
    Invité
    Maître WordPress
    34067 contributions

    Ce message a été supprimé suite à la demande de l’auteur.

    #829903
    Cedric C.
    Participant
    Maître WordPress
    612 contributions

    Pas la peine d’acheter quand on peut les developper soi-même et il existe d’excellents tutos pour cela. Après, il est vrai que cela prend du temps, mais le jeu en vaut la chandelle.

    #829904
    Anonyme
    Invité
    Maître WordPress
    34067 contributions

    Ce message a été supprimé suite à la demande de l’auteur.

14 sujets de 1 à 14 (sur un total de 14)
  • Vous devez être connecté pour répondre à ce sujet.