View Issue Details

IDProjectCategoryView StatusLast Update
0002177OXID eShop (all versions)1. ----- eShop frontend -----public2012-12-10 14:37
Reporterleofonic Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.4.3 revision 30016 
Fixed in Version4.5.5 revision 40299 
Summary0002177: oxexceptionhandler redirects to offline.html without path information
DescriptionIn oxexceptionhandler::_uncaughtException( oxException $oEx ) the following lines redirect to offline html:
    //simple safe redirect in productive mode
    $this->_safeShopRedirectAndExit( "offline.html" );

This only works in root directory of the shop.
Steps To Reproduce- In demoshop, open detail view of any article
- Set demoshop inactive
- Reload article in Frontend
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Relationships

related to 0003303 resolvedLinas Kukulskis bad redirection on throw exception 
related to 0003334 resolvedLinas Kukulskis exception.tpl is missing in basic 

Activities

birute_meilutyte

2010-10-29 10:41

reporter   ~0003647

Reminder sent to: leofonic

Hello,

sorry, but i do not fully understand the problem you described.

lets say, path to product details page looks like:
http://shop/Gifts/Bar-Equipment/Bar-Butler-6-BOTTLES.html
if shop goes offline, for this page we get:
http://shop/Gifts/Bar-Equipment/offline.html
so, path information is displayed there.

could you please write, what path information you get after shop goes offline, and how it should look like?

greetings,

leofonic

2010-10-29 11:40

reporter   ~0003650

Hello Birute,

The page
http://shop/Gifts/Bar-Equipment/offline.html
does not exist, so you will get 404 instead of offline.html
The correct page where the redirect should point to is
http://shop/offline.html

This is because the shop uses:
header("Location: offline.html");
but should use IMO:
header("Location: http://shop/offline.html");

Linas Kukulskis

2011-10-27 13:10

reporter   ~0005341

fixed redirection