View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001846 | OXID eShop (all versions) | 5. ------ UpdateApp / Update ------ | public | 2010-05-22 07:24 | 2016-09-06 09:05 |
| Reporter | avenger | Assigned To | |||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 4.3.1 revision 27257 | ||||
| Summary | 0001846: If the update app is run from another directory then "UpdateApp", the update terminates with an error. | ||||
| Description | If you run the update app from directories like "updateApp_3.0", "updateApp_3.1" aso. (for better structuring the various updates), the update app terminates with an error, as the directory of the update app can not be deleted. Reason is, that in "protected function _delUpdateApp()" in "updateAppp/core/updateProcess.php" the deletion is started with return $this->_removeDir( dirname(__FILE__)."/../../updateApp", true ); I.e., the directory is assumed to be "updateApp". Using return $this->_removeDir( realpath(dirname($_SERVER['SCRIPT_FILENAME']).'/../../'), true ); will allow any "updateApp_xxx"-directory to be used. | ||||
| Additional Information | Tried to update 4.3.1 to 4.3.2 from dir updateApp_432, and got such errors: Warning: dir(/.../ee431/updateApp_432/core/../../updateApp) [function.dir]: failed to open dir: No such file or directory in /.../ee431/updateApp_432/core/updateProcess.php on line 174 Notice: Trying to get property of non-object in /.../ee431/updateApp_432/core/updateProcess.php on line 175 Fatal error: Call to a member function read() on a non-object in /.../ee431/updateApp_432/core/updateProcess.php on line 176 | ||||
| Tags | No tags attached. | ||||
| Theme | Not defined | ||||
| Browser | All | ||||
| PHP Version | Not defined | ||||
| Database Version | Not defined | ||||
|
|
The directory updateApp needs to be named like that, as the update documentation points out: 3.1. By command line Go to the /updateApp directory and execute php run_cli.php in the command line. 3.2 By Browser Open www.youreshopurl.de/updateApp in your browser. Replace www.youreshopurl.de with the URL of your shop. Please note that the update may take some time for larger databases. The database update may last several hours. Delete the /updateApp directory once your database update is complete. https://www.oxid-esales.com/en/support-services/documentation-and-help/oxid-eshop/installation/oxid-eshop-update-installation/running-update.html |