Project

General

Profile

Actions

Bug #17028

closed

Install Tool always logs mit out

Added by Franz Holzinger almost 18 years ago. Updated almost 18 years ago.

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

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

After successfull login with the changed install tool password, the install tool always logs me out again as soon as I click on another tab.
The warning message is shown:

Make sure to protect the Install Tool with another password than 'joh316'.

Then I have to relogin. I cannot continue. The whole site and all files have been copied from a site working very well under TYPO3 3.8 and 4.0. It is a fresh copy.

(issue imported from #M5054)


Files

typo3-17.png (187 KB) typo3-17.png Administrator Admin, 2007-02-23 09:21
Actions #1

Updated by Franz Holzinger almost 18 years ago

Here is the whole error message. I have also added a line return "0" at the beginning of the function isPNG(), but this does not help.

----------------------------------------
Make sure to protect the Install Tool with another password than "joh316".
Better yet you can add a die() function call to typo3/install/index.php after usage.

IF THE INSTALL TOOL CRASHES...
The Install Tool is checking PHPs support for image formats. However certain versions of PHP (fx. 4.3.0 with bundled GD) will crash when trying to read the PNG test file. If this happens you will see a blank screen or error message.
Workaround: Open the file typo3/sysext/install/mod/class.tx_install.php, go to the line where the function "isPNG()" is defined and make it return "0" hardcoded. PNG is not checked anymore and the rest of the Install Tool will work as expected. The same has been known with the other image formats as well. You can use a similar method to bypass the testing if that is also a problem.
On behalf of PHP we regret this inconvenience.

BTW: This Install Tool will only work if cookies are accepted by your web browser. If this dialog pops up over and over again you didn\'t enable cookies.

Actions #2

Updated by Franz Holzinger almost 18 years ago

The cookies could not be set due to a partly code listing of typo3conf/localconf.php in the top of the install tool output.

  1. INSTALL SCRIPT EDIT POINT TOKEN - all lines after this points may be changed by the install script!

?>TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["im_combine_filename"] = 'combine'; // Modified or inserted by TYPO3 Install Tool.

After deleting this line it went fine. I do not know how this line has come here. The same strange thing has happened sometimes in the past, that '?>' PHP line ends have been found inside of PHP files where they should not be.

You can close this bug now.

Actions #3

Updated by Martin Kutschker almost 18 years ago

Closed on request.

Actions

Also available in: Atom PDF