Bug #21203
closedInstall Tool, "Update Wizard", "changeCompatibilityVersion" without action
0%
Description
When pressing "Perform Updates" the wizard reports "Update successful!" but reentering the "Update Wizard" it reports:
changeCompatibilityVersion
Your current TYPO3 installation is configured to behave like version 4.1 of TYPO3. If you just upgraded from this version, you most likely want to use new features as well.
- DEBUG SYSTEM INFORMATION - START ###
HTTP_HOST : www.favrholmvaenget.dk
TYPO3_HOST_ONLY : www.favrholmvaenget.dk
TYPO3_PORT :
PATH_INFO :
QUERY_STRING : TYPO3_INSTALL[type]=phpinfo
REQUEST_URI : /typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
HTTP_REFERER : http://www.favrholmvaenget.dk/typo3/install/index.php?TYPO3_INSTALL[type]=update
TYPO3_REQUEST_HOST : http://www.favrholmvaenget.dk
TYPO3_REQUEST_URL : http://www.favrholmvaenget.dk/typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
TYPO3_REQUEST_SCRIPT: http://www.favrholmvaenget.dk/typo3/install/index.php
TYPO3_REQUEST_DIR : http://www.favrholmvaenget.dk/typo3/install/
TYPO3_SITE_URL : http://www.favrholmvaenget.dk/
TYPO3_SITE_SCRIPT : typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
TYPO3_SSL :
TYPO3_REV_PROXY :
SCRIPT_NAME : /typo3/install/index.php
TYPO3_DOCUMENT_ROOT : /var/www/web190/web
SCRIPT_FILENAME : /var/www/web190/web/typo3/install/index.php
REMOTE_ADDR : 83.89.95.85
REMOTE_HOST :
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.5.30729)
HTTP_ACCEPT_LANGUAGE: da
CONST: PHP_OS : Linux
CONST: TYPO3_OS :
CONST: PATH_thisScri: /var/www/web190/web/typo3/install/index.php
CONST: php_sapi_name: apache2handler
OTHER: TYPO3_VERSION: 4.2.9
OTHER: PHP_VERSION : 5.2.6-1+lenny3
imagecreatefromgif(): 1
imagecreatefrompng(): 1
imagecreatefromjpeg(: 1
imagegif() : 1
imagepng() : 1
imagejpeg() : 1
imagettftext() : 1
OTHER: IMAGE_TYPES : 15
OTHER: memory_limit : 128M
SERVER: SERVER_PORT : 80
SERVER: SERVER_SOFTW: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny3 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ruby/1.2.6 Ruby/1.8.7(2008-08-11) mod_ssl/2.2.9 OpenSSL/0.9.8g
SERVER: GATEWAY_INTE: CGI/1.1
SERVER: SCRIPT_NAME : /typo3/install/index.php
SERVER: PATH_TRANSLA:
T3CV_GFX: image_proc: 1
T3CV_GFX: gdlib : 1
T3CV_GFX: gdlib_png : 0
T3CV_GFX: gdlib_2 : 0
T3CV_GFX: im : 1
T3CV_GFX: im_path : /usr/bin/
T3CV_GFX: im_path_lz: /usr/bin/
T3CV_GFX: im_version: im5
T3CV_GFX: im_negate_: 1
T3CV_GFX: im_imvMask: 0
T3CV_GFX: im_combine: composite - DEBUG SYSTEM INFORMATION - END ###
(issue imported from #M12146)
Updated by Stefano Kowalke almost 15 years ago
I can confirm this for TYPO3 4.3.0.
Updated by Chris topher almost 15 years ago
This is a bug coming from old versions of TYPO3.
Check your localconf.php file for values which are surrounded by double quotes ("") and change them all to single quotes ('').
Wrongly adding values in double quotes should no longer happen in TYPO3 4.3, but if you have these values in your file once, they might not be recognized correctly.
Updated by Chris topher almost 15 years ago
Solution would be a function checking for those wrong values and converting them.
I remember there was a patch in a similar report, but it (obviously) never made it in the Core...
Updated by Stefano Kowalke almost 15 years ago
This is the bugreport of the issue you mean:
http://bugs.typo3.org/view.php?id=10175
I fixed this Bug and as you could see, it found his way to the core.
This and the point, that there are no double quoted values in my localconf make it possible, that this is another issue.
Updated by Chris topher almost 15 years ago
Hmm, your description seemed to go to that direction...
Another idea: Do you have more than one line setting $TYPO3_CONF_VARS['SYS']['compat_version']?
Updated by Stefano Kowalke almost 15 years ago
Your hint was very helpfully :-)
Indeed, i have a realy huge code block commented out (/* */). In this block there is another
$TYPO3_CONF_VARS['SYS']['compat_version']. It seems the installer updated this line, but it was ignored by checking for current version.
Updated by Chris topher almost 15 years ago
Moving this block above the line saying "Install Tool may change everything below" might help in this case...
Updated by Chris topher almost 15 years ago
@ Bent: I just realized that your bug is about updating to TYPO3 4.2.9:
Seems like the fix for #19845 was only committed to trunk (which now is TYPO3 4.3 and above).
So you still might have those double quotes (and also maybe multiple lines for this value).
Updated by Stefano Kowalke almost 15 years ago
Moving this block above the line...
This is the simple solution, but the behavior now is inconsistent. The installer can not set/update vars in an outcommented block but doesn´t reads these vars. The first thing is wrong, second right behavior. So, if i found time, i will have a look into the code.
Updated by Stefano Kowalke almost 15 years ago
@Bent Jessen: Did the values have double quotes in you localconf.php?
If so, this bug is a duplicate of http://bugs.typo3.org/view.php?id=10175 and my issue is a new bug.