Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2017-06-12 14:58:33

jpdupont
Member
Registered: 2004-10-01
Posts: 752

[SOLVED] Content>Images : Picture repeated 4x in images list

Since this afternoon, this happens to me on a site: the pictures are listed 4x in content> pictures. The new pictures are ok, 1x. See this example
I optimized and fixed the txp_images table. There the images are present once. I also replaced the files in the \textpattern folder. Without success.

How to fix this display?

Edit: Labeled/shortened topic title -Uli

Offline

#2 2017-06-12 15:06:46

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: [SOLVED] Content>Images : Picture repeated 4x in images list

Can you please post your diagnostics?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2017-06-12 15:10:52

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: [SOLVED] Content>Images : Picture repeated 4x in images list

Version de Textpattern CMS: 4.7.0-dev (360bce31cf56da2eb86de195411d29ce)
Dernière mise à jour: 2017-06-12 12:29:12/2017-06-12 12:28:43
Document racine: /home/…
$path_to_site: /home/…
Chemin d’accès à Textpattern CMS: /home/…
Format des URL: section_id_title
Chemin du répertoire temporaire: /home/…
URL du site: ….
Version de PHP: 7.0.17
GD Graphics Library: bundled (2.1.0 compatible) formats supportés : GIF, JPG, PNG.
Serveur TZ: UTC
Date et heure du serveur: 2017-06-12 15:08:29
Mises à jour des heures d’été utilisées ?: 1
Ajuster automatiquement les heures été / hiver ?: 1
Fuseau horaire (GMT compensé en secondes): Europe/Brussels (3600)
MySQL: 5.6.36-82.0
Heure du serveur de base de données: 2017-06-12 15:08:29
Décalage horaire du serveur de base de données: 0 s
Fuseau horaire du serveur de base de données: SYSTEM
Fuseau horaire de session de la base de données: SYSTEM
Paramètres régionaux: fr_FR.UTF-8
Serveur: Apache
API PHP du serveur: cgi-fcgi
Entêtes RFC 2616: 0
Système d’exploitation du serveur: Linux 3.10.0-514.16.1.el7.x86_64
Plugins actifs: yab_email-0.7, zem_contact_reborn-4.5.0.0m, smd_query-0.50, smd_if-0.91, smd_wrap-0.20, glx_if-0.7, smd_multi_choice-0.20, adi_calc-1.2, smd_xml-0.40, adi_gps-0.4, soo_page_break-0.1.0, adi_globals-0.3, oui_player-1.2.0-beta, adi_file_tab-0.3, upm_textile-0.3, smd_macro-0.41, rss_admin_db_manager-4.4, smd_tabber-0.11, adi_matrix-2.0, mck_login-2.0.2, smd_remote_file-0.50, jcr_image_custom-0.1.1, jbx_multiple_image_upload-0.5.5, smd_lib-0.36, soo_plugin_pref-0.2.3, spf_codemirror-1.0, rah_knots-0.2.2, adi_article_tab-0.3, adi_form_links-0.4, adi_notes-1.3.1, adi_recent_tab-0.6m, rah_expanding-1.3, bot_write_tab_customize-0.7.5, msd_ga_dashboard-0.2, rah_nocache-0.4.0, smd_imagery-0.10, smd_where_used-0.30, ied_plugin_composer-1.1.1, glz_custom_fields-1.5.0m, smd_thumbnail-0.32m, smd_tags-0.51, arc_meta-2.0.1-beta.1
Thème de l’interface d’administration: phw_sandspace 4.6.1

Vérifications:
————————————
Vous utilisez des fichiers en développement sur un serveur public.
————————————

Contenu du fichier .htaccess: ————————————
  1. BEGIN Textpattern
    #DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /relative/web/path/

## Class B (no www) redirects
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

## Redirects for http to https
RewriteCond %{HTTP:X-Forwarded-SSL} !on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]

RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*) index.php

RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0

<IfModule mod_mime.c> AddType image/svg+xml svg svgz AddEncoding gzip svgz </IfModule>
  1. END Textpattern
    ————————————

Offline

#4 2017-06-12 15:20:52

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,012
Website GitHub Mastodon Twitter

Re: [SOLVED] Content>Images : Picture repeated 4x in images list

As you are using 4.7 I moved the post in core development.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2017-06-12 15:22:59

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: [SOLVED] Content>Images : Picture repeated 4x in images list

Yes, not the last.

Offline

#6 2017-06-12 16:00:59

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: [SOLVED] Content>Images : Picture repeated 4x in images list

Sorry. I found my mistake. By integrating a page to upload multiple images or files in the admin, I created several lines of empty image categories (programming error). Deleting these lines in the categories table gives me a correct display.

Offline

Board footer

Powered by FluxBB