View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004037 | OXID eShop (all versions) | 2. ----- eShop backend (admin) ----- | public | 2012-05-14 11:21 | 2012-06-21 08:59 |
Reporter | smxsm | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.6.0 revision 44406 | ||||
Fixed in Version | 4.6.2 revision 46646 | ||||
Summary | 0004037: New module installation setup does not support admin includes for AJAX popups | ||||
Description | If a custom OXID eShop module contains an include PHP file for the admin area to show a custom AJAX selection popup, the file is not found / loaded by oxajax.php. The error message is: PHP Warning: include_once(): Failed opening 'inc/smxb2b_accounts_main.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /...smxDemoshopB2B46/admin/oxajax.php on line 740 In this example, the file "smxb2b_accounts_main.inc.php" is located at "/modules/shoptimax/smxb2b_accounts/admin/inc/" and included from "/modules/shoptimax/smxb2b_accounts/admin/smxb2b_accounts_main.php". There is a "vendormetadata.php" and also a "metadata.php" file provided with the module. AFAIK there is no way to specify file locations for admin includes in the metadata.php file - only for "regular" PHP classes and templates. | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||