Modify ↓
Opened 3 years ago
Closed 3 years ago
#2483 closed Bug/Fehler (fixed)
Warning wegen Shopvote-Cache
| Reported by: | noRiddle | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | modified-shop-2.0.8.0 |
| Component: | Shop | Version: | 2.0.7.2 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
Nachdem man bei Verwendung des Cache den Cache gelöscht hat erscheint einmalig dieses Warning:
file_get_contents(PATH/cache/shopvote.cache): failed to open stream: No such file or directory in File: PATH/includes/extra/application_top/application_top_end/70_shopvote.php on Line: 32
Diese Zeile in im Warning genannten File
$response = unserialize(file_get_contents(SQL_CACHEDIR.'shopvote.cache'));
müsste man so in der Art umschreiben:
$response = false;
if(is_file(SQL_CACHEDIR.'shopvote.cache')) {
$response = unserialize(file_get_contents(SQL_CACHEDIR.'shopvote.cache'));
}
Gruß,
noRiddle
Attachments (0)
Note:
See TracTickets
for help on using tickets.

In 15059: