Project

General

Profile

Actions

Bug #65275

closed

Problem with Install Tool using GDlib test

Added by Heike Herzog-Kuhnke about 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2015-02-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
Yes
Sprint Focus:

Description

After I discovered some Problems in a new typo3 6.2.9 Installation with the GDlib test. I changed the following line for the GFX:

from [GFX][im_version_5] = im6 to [GFX][im_version_5] = gm

Starting the GDLib Test in the Install tool now shows me following Error:
The system detected a fatal error during script execution and redirected to this module. Your loaded extensions are now checked for possible problems. After incompatible extensions are unloaded, you can restart the initial action to proceed your request.
Detected Fatal Error
Call to undefined method TYPO3\CMS\Install\Database\DatabaseConnectionMock::isConnected() in /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Error/ErrorHandler.php on line 174

Check for broken extensions

Checks whether the local extensions' ext_tables and ext_localconf files can be included without errors, meaning they can be loaded without breaking the system.

All local extensions can be loaded!
--------------------------------------------

There ist no change after setting back to im6. Deleting all Caches, removing all informations out of the database. This error is not removable.

The Domain and Installation was via SSH without any distribution package.
How can I get rid of this error?

As you can see with the screenshots the system environment is shown as OK and I don't have any message that there are problems tha have to be resolved.


Files

Actions #1

Updated by Heike Herzog-Kuhnke about 9 years ago

Here some messages out of the error log of the server:

24.02.2015 14:58:58 herzog-stb.de [client 178.27.69.0] PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Could not acquire lock for ClassLoader cache creation.' in /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/ClassLoader.php:738, referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:58 herzog-stb.de [client 178.27.69.0] Stack trace:, referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:58 herzog-stb.de [client 178.27.69.0] #0 /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/ClassLoader.php(234): TYPO3\\CMS\\Core\\Core\\ClassLoader->acquireLock(), referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:58 herzog-stb.de [client 178.27.69.0] #1 /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/ClassLoader.php(169): TYPO3\\CMS\\Core\\Core\\ClassLoader->buildCachedClassLoadingInformation('typo3_cms_core_...', 'TYPO3\\\\CMS\\\\Core\\\\...'), referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:58 herzog-stb.de [client 178.27.69.0] #2 [internal function]: TYPO3\\CMS\\Core\\Core\\ClassLoader->loadClass('TYPO3\\\\CMS\\\\Core\\\\...'), referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:58 herzog-stb.de [client 178.27.69.0] #3 /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/Bootstrap.php(545): spl_autoload_call('TYPO3\\\\CMS\\\\Core\\\\...'), referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:58 herzog-stb.de [client 178.27.69.0] #4 /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/Bootstrap.php(241): TYPO3\\CMS\\Core\\Core\\Bootstrap->initializeL in /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/ClassLoader.php on line 738, referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:59 herzog-stb.de [client 178.27.69.0] PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Could not acquire lock for ClassLoader cache creation.' in /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/ClassLoader.php:738, referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:59 herzog-stb.de [client 178.27.69.0] Stack trace:, referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:59 herzog-stb.de [client 178.27.69.0] #0 /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/ClassLoader.php(234): TYPO3\\CMS\\Core\\Core\\ClassLoader->acquireLock(), referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:59 herzog-stb.de [client 178.27.69.0] #1 /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/ClassLoader.php(169): TYPO3\\CMS\\Core\\Core\\ClassLoader->buildCachedClassLoadingInformation('typo3_cms_core_...', 'TYPO3\\\\CMS\\\\Core\\\\...'), referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:59 herzog-stb.de [client 178.27.69.0] #2 [internal function]: TYPO3\\CMS\\Core\\Core\\ClassLoader->loadClass('TYPO3\\\\CMS\\\\Core\\\\...'), referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:59 herzog-stb.de [client 178.27.69.0] #3 /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/Bootstrap.php(545): spl_autoload_call('TYPO3\\\\CMS\\\\Core\\\\...'), referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:59 herzog-stb.de [client 178.27.69.0] #4 /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/Bootstrap.php(241): TYPO3\\CMS\\Core\\Core\\Bootstrap->initializeL in /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/ClassLoader.php on line 738, referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:59 herzog-stb.de [client 178.27.69.0] PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Could not acquire lock for ClassLoader cache creation.' in /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/ClassLoader.php:738, referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:59 herzog-stb.de [client 178.27.69.0] Stack trace:, referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:59 herzog-stb.de [client 178.27.69.0] #0 /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/ClassLoader.php(234): TYPO3\\CMS\\Core\\Core\\ClassLoader->acquireLock(), referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:59 herzog-stb.de [client 178.27.69.0] #1 /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/ClassLoader.php(169): TYPO3\\CMS\\Core\\Core\\ClassLoader->buildCachedClassLoadingInformation('typo3_cms_core_...', 'TYPO3\\\\CMS\\\\Core\\\\...'), referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:59 herzog-stb.de [client 178.27.69.0] #2 [internal function]: TYPO3\\CMS\\Core\\Core\\ClassLoader->loadClass('TYPO3\\\\CMS\\\\Core\\\\...'), referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:59 herzog-stb.de [client 178.27.69.0] #3 /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/Bootstrap.php(545): spl_autoload_call('TYPO3\\\\CMS\\\\Core\\\\...'), referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 14:58:59 herzog-stb.de [client 178.27.69.0] #4 /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/Bootstrap.php(241): TYPO3\\CMS\\Core\\Core\\Bootstrap->initializeL in /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Core/ClassLoader.php on line 738, referer: http://www.wp-herzog.de/typo3-new/typo3/backend.php
24.02.2015 16:32:57 herzog-stb.de [client 178.27.69.0] PHP Fatal error: Call to undefined method TYPO3\\CMS\\Install\\Database\\DatabaseConnectionMock::isConnected() in /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Error/ErrorHandler.php on line 174, referer: http://www.wp-herzog.de/typo3-new/typo3/sysext/install/Start/Install.php?install[action]=testSetup&install[context]=standalone&install[controller]=tool
24.02.2015 16:38:51 herzog-stb.de [client 178.27.69.0] PHP Fatal error: Call to undefined method TYPO3\\CMS\\Install\\Database\\DatabaseConnectionMock::isConnected() in /mnt/webd/c3/90/51621290/htdocs/typo3-new/typo3_src-6.2.9/typo3/sysext/core/Classes/Error/ErrorHandler.php on line 174, referer: http://www.wp-herzog.de/typo3-new/typo3/sysext/install/Start/Install.php?install[action]=testSetup&install[context]=backend&install[controller]=tool

Hope that helps...

Actions #2

Updated by Philipp Gampe about 9 years ago

  • Project changed from 1664 to TYPO3 Core
  • Category set to Install Tool
  • Status changed from New to Accepted
  • TYPO3 Version set to 6.2
  • PHP Version set to 5.3
  • Complexity set to no-brainer
  • Is Regression set to Yes

The mock needs to be extended with the missing method(s) or the calling code needs adaption.

Actions #3

Updated by Christian Kuhn about 9 years ago

Hey,

please remove your typo3temp/locks/ and typo3temp/Cache directories and try again.

Actions #4

Updated by Heike Herzog-Kuhnke about 9 years ago

Keine Änderung - leider :((
Wenn ich noch Informationen geben kann, dann einfach Bescheid geben.

sry - didn't change anything.
If you need more informations please tell me, i'll try to give it to you

Actions #5

Updated by Heike Herzog-Kuhnke about 9 years ago

I have PHP 5.5 - maybe this is important for you

Actions #6

Updated by Heike Herzog-Kuhnke about 9 years ago

any other Ideas?
Should an Update to 6.9.10 help?

Actions #7

Updated by Matthias Dicker about 9 years ago

exec()-Funktion auf dem Server aktiviert?
Falls nein, testweise mal aktivieren.

Actions #8

Updated by Heike Herzog-Kuhnke about 9 years ago

Wenn Du mir sagst, wo ich das prüfen kann und wie ich es aktivieren kann, dann schaue ich direkt mal nach.
Sehe ich das in der Zusammenfassung im Install-Tool zu PHP?

Actions #9

Updated by Matthias Dicker about 9 years ago

Fall Sie Zugriff zur PHP.ini haben, müssten Sie die Datei
einmal laden und nach folgendem Wert suchen:

disable_functions = "exec,passthru,shell_exec,proc_open,popen,system,curl_exec,curl_multi_exec,parse_ini_file,show_source"

Dort den Begriff exec inkl. Komma entfernen.

Falls kein Zugriff besteht, einfach mal freundlich beim Hoster anfragen ;)

Evtl. besteht sogar die Möglichkeit, dass Sie die Funktion in Ihrer Verwaltungsoberfläche aktivieren / deaktivieren können.

Im System-Enviroment-Bericht müsste sowas, bzw. ähnlich stehen:

Some PHP functions disabled
disable_functions= exec usw....

Actions #10

Updated by Heike Herzog-Kuhnke about 9 years ago

Kann ich diese Einstellung auch irgendwie prüfen?
auf die PHP.Ini habe ich keinen Zugriff. Ich kann nur eine eigene .usr.ini anlegen.
Mit der habe ich z.B. die max_execution_time = 240 gesetzt.

Gibt es einen Shell Befehl, mit dem man das anzeigen lassen könnte?
SSH Zugriff habe ich.

Ach eben seh ich es - ich schaue schnell nach ...

Actions #11

Updated by Heike Herzog-Kuhnke about 9 years ago

Ich kopiere mal die Bereiche rein, von denen ich denke, das hier vielleicht was zu finden ist. Wenn ich die Eintragung unter Core richtig verstehe ist nichts disabled...

###################
Ausschnitte aus System Environment

Current directory (./) is within PHP include path.
File uploads allowed in PHP
PHP Maximum file upload size is higher than or equal to [BE][maxFileSize]
Maximum post upload size correlates with maximum upload file size in PHP
PHP Memory limit is equal to or more than 64MB
PHP version is fine
Maximum PHP script execution time is equal to or more than 240
No disabled PHP functions
Fetching external URLs is allowed
PHP safe mode off
PHP doc_root is not set
PHP open_basedir is off
PHP xdebug extension not loaded
PHP OpenSSL extension installed properly
PHP Doc comment reflection works
Skipping test, as UTF8filesystem is not enabled.
Apache ThreadStackSize is not an issue on UNIX systems
PHP extension fileinfo loaded
PHP extension filter loaded
PHP extension gd loaded
PHP extension hash loaded
PHP extension json loaded
PHP extension mysqli loaded
PHP extension openssl loaded
PHP extension pcre loaded
PHP extension session loaded
PHP extension soap loaded
PHP extension SPL loaded
PHP extension standard loaded
PHP extension xml loaded
PHP extension zip loaded
PHP extension zlib loaded
PHP GD library true color works
PHP GD library has gif support
PHP GD library has jpg support
PHP GD library has png support
PHP GD library has freetype font support
There is a difference between the font size setting which the GD library should be supplied with. If installation is completed a test in the install tool helps to find out the value you need.
PHP magic quotes off
PHP register globals off
PHP libxml bug not present
FreeType True Type Font DPI
Fonts are rendered by FreeType library. We need to ensure that the final dimensions are as expected. This server renderes fonts based on 96 DPI correctly
Suhosin not loaded
If enabling suhosin, suhosin.request.max_vars should be set to at least 400:
suhosin.request.max_vars=400
Suhosin not loaded
If enabling suhosin, suhosin.request.max_varname_length should be set to at least 200:
suhosin.request.max_varname_length=200
Suhosin not loaded
If enabling suhosin, suhosin.post.max_name_length should be set to at least 200:
suhosin.post.max_name_length=200
Suhosin not loaded
If enabling suhosin, suhosin.post.max_vars should be set to at least 400:
suhosin.post.max_vars=400
Suhosin not loaded
If enabling suhosin, suhosin.get.max_name_length should be set to at least 200:
suhosin.get.max_name_length=200
Suhosin not loaded
If enabling suhosin, suhosin.get.max_value_length should be set to at least 2000:
suhosin.get.max_value_length=2000
Suhosin not loaded
If enabling suhosin, a useful setting is:
suhosin.executor.include.whitelist=phar,vfs
Suhosin not loaded
If enabling suhosin, a useful setting is:
suhosin.executor.include.whitelist=phar,vfs
Empty systemLocale setting
$GLOBALS[TYPO3_CONF_VARS][SYS][systemLocale] is not set. This is fine as long as no UTF-8 file system is used.
PHP suhosin extension not loaded or in simulation mode
suhosin is an extension to harden the PHP environment. In general, it is good to have it from a security point of view. While TYPO3 CMS works fine with suhosin, it has some requirements different from the default settings to be set if enabled.
No PHP opcode cache loaded
PHP opcode caches hold a compiled version of executed PHP scripts in memory and do not require to recompile a script each time it is accessed. This can be a massive performance improvement and can reduce the load on a server in general. A parse time reduction by factor three for fully cached pages can be achieved easily if using an opcode cache.
For more information take a look in our wiki http://wiki.typo3.org/Opcode_Cache. #############

Core

PHP Version 5.5.22

Directive Local Value Master Value
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
disable_classes no value no value
disable_functions no value no value
display_errors Off Off
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
enable_post_data_reading On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 22519 22519
exit_on_timeout Off Off
expose_php On On
extension_dir ./ ./
file_uploads On On
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors Off Off
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path /home/strato/.....
log_errors On On
log_errors_max_len 1024 1024
mail.add_x_header Off Off
mail.force_extra_parameters no value no value
mail.log no value no value
max_execution_time 240 0
max_file_uploads 20 20
max_input_nesting_level 64 64
max_input_time 60 60
max_input_vars 4000 4000
memory_limit 128m 128M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 48M 48M
precision 14 14
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
report_memleaks On On
report_zend_debug On On
request_order GP GP
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
sys_temp_dir no value no value
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 32M 32M
upload_tmp_dir no value no value
user_dir no value no value
user_ini.cache_ttl 300 300
user_ini.filename .user.ini .user.ini
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
zend.detect_unicode On On
zend.enable_gc On On
zend.multibyte Off Off
zend.script_encoding no value no value

################

gd

GD Support enabled
GD Version bundled (2.1.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.5.2
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 9 compatible
PNG Support enabled
libPNG Version 1.6.12
WBMP Support enabled
XBM Support enabled

mssql

MSSQL Support enabled
Active Persistent Links 0
Active Links 0
Library version FreeTDS

Directive Local Value Master Value
mssql.allow_persistent On On
mssql.batchsize 0 0
mssql.charset no value no value
mssql.compatability_mode Off Off
mssql.compatibility_mode Off Off
mssql.connect_timeout 5 5
mssql.datetimeconvert On On
mssql.max_links Unlimited Unlimited
mssql.max_persistent Unlimited Unlimited
mssql.max_procs Unlimited Unlimited
mssql.min_error_severity 10 10
mssql.min_message_severity 10 10
mssql.secure_connection Off Off
mssql.textlimit Server default Server default
mssql.textsize Server default Server default
mssql.timeout 60 60

mysql

MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.96
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I../local/include/mysql
MYSQL_LIBS -L../local/lib -lmysqlclient

Directive Local Value Master Value
mysql.allow_local_infile On On
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket /tmp/mysql.sock /tmp/mysql.sock
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off

mysqli

MysqlI Support enabled
Client API library version 5.0.96
Active Persistent Links 0
Inactive Persistent Links 0
Active Links 0
Client API header version 5.0.96
MYSQLI_SOCKET /tmp/mysql.sock

Directive Local Value Master Value
mysqli.allow_local_infile On On
mysqli.allow_persistent On On
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.max_persistent Unlimited Unlimited
mysqli.reconnect Off Off

session

Session Support enabled
Registered save handlers files user sqlite
Registered serializer handlers php_serialize php php_binary wddx

Directive Local Value Master Value
session.auto_start Off Off
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 1000
session.gc_maxlifetime 7200 1440
session.gc_probability 100 1
session.hash_bits_per_character 5 5
session.hash_function 0 0
session.name Typo3InstallTool PHPSESSID
session.referer_check no value no value
session.save_handler user files
session.save_path /home/strato/http/premium/rid/12/90/51621290/htdocs/typo3_grau_01/typo3temp/InstallToolSessions/49915c344bfc8a4d8d403812c26d79f4da8962c6 2;/var/tmp
session.serialize_handler php php
session.upload_progress.cleanup On On
session.upload_progress.enabled On On
session.upload_progress.freq 1% 1%
session.upload_progress.min_freq 1 1
session.upload_progress.name PHP_SESSION_UPLOAD_PROGRESS PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.prefix upload_progress_ upload_progress_
session.use_cookies On On
session.use_only_cookies On On
session.use_strict_mode Off Off
session.use_trans_sid 0 0

################

Actions #12

Updated by Geddo no-lastname-given almost 9 years ago

Habe vermutlich das gleiche Problem. Hoster ist Strato. laut phpinfo ist nichts disabled. Wenn ich auf den GDlib Test klicke, erhalte ich den gleichen Fatal-Error.
Meine Bilder im Backend werden deshalb auch nicht mehr gescaled. Imagemagick/FE funzt

Actions #13

Updated by Philipp Gampe almost 9 years ago

  • Status changed from Accepted to Needs Feedback

Please test again with 6.2.14. AFAIK there was a patch merged that should mitigate that issue.

Actions #14

Updated by Heike Herzog-Kuhnke almost 9 years ago

I won't change this STRATO Installation but I received this problem today also on a all-inkl Domain.
The Solution was to add the following line in .htaccess

#Bei Nutzung von PHP5 im CGI-Modus
AddHandler php5-cgi .php

(because "disable_functions=exec system passthru shell_exec popen escapeshellcmd proc_open proc_nice" is set on this server.)

After that you have to delete session-infos and cookies from the browser an reload the page.
If a problem occurs, that you can't login you have to check the ownership / granted rights of the filesystem.

Actions #15

Updated by Riccardo De Contardi over 8 years ago

  • Assignee set to Heike Herzog-Kuhnke

@Heike Wiese Herzog-Kuhnke: can this be closed, then? Or is there something left to do? Thank you.

Actions #16

Updated by Heike Herzog-Kuhnke over 8 years ago

Today I updated an installation with version 4.5.17 to 4.5.40. After testing an having a proper working frontend, I updated to 6.2.15.
After the upgrade wizard initially everything looked fine. After a first Unsubscribe I got error messages that seemed to point to an incompatibility with the extension tq_seo.
I removed tq_seo files from the ext directory in typo3conf and also removed related lines from the localconf.php.
After deleting the temporary files again, deleting all caches via the Install Tool, I could login an start the backend.

Unfortunately, not all images are displayed on my page. After the change of two constants in my template, which had entered an image size of 0, I started the Install Tool image rendering test.

And I am running into the same mistake again.
The test of the Image rendering results in the following error and shows the extension test.

Fatal Error Detected
Call to undefined method TYPO3 \ CMS \ Install \ Database \ DatabaseConnectionMock :: isConnected () in /www/htdocs/w00e8387/KMF-1/typo3_src-6.2.15/typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php on line 99

Not all pictures are not processed, but only those not to be inserted with text and pictures on the Pictures tab.

What I have noticed. I had set to PHP5.5 CGI the server, but it was only PHP 5.3 CGI displayed in the Install Tool.
Then I adjusted my attitude at the server PHP5.3 CGI.
But it does´t change anything.

This installation is not on STRATO and not the same I ran into this issue before.


Maybe I have the solution:
After changing from "css_styled_content" to "css_styled_content_4.5" I received another more useful error message:

Your TYPO3 installation is configured to use an old version of ImageMagick, which is not supported anymore.
Please upgrade to ImageMagick version 6 or GraphicksMagick and set $TYPO3_CONF_VARS['GFX']['im_version_5'] appropriately.

With this information I went back to the install tool and changed the imageMagick version to a newer one and after that everything works also the testing.

Actions #17

Updated by Riccardo De Contardi over 8 years ago

so... you confirm me that the problems were caused by the configuration of ImageMagick (old/wrong version) and I can proceed with closing this?

Actions #18

Updated by Heike Herzog-Kuhnke over 8 years ago

give me about 2 - 4 hours.
I`ll test that with a copy of this installation. If I can reconstruct this, maybe we can close this.

Actions #19

Updated by Heike Herzog-Kuhnke over 8 years ago

OK I did run my test now.
Started Update from 4.5.17 to 4.5.40 - Typo3 Upgrade worked fine
Then Update from 4.5.40 to 6.2.15 - Starting install Tool an Wizard also worked fine

Without changing the imageMagick from 4.2.9 to 6 - Startin Test of image processing after all Wizard stuff
Running into the error described

Changing imageMagick to version 6 and the error is gone.

My propposal is to check the imageMagick-Version which is used by the upgrade wizard. If you use a not supported version in my opinion this will be the best place to find out an to fix the problem. The error message in the install tool won't help. Can you make this proposal for future releases?

Thank you
Heike

Actions #20

Updated by Riccardo De Contardi over 8 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Heike Herzog-Kuhnke)

Heike, I would like to thank you for the deep testing you have done, I close this.

I noticed that on the installation notes https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_6-2/INSTALL.md it is written that the minimum version of Graphicsmagick or Imagemagick supported is v6 or newer, so I think it is up to the sysadmin to check if everything on the installation environment is OK before performing an installation or an upgrade.

If you think that this check is important, you could open a new issue marking it as Tracker>"Feature"; Priority>"could have", and a relation to this ticket.

Thank you again for your patience

Actions

Also available in: Atom PDF