Project

General

Profile

Actions

Bug #24262

closed

Class 't3lib_utility_PhpOptions' not found in class.t3lib_utility_mail.php on line 69

Added by Benno Kieselstein almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-12-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When I try to send mail, I get
»Fatal error: Class 't3lib_utility_PhpOptions' not found in /[...]/t3lib/utility/class.t3lib_utility_mail.php on line 69«
no matter whether I use EXT:powermail or the install tool, no matter whether "Test t3lib_htmlmail" is on or off.

I patched this by the following line of code in line 30:
require_once(PATH_t3lib . 'utility/class.t3lib_utility_phpoptions.php');

  1. DEBUG SYSTEM INFORMATION - START ###
    HTTP_HOST : cms-devel.rz.tu-harburg.de
    TYPO3_HOST_ONLY : cms-devel.rz.tu-harburg.de
    TYPO3_PORT :
    PATH_INFO :
    QUERY_STRING : TYPO3_INSTALL%5Btype%5D=phpinfo
    REQUEST_URI : /t3be/install/index.php?TYPO3_INSTALL%5Btype%5D=phpinfo
    HTTP_REFERER : https://cms-devel.rz.tu-harburg.de/t3be/install/index.php?TYPO3_INSTALL[type]=config
    TYPO3_REQUEST_HOST : https://cms-devel.rz.tu-harburg.de
    TYPO3_REQUEST_URL : https://cms-devel.rz.tu-harburg.de/t3be/install/index.php?TYPO3_INSTALL%5Btype%5D=phpinfo
    TYPO3_REQUEST_SCRIPT: https://cms-devel.rz.tu-harburg.de/t3be/install/index.php
    TYPO3_REQUEST_DIR : https://cms-devel.rz.tu-harburg.de/t3be/install/
    TYPO3_SITE_URL : https://cms-devel.rz.tu-harburg.de/
    TYPO3_SITE_SCRIPT : t3be/install/index.php?TYPO3_INSTALL%5Btype%5D=phpinfo
    TYPO3_SSL : 1
    TYPO3_REV_PROXY :
    SCRIPT_NAME : /t3be/install/index.php
    TYPO3_DOCUMENT_ROOT : /webserver/www/typo3/htdocs/tuhh
    SCRIPT_FILENAME : /webserver/www/typo3/htdocs/tuhh/t3be/install/index.php
    REMOTE_ADDR : 134.28.200.154
    REMOTE_HOST :
    HTTP_USER_AGENT : Mozilla/5.0 (Windows; U; Windows NT 6.0; de-DE) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4
    HTTP_ACCEPT_LANGUAGE: de-DE
    CONST: PHP_OS : Linux
    CONST: TYPO3_OS :
    CONST: PATH_thisScri: /webserver/www/typo3/htdocs/tuhh/t3be/install/index.php
    CONST: php_sapi_name: cgi
    OTHER: TYPO3_VERSION: 4.4.4
    OTHER: PHP_VERSION : 5.2.14
    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 : 443
    SERVER: SERVER_SOFTW: Apache/2.0.63
    SERVER: GATEWAY_INTE: CGI/1.1
    SERVER: SCRIPT_NAME : /t3be/install/index.php
    SERVER: PATH_TRANSLA:
    T3CV_GFX: image_proc: 1
    T3CV_GFX: gdlib : 1
    T3CV_GFX: gdlib_png : 1
    T3CV_GFX: im : 1
    T3CV_GFX: im_path : /usr/local/GraphicsMagick/bin/
    T3CV_GFX: im_path_lz: /usr/local/GraphicsMagick/bin/
    T3CV_GFX: im_version: gm
    T3CV_GFX: im_negate_: 0
    T3CV_GFX: im_imvMask: 0
    T3CV_GFX: im_combine: combine
  2. DEBUG SYSTEM INFORMATION - END ###
    (issue imported from #M16634)

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #23925: Mail not sent with SAFE_MODE enabledClosedChristian Kuhn2010-11-03

Actions
Actions #1

Updated by Christian Kuhn almost 14 years ago

Unable to reproduce.

Line 69 of t3lib/utility/class.t3lib_utility_mail.php currently does not contain a call to PhpOptions (neither in 4.4 nor trunk), seems you are working with a locally hacked core version.

Please check for that.

Actions #2

Updated by Christian Kuhn almost 14 years ago

Resolved, no change required, very likely not a core problem.

Please reopen if reproducible with unchanged core.

Actions #3

Updated by Benno Kieselstein almost 14 years ago

Is there any extension known to modify the source in that way? powermail?

Actions #4

Updated by Christian Kuhn almost 14 years ago

Line 69 in current trunk (rev. 9751) and in TYPO3 4.4 of t3lib/utility/class.t3lib_utility_mail.php:

$success = @mail($to, $subject, $messageBody, $additionalHeaders, $additionalParameters);

The class is marked as final and cannot be XCLASSED by an extension.

I'm sure you are running a changed core version, please check for that.

Actions #5

Updated by Benno Kieselstein almost 14 years ago

I believe my version of t3lib/utility/class.t3lib_utility_mail.php is not hacked.
The line you cite is number 78 for me.
So 9 lines above you should find:
»
if (t3lib_utility_PhpOptions::isSafeModeEnabled() && !empty($additionalParameters))
«
Here comes the header for the class:
»
/** * Class to handle mail specific functionality * * $Id: class.t3lib_utility_mail.php 6536 2009-11-25 14:07:18Z stucki $ * * * @author Tolleiv Nietsch <> * @package TYPO3 * @subpackage t3lib
*/
«
Hopefully this includes the revision number and helps to clarify.
Thanx for caring!

Actions #7

Updated by Benno Kieselstein almost 14 years ago

Now I see: the file has been patched with patch 15247.

Actions #8

Updated by Christian Kuhn almost 14 years ago

Great. So, I think this issue can be closed now.

Actions #9

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF