Opened 7 years ago

Closed 5 years ago

Last modified 5 years ago

#245 closed Bug/Fehler (fixed)

Fehler in "/export/cao_xtc.php"

Reported by: Tomcraft Owned by: GTB
Priority: hoch Milestone: modified-shop-2.0.0.0
Component: Module Version: 2.0.0.0

Description

Die CAO-Schnittstelle funktioniert derzeit nicht mehr.

Der Aufrufe der Seite "/export/cao_xtc.php" bringt nur eine weisse Seite.

Attachments (0)

Change History (7)

comment:1 Changed 7 years ago by Tomcraft

Ich habe einen Fehler in r6665 korrigiert. In dem Zusammenhang ist mir noch folgendes aufgefallen.

Fehlen in der Funktion "xtc_remove_product" im folgenden Block:

        if ($duplicate_image['total'] < 2) {
          if (file_exists(DIR_FS_CATALOG_POPUP_IMAGES . $product_image['products_image'])) {
            @unlink(DIR_FS_CATALOG_POPUP_IMAGES . $product_image['products_image']);
          }
          // START CHANGES
          $image_subdir = BIG_IMAGE_SUBDIR;
          if (substr($image_subdir, -1) != '/') $image_subdir .= '/';
          if (file_exists(DIR_FS_CATALOG_IMAGES . $image_subdir . $product_image['products_image'])) {
            @unlink(DIR_FS_CATALOG_IMAGES . $image_subdir . $product_image['products_image']);
          }
          // END CHANGES
        }

...nicht die "rewrite values to use resample classes", also:

          // rewrite values to use resample classes
          define('DIR_FS_CATALOG_ORIGINAL_IMAGES',DIR_FS_CATALOG.DIR_WS_ORIGINAL_IMAGES);
          define('DIR_FS_CATALOG_INFO_IMAGES',DIR_FS_CATALOG.DIR_WS_INFO_IMAGES);
          define('DIR_FS_CATALOG_POPUP_IMAGES',DIR_FS_CATALOG.DIR_WS_POPUP_IMAGES);
          define('DIR_FS_CATALOG_THUMBNAIL_IMAGES',DIR_FS_CATALOG.DIR_WS_THUMBNAIL_IMAGES);
          define('DIR_FS_CATALOG_IMAGES',DIR_FS_CATALOG.DIR_WS_IMAGES);

comment:2 Changed 7 years ago by Tomcraft

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

Wenn, dann fehlt hier wohl noch mehr... zusätzliche Bilder werden nicht gelöscht und auch keine "INFO", "ORIGINAL", "THUMBNAIL" Bilder.

Der Fehler von oben wurde jetzt jedenfalls in r6693 korrigiert.

Last edited 5 years ago by Tomcraft (previous) (diff)

comment:3 Changed 5 years ago by Tomcraft

  • Resolution fixed deleted
  • Status changed from closed to reopened

Replying to Tomcraft:

Wenn, dann fehlt hier wohl noch mehr... zusätzliche Bilder werden nicht gelöscht und auch keine "INFO", "ORIGINAL", "THUMBNAIL" Bilder.
[...]

Ich habe das Ticket wegen dieses Fehlers nochmal geöffnet.

comment:4 Changed 5 years ago by GTB

  • Owner set to GTB
  • Resolution set to fixed
  • Status changed from reopened to closed

In 9359:

fix #245

comment:5 Changed 5 years ago by GTB

In 9360:

fix #245

comment:6 Changed 5 years ago by GTB

In 9362:

fix #245

comment:7 Changed 5 years ago by GTB

In 9363:

fix r9362 (fix #245)

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.