Project

General

Profile

Actions

Bug #35340

closed

Error updating translations in extension manager

Added by Christian Weiske over 12 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Language Manager (backend)
Target version:
-
Start date:
2012-03-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

This problem happens on 4.6.6 and 4.6.7 with Opera 11.52 and Chromium 17:

I go to the extension manager, tab "language packs", select "german" in the left list.
In the main list, I have a list of parts of typo3, including "cms" - with the text "not checked" beside it.

Now I click on it and I get asked "Do you want to update the language pack for extension 'cms'?" and confirm. Now the progress bar shows and then a error message appears:

Connection Problem
Sorry, but an error occurred while connecting to the server. Please check your network connection.

The network inspector in both browsers show the same result: No error occured.

Request URL:http://neatful.bogo/typo3/ajax.php?ajaxID=ExtDirect::route&namespace=TYPO3.EM
Request Method:POST
Status Code:200 OK

Request Payload {"action":"ExtDirect","method":"fetchTranslations","data":["cms",1 ["de"],"1c86a65644faff6aeef4353913ce75eb16ad9cab"],"type":"rpc","tid":4}

Response
[{"tid":4,"action":"ExtDirect","method":"fetchTranslations","type":"rpc","result":{"de":"<span class=\"t3-icon t3-icon-status t3-icon-status-status t3-icon-status-checked\"> <\/span>Aktuell"},"debug":""}]

Why does the error message occur?

Other people also have this problem (german): http://www.typo3forum.net/forum/typo3-4-x-backend/55242-keine-language-updates-extension-manager-m-glich.html


Files

error.jpg (60.1 KB) error.jpg Camelia M, 2012-04-06 15:21

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #30918: update process language has false indicationClosed2011-10-14

Actions
Actions #1

Updated by Jigal van Hemert over 12 years ago

  • Status changed from New to Accepted
Actions #2

Updated by Hartmut Steglich over 12 years ago

happens also in 4.7.0beta3 with Firefox 3.6x

Actions #3

Updated by Camelia M over 12 years ago

I get this problem: "Connection Problem. Sorry, but an error occurred while connecting to the server. Please check your network connection." if I try to import an extension, but also if I try to change settings for extensions. I use typo3 4.6.6.
problem is visible on firefox 10, ie 9, chrome 18, opera 11, so i would say it's not related to the browser used.
no need to mention that once i see this problem the action i was performing is not completed (extension import, update, etc..)

Actions #4

Updated by Benjamin no-lastname-given over 12 years ago

I have the exact same error on two different servers with the latest typo3 version (4.7.2).

In addition i watched a strage behavior:

with a new typo3 installation:
- i go to the extension manager > Language Packets
- execute "Check status against repository"
- it show many available updates
- i press "update from repository"
- all updated do fail

after that, every time i execute "Check status against repository" it says gives me the status: "up to date".
I suspect that some update-flag is set even if the update fails ..

Benjamin

Actions #5

Updated by most wanted about 12 years ago

i just moved project that showed that problematic behaviour to a server where other projects are hosted for which the update process does work like a charm: the problem remained the same.

Actions #6

Updated by Wouter Wolters over 11 years ago

  • Status changed from Accepted to Needs Feedback

is this still a problem in TYPO3 6.0 or higher?

Actions #7

Updated by Benjamin no-lastname-given over 11 years ago

I did a test with 6.1.2:

i do have still problems:

The ajax update requests do return this error:
<b>Fatal error</b>: Call to undefined function TYPO3\CMS\Lang\Utility\Connection\zip_open() in <b>.../typo3_src-6.1.2/typo3/sysext/lang/Classes/Utility/Connection/Ter.php</b> on line <b>196</b><br />

In the first run, for every failed update a error icon appears.
When i reopen the lang update page every failed update shows "up to date"

Please look that the "update done" flag is only set after the new lang files are successfully written.
It looks like the flag is set after a successful download but before writing/extracting ..

Actions #8

Updated by Wouter Wolters over 11 years ago

Your error is related to a missing PHP extension, please make sure to install that.
http://us2.php.net/manual/en/zip.installation.php

Actions #9

Updated by Benjamin no-lastname-given over 11 years ago

Ok, i added zip support on my server. Updating works now.
But the previously failed updates still show "up to date" - which is wrong. Like in issue #30918

I got the previously failed updates to work by deleting the ...l10n-de.zip files manually from the typo3temp folder.

I think there should be a better error checking and logging and messaging for updating the language packs.
There are many things that can cause a problem:
- network
- php curl
- php zip
- file system write right
But if a error occurs, you do not get a useful error messages.

Actions #10

Updated by Alexander Opitz almost 11 years ago

  • Status changed from Needs Feedback to New
  • Is Regression set to No
Actions #11

Updated by Susanne Moog over 10 years ago

  • Category changed from Extension Manager to Language Manager (backend)
Actions #12

Updated by Mathias Schreiber about 9 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF