Bug #8472
error while fetching TYPO3 versions
| Status: | Resolved | Start date: | 2010-06-24 | ||
|---|---|---|---|---|---|
| Priority: | Should have | Due date: | |||
| Assignee: | Martin Ficzel | % Done: | 80% |
||
| Category: | - | ||||
| Target version: | - | ||||
| Votes: | 0 |
Description
I got this error while fetching the latest TYPO3 versions from the SVN using the scheduler:
Core: Error handler (BE): PHP Warning: file_get_contents(https://svn.typo3.org/TYPO3v4/Core/tags/): failed to open stream: no suitable wrapper could be found in /var/www/opendo.at/subdomains/caretaker/www/typo3conf/ext/caretaker/classes/helpers/class.tx_c
I think this is server-specific. You are using cURL in all the other functions, so i thought i'd patch this one. While testing I saw, that you are fetching instable versions as the latest. E.g. the latest TYPO3 4.4 version fetched is 4.4.0beta3. I changed that and now it fetches the latest stable version (i think this is the expected behavior).
I think there should be a generic http-request class (at least i didn't find any), so you won't have to initiate the cURL request in every test-case.
I hope this patch helps (and is correct) - feedback is welcome!
History
Updated by Martin Ficzel almost 3 years ago
Thanks for your help. Could you send the patch in unified diff format ( diff -u ). My ide cannot handle the format you provided.
Regards, Martin
Updated by Martin Ficzel almost 3 years ago
- Status changed from New to Needs Feedback
Updated by Martin Ficzel almost 3 years ago
- Assignee set to Martin Ficzel
Updated by Philipp Bergsmann almost 3 years ago
Attached the unified diff
Updated by Martin Ficzel almost 3 years ago
- % Done changed from 0 to 80
The patch is applied i will close this Bug if no problems with the patch occur.
Updated by Martin Ficzel almost 3 years ago
- Status changed from Needs Feedback to Accepted
Updated by Martin Ficzel almost 3 years ago
- Status changed from Accepted to Resolved
it seems that everything is fine