Bug #17028
closedInstall Tool always logs mit out
0%
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
Updated by Franz Holzinger over 17 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.
Updated by Franz Holzinger over 17 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.
- 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.