View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001217 | OXID eShop (all versions) | 5. ------ UpdateApp / Update ------ | public | 2009-08-19 12:31 | 2009-08-21 12:42 |
Reporter | exo | Assigned To | |||
Priority | high | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.1.5 revision 21618 | ||||
Fixed in Version | 4.1.6 revision 22740 | ||||
Summary | 0001217: 2 warnings in updateApp | ||||
Description | Warning: array_merge() [function.array-merge http://www.emotion-moebel.de/updateApp/function.array-merge> ]: Argument #1 is not an array in /www/htdocs/w00ad185/oxid413/updateApp/core/updateConfig.php on line 49 Warning: Invalid argument supplied for foreach() in /www/htdocs/w00ad185/oxid413/updateApp/core/updateConfig.php on line 49 | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||
|
Reminder sent to: exo Hi, the problem is that glob function did not return an array. One possible reason for this is that updateApp/updates/php directory was not created while extracting archive (for this release, it should be empty). for quick solving of your case, pls could you check if this directory is created and if not, create it empty? |
|
Hi, in the last release of the oxid pe shop and the first with the updateApp i`ve uploaded the complete updateApp folder. In this release the php-directory is empty. |
|
Reminder sent to: exo Hi, could you pls check if permissions allow to execute that directory ? (read + execute for web server user). if permissions are ok, and problem still persists, try to create any (not number based) php file in that dir (e.g. x.php). Regards, |
|
Ok, the permissions have no effect on the error. The solve is to make a file in the php-dir. the error is gone while i have put an empty file in it, but is this good so? |
|
Reminder sent to: exo this bug will still be fixed (glob result handling - as on some systems it returns false instead of empy array), but as this error is gone, you should be able to use updateApp normally. Because created file name is of letters, and not numbers only, updateApp wont take it for execution. |
|
glob result checked - if it did not return an array, empty array is used |