View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002043 | OXID eShop (all versions) | 6. ------ Setup ------- | public | 2010-08-16 06:52 | 2010-08-16 15:43 |
Reporter | Carolin | Assigned To | |||
Priority | immediate | Severity | block | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.4.1 revision 28950 | ||||
Fixed in Version | 4.4.2 revision 29492 | ||||
Summary | 0002043: System requirements check for "Files/folders access rights" always fails | ||||
Description | When setup eShop, always getting the red "Files/folders access rights" check in system requirements page, thought everything set as required: * /out/pictures/ (recurse into subdirectories) * /out/media/ (recurse into subdirectories) * /out/basic/src/ (recurse into subdirectories) * /log/ (recurse into subdirectories) * /tmp/ (recurse into subdirectories) * /config.inc.php * /.htaccess ... even when permissions for entire shop is set to 777, this check fails. _______________________ oxsetup.php, line 1165 public function getDefaultPathParams() { // default values $aParams['sShopDir'] = ""; $aParams['sShopURL'] = ""; // try path translated if ( isset( $_SERVER['PATH_TRANSLATED'])) { $sFilepath = $_SERVER['PATH_TRANSLATED']; } else { $sFilepath = $_SERVER['SCRIPT_FILENAME']; } ... _______________________ ERROR: ======= $_SERVER['PATH_TRANSLATED'] can exist but be EMPTY!!! SOLUTION: ========== // try path translated if ( isset( $_SERVER['PATH_TRANSLATED']) && $_SERVER['PATH_TRANSLATED'] != '') { $sFilepath = $_SERVER['PATH_TRANSLATED']; } else { $sFilepath = $_SERVER['SCRIPT_FILENAME']; } | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
Reminder sent to: Carolin Hi, thanks for your detailed bug report! It really helps - especially on the issues that happens on some servers only :) Regards, Sarunas |
|
fixed as proposed in bug report |