View Issue Details

IDProjectCategoryView StatusLast Update
0006107OXID eShop (all versions)4.07. Source code, Testpublic2024-01-31 14:02
Reportertjungcl Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version4.9.3 / 5.2.3 
Summary0006107: offline.html redirect loop if DB connection is lost
DescriptionIf you are in a category of your shop and the db connection is lost, the shop tries to resolve www.shop.de/category/offline.html and starts looping 301 redirects.

I dont think this is a duplicate of the several solved issues regarding the offline.html because it still happens in 5.2.3

Steps To Reproduce- disable debug mode
- open a category in demoshop
- change db password in config.inc.php
- refresh page
Additional Informationthe reasons seems to be the line
header("Location: offline.html");
in oxonfig->_handleDbConnectionException
which sets the code 500 page to offline.html in the current directory.


TagsNo tags attached.
Theme
BrowserAll
PHP VersionNot defined
Database VersionNot defined

Activities

martinwegele

2015-04-17 11:45

reporter   ~0010880

Same happens with the admin panel. It will try to redirect to admin/offline.html which does not exist.