View Issue Details

IDProjectCategoryView StatusLast Update
0003948OXID eShop (all versions)2.3. Extensions (modules, themes)public2023-11-16 13:55
Reporterray Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionreopened 
Product Version4.6.0 revision 44406 
Summary0003948: Other theme cannot be activated, and previous theme is corrupted, if there is sTheme option set in config.inc.php
Descriptionthe Basic Theme cannot be activated in Community Edition Demo Shop
Steps To ReproduceCurrently you have Azure theme set as active on eShop.
- go to Admin -> Extensions -> Themes

- click on "Basic"

- click on "Activate"

... nothing happens, nothing changes.
But in frontend Azure theme now is also corrupted. And there is no possibility to set back to Azure (because it's still shown as "active" in Admin) to get back to correct stage.
Additional Informationworking in an vanilla installation on custom server

http://460.haller-stahlwaren.de
TagsTheme Handling
ThemeNot defined
BrowserAll
PHP VersionNot defined
Database VersionNot defined

Relationships

related to 0003950 resolvedjurate.baseviciene CAPTCHA not showing in Demoshop 

Activities

saulius.stasiukaitis

2012-04-30 13:32

reporter   ~0006484

Changes in demo configuration.

saulius.stasiukaitis

2012-04-30 14:37

reporter   ~0006485

Theme must be selected only in database. Param in config - $this->sTheme might damage shop view.

ray

2012-05-01 19:07

reporter   ~0006491

Last edited: 2012-05-01 19:08

I think this should be made working especially in Demo-Shop

saulius.stasiukaitis

2012-05-02 09:24

reporter   ~0006494

How to reproduce:
1. Add to config file param $this->sTheme with same theme as in database.
2. Change theme in database.
If you change from azure to basic you get warnings instead off articles list in mine page.

Solution.
1. In all places should check only from one place: from database or from config file.
2. In admin there should be a warning that one couldn't change theme because it is in config file or that config param don't do nothing because of setting in database.

saulius.stasiukaitis

2012-05-02 09:26

reporter   ~0006495

Did not reproduce in 4.5 version.

saulius.stasiukaitis

2012-05-09 16:08

reporter   ~0006547

In next patch there will be an announcement that sTheme or sCustomTheme are in config file.
Still need to investigate possible fix for shop to work even if params are in config file and possible cases if there would be other params in config file.

SvenBrunk

2023-11-16 13:55

administrator   ~0015761

Being able to fix the theme (or any setting) from within the config.inc.php is a feature, not a bug.