Opened 9 months ago

Closed 9 months ago

#1674 closed Bug/Fehler (fixed)

metatags.php - Inkompatibel zu DBCache

Reported by: webald Owned by: somebody
Priority: hoch Milestone: modified-shop-2.0.5.0
Component: Shop Version: trunk

Description

Testszenario:
Leere Kategorie, Metadescription gefüllt
erweierte Konfiguration/Metatags?=> Metadescription gefüllt

  1. DBCache deaktiviert: Metatag aus Kategorie wird geladen
  1. DBCache aktiviert: keine Metadescription wird geladen.

Der Fehler tritt in metatags.php bei etwa Zeile 250

    $categories_meta_query = xtDBquery("SELECT categories_meta_keywords,
                                                   categories_meta_description,
                                                   categories_meta_title,
                                                   categories_name,
                                                   categories_description
                                              FROM ".TABLE_CATEGORIES_DESCRIPTION."
                                             WHERE categories_id='".(int)$current_category_id."'
                                               AND language_id='".(int)$_SESSION['languages_id']."'");

        if (xtc_db_num_rows($categories_meta_query) > 0) {
          $categories_meta = xtc_db_fetch_array($categories_meta_query, false);

auf. Erstezt man xtDBquery mit xtc_db_query funktioniert es auch mit aktiviertem DBCache.

Attachments (0)

Change History (1)

comment:1 Changed 9 months ago by GTB

  • Resolution set to fixed
  • Status changed from new to closed

In 12090:

fix #1674

Add Comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.