View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000863 | OXID eShop (all versions) | 2. ----- eShop backend (admin) ----- | public | 2009-05-06 08:36 | 2009-05-08 16:29 |
Reporter | MichaelZ | Assigned To | |||
Priority | urgent | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.1.1 revision 18442 | ||||
Fixed in Version | 4.1.2 revision 18998 | ||||
Summary | 0000863: Allowed memory size exhausted in Administer Products -> Products -> Extended | ||||
Description | We discovered this issue in version 4.0.1.0-15990 but is still present in current version 4.1.1-18442. In a large database (we discovered this with a product database with 35000 articles, but may also appear with smaller databases) when you select the "Extended" tab in the Administer Products -> Products menu you get a memory limit exhausted error (with a memory limit of 30M as recommended in the setup routine). As the error message states the error occurs somewhere in the file article_extend.php in the admin package in the body of the while loop that starts in line 117. The problem is the field "bundled product" which allows the admin to select a product that is bundled for free with the edited product. This select box is filled with all the products in the shop except the one that is currently edited which in our case returns about 35000 products. Building the object hierarchy for this amount of data exhausts the memory limit. Although rising the memory limit is not really an option I tested this on another server with a memory limit of 64M with the same result. | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||