View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002746 | OXID eShop (all versions) | 2.3. Extensions (modules, themes) | public | 2011-04-15 14:27 | 2012-12-10 13:33 |
Reporter | dainius.bigelis | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.5.0 revision 34568 | ||||
Target Version | 4.5.1 revision 38045 | Fixed in Version | 4.5.1 revision 38045 | ||
Summary | 0002746: Images are not regenerated when theme changed, according to theme specific image sizes | ||||
Description | When the theme in admin is changed (i.e. from Azure to Basic), the images for products are already generated for previous theme and are not triggered to regenerate it once again for new theme. When theme is changed, need to regenerate the images for this new theme (considering if this is a subshop, etc.) | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
as a temporary solution to solve this issue in eShop 4.5.0: for CE/PE, after theme is changed please run SQL: UPDATE oxarticles SET OXPICGENERATED = 0; for EE: 1. insert the field OXPICGENERATED for each subshop: 1.1 run the SQL: ALTER TABLE `oxfield2shop` ADD `OXPICSGENERATED` INT DEFAULT 0 NOT NULL; 1.2 declare OXPICGENERATED as multishop field in config.inc.php, i.e.: $this->aMultishopArticleFields = array("OXPRICE", "OXPRICEA", "OXPRICEB", "OXPRICEC", 'OXPICGENERATED'); 2. After theme is changed in particular shop, please reset the OXPICGENERATED field by running this SQL: UPDATE oxfield2shop set OXPICSGENERATED = 0 where oxshopid = '<yourshopid>'; Sorry for inconveniences. |
|
"S" missing in first Statement: UPDATE oxarticles SET OXPICSGENERATED = 0; |
|
version 4.5.1 comes with a new image handling solution, which solves such problems. more info about upcomming change here http://wiki.oxidforge.org/Tutorials/image_handling_changes |