Modify ↓
#1816 closed Bug/Fehler (invalid)
Undefined index: customer_country_id + customer_zone_id
| Reported by: | web-looks.de | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Shop | Version: | 2.0.5.1 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description (last modified by )
Problem: Es fehlt die Prüfung, ob $_SERVER[customer_country_id] und $_SERVER[customer_zone_id] existieren.
/inc/xtc_get_tax_rate.inc.php
/inc/xtc_get_tax_description.inc.php
Suchen nach:
if (!isset($_SESSION['customer_id'])) {
Ersetzen mit:
if (empty($_SESSION['customer_id']) || empty($_SESSION['customer_country_id'])) {
Suchen nach:
$zone_id = $_SESSION['customer_zone_id'];
Ersetzen mit:
$zone_id = (!empty($_SESSION['customer_zone_id']) ? $_SESSION['customer_zone_id'] : 0);
Attachments (0)
Change History (4)
comment:1 by , 6 years ago
| Milestone: | → modified-shop-2.0.5.2 |
|---|
comment:2 by , 6 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:3 by , 6 years ago
| Description: | modified (diff) |
|---|---|
| Milestone: | modified-shop-2.0.5.2 |
Sofern du ein Log dafür bekommen hast, dann bitte gerne hier nochmal anhängen. Ansonsten können wir nicht nachvollziehen, wie es es zu einem Log kommen soll.
comment:4 by , 6 years ago
Vollständiger Log ist leider nicht mehr vorhanden. Falls mir die Warnung nochmals begegnet, reiche ich den gerne nach.
Note:
See TracTickets
for help on using tickets.

Sobald ein Kunde eingeloggt ist, werden auch die 2 Session Variablen gesetzt.