Bug #24937
closed
Text with Image not working through the entire installation
Added by William Searle almost 14 years ago.
Updated over 13 years ago.
Description
The following error is logged when the page is accessed:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Reason: File "bgDIVIDER.gif" was not found (1)! | RuntimeException thrown in file /var/www/mysite/data/www/typo3_src-4.5.0/typo3/sysext/cms/tslib/class.tslib_fe.php in line 1572
I have tried making a Text element, this works, after making it a Text and Images, it breaks.
(issue imported from #M17456)
This sounds very strange. The error message is being thrown by the "page not found" handler, which means that somehow a URL is being created which is not really reacheable by TYPO3 (and no file by that name was generated).
Maybe you could try to find the "img src=" tags in your source code and test the URLs of the images directly?
Could you provide us with some more information about your setup?
Are you using some kind of alternative content rendering, or just "pure" css_styled_content?
An output of your "Template Analyser" might also help.
Thanks for your report!
I found also this message with different images but also the favicon, the faicon is not an image within the application:
Have a look:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Reason: File "favicon.ico" was not found (2)! | RuntimeException thrown in file /html/typo3/typo3_src-4.5.0/typo3/sysext/cms/tslib/class.tslib_fe.php in line 1572
I have this favicon.ico error too.
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Reason: File "favicon.ico" was not found (2)! | RuntimeException thrown in file /typo3_src/typo3_src-4.5.0/typo3/sysext/cms/tslib/class.tslib_fe.php in line 1572
Also
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Reason: File "robots.txt" was not found (2)! | RuntimeException thrown in file /typo3_src/typo3_src-4.5.0/typo3/sysext/cms/tslib/class.tslib_fe.php in line 1572
I hope I found it!?
Since I set the "[pageNotFound_handling]" in the install tool under "all configurations" to an acceptable and existing error-page, e.g. http://www.kupix.de/error404.html, the error message in the log disappeared.
Kurt Kunig wrote:
Since I set the "[pageNotFound_handling]" in the install tool under "all configurations" to an acceptable and existing error-page, e.g. http://www.kupix.de/error404.html, the error message in the log disappeared.
Thanx a lot! I had the same message concerning favicon.ico as described by jacco and kurt over and over again. Indeed it helps to simply set the parameter for pageNotFound_handling as described.
Also modifying the RealUrl Rewrite Rules seems to be a plausible way to aoid the error, even though I tripped over this "possible solution" after fixing the problem, but maybe it helps if someone cant fix it with the described solution: simply add |favicon\.ico to the rule in order to stop processing the rewrite condition for favicon.ico:
RewriteRule ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/ - [L]
- Status changed from Needs Feedback to Closed
- Target version deleted (
0)
- TYPO3 Version set to 4.4
No todo left here, closing the issue for the sake of a clean bugtracker.
Also available in: Atom
PDF