Modify

Opened 6 years ago

Closed 6 years ago

#1674 closed Bug/Fehler (fixed)

metatags.php - Inkompatibel zu DBCache

Reported by: Volker Strähle Owned by: somebody
Priority: hoch Milestone: modified-shop-2.0.5.0
Component: Shop Version: trunk
Keywords: Cc:
Blocked By: Blocking:

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 by Gerhard Waldemair, 6 years ago

Resolution: fixed
Status: newclosed

In 12090:

fix #1674

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.