View Issue Details

IDProjectCategoryView StatusLast Update
0006107OXID eShop (all versions)4.07. Source code, Testpublic2015-12-01 12:26
Reportertjungcl 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version4.9.3 / 5.2.3 
Target VersionFixed in Version 
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.
ThemeAzure
BrowserAll
PHP Versionany
MySQL Versionany

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.