Project

General

Profile

Actions

Bug #57585

closed

Wrong Picture in FE

Added by Rene Zwinge over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2014-04-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hello Guys,
this is my first error reporting, so excuse me for mistakes and missing informations ;)

Problem:
I create a picture content element. I select a picture logo_b.png and save it. Preview and thumbnail images are correct in the BE.
In the same directory with logo_b.png is a image with the name logo_a.png.
But then i clear the cache and reload the FE. After that i see logo_a.png in the FE.
I checked and cleared the sys_file_* tables etc. But nothing was helping me.

The Typo3 6.2 is a fresh installation. The tests in the installation tool are all green.

It is similar to the Bug #45168.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #45168: Wrong image displayed in FE if not resizedClosedAndreas Wolf2013-02-05

Actions
Actions #1

Updated by Rene Zwinge over 10 years ago

Rene Zwinge wrote:

Hello Guys,
this is my first error reporting, so excuse me for mistakes and missing informations ;)

Problem:
I create a picture content element. I select a picture logo_b.png and save it. Preview and thumbnail images are correct in the BE.
In the same directory with logo_b.png is a image with the name logo_a.png.
But then i clear the cache and reload the FE. After that i see logo_a.png in the FE.
I checked and cleared the sys_file_* tables etc. But nothing was helping me.

The Typo3 6.2 is a fresh installation. The tests in the installation tool are all green.

It is similar to the Bug #45168.

PS: Both images are in the path fileadmin/img

Actions #2

Updated by Rene Zwinge over 10 years ago

I've done a complete new installation with same TS configuration and now it still works...

Actions #3

Updated by Markus Klein over 10 years ago

  • Status changed from New to Needs Feedback

So this can be closed?

Actions #4

Updated by Rene Zwinge over 10 years ago

I think so.
Actually it is all right.

Actions #5

Updated by Markus Klein over 10 years ago

  • Status changed from Needs Feedback to Closed
Actions #6

Updated by Kai Kretschmann over 10 years ago

I'm getting the same error. A fresh installation of LTS 6.2.0 without an example content.
The first image I tried to insert via Backend displays some random image from the fileadmin folder. An added second image displays another random one. When I define a width/height to resize to everything works.
Doesn't seem solved to me.

Actions #7

Updated by Markus Klein over 10 years ago

  • Status changed from Closed to New
Actions #8

Updated by Michal Erdody over 10 years ago

Hi.
I have the same problem as described above - wrong image displaying in FE.
Typo3 6.2.0 and also in 6.2.1.
In BE Install i have no errors - everything green.
Thnx.

Actions #9

Updated by Markus Klein over 10 years ago

@Michal Krypczyk: Please describe you situation more precisely.
How many images are that folder?
Do they have a similar name?
How did you upload the images?

Actions #10

Updated by Michal Erdody over 10 years ago

@Markus:
I tried many clean installations of 6.2.0, and its everytime the same - on webhosting and also on local web server.
All images (6 files) are stored inside filedmin/user_upload folder.
I uploaded them via content element (Add image popup window, also via Select&upload button and also directly in Filelist section).
Images doesnt have similar names.
When i installed introduction package or fluid page template i get image from this package if not (in case of clean templavoila installation) i get error like: No file with this ID.
Another interesting thing is I get everytime the same wrong image in FE after creating more image content elements. If i inserted more images inside one element i get the same wrong image and also another different wrong image.
Can this have something to do with cache PHP modul, or file permissions? All previous Typo3 versions are without problems on our webhosting.
Thnx.

Actions #11

Updated by Markus Klein over 10 years ago

Which PHP version are you using; which PHP opcode cache?

Actions #12

Updated by Frans Saris over 10 years ago

@Michal Krypczyk, the previews in be are correct?

What typo3 static templates are you using and could you try to enable [FE][activateContentAdapter] see #54979.

Gr. Frans

Actions #13

Updated by Michal Erdody over 10 years ago

@Markus:
PHP Version 5.4.27
A PHP opcode cache is loaded
Name: XCache Version: 3.1.0
XCache Version 3.1.0
Modules Built: cacher
Opcode Cache: enabled, 4,294,967,296 bytes, 8 split(s), with 8192 slots each

another thing:
PHP suhosin extension not loaded

hope this helps...

@Frans
The previews in BE are displaying correctly.
After i enabled activateContentAdapter it is working.

Actions #14

Updated by Markus Klein over 10 years ago

@Michael: Thanks for the information.

The question of Frans is still open:

What typo3 static templates are you using and could you try to enable [FE][activateContentAdapter] see #54979.

This is actually a very good hint. Using old TypoScript (possibly from some static template) without having the content adapter enabled will probably cause some behavior like described here.

Actions #15

Updated by Michal Erdody over 10 years ago

@Markus:
Sorry,
Include Static Templates After Basis Templates: Not enabled
Static templates from extensions:
CSS Styled Content TYPO3 v6.1 (css_styled_content)
and some our extensions plus default TS form

Actions #16

Updated by Markus Klein over 10 years ago

Can you try to use the "CSS Styled Content TYPO3 (css_styled_content)" template please and see if that works?

I'm fairly sure this solves your problem, since the old static templates are meant to be used with the "content adapter" enabled.
On new 6.2 installations the adapter is disabled by default. See also
https://github.com/TYPO3/TYPO3.CMS/blob/master/NEWS.md#frontend

Actions #17

Updated by Michal Erdody over 10 years ago

@Markus: You are right, I changed css_styled_content_6.1 to css_styled_content and now it is working correctly.
I disabled also the [FE][activateContentAdapter].
Thank you for your time!

Actions #18

Updated by Markus Klein over 10 years ago

  • Status changed from New to Needs Feedback

You're welcome, but we have to thank Frans since he dropped the hint for searching in the right direction.

All other reporters: Please check if this is also the problem/solution for you.

Actions #19

Updated by Sejal no-lastname-given over 10 years ago

Markus Klein wrote:

You're welcome, but we have to thank Frans since he dropped the hint for searching in the right direction.

All other reporters: Please check if this is also the problem/solution for you.

@Markus: This is still not working for me.
I have upgraded the version from typo 3 6.1.7 to 6.2.0.
I have already set css_styled_content in static template and disable [FE][activateContentAdapter] but its not working. It always show wrong error while selecting quality and type to "None". If I update that record with "Default" quality and type then it is shown correctly.

Do you have any solution for this problem?

Actions #20

Updated by Frans Saris over 10 years ago

Hi Sejal,

Please update to 6.2.2

Actions #21

Updated by Sejal no-lastname-given over 10 years ago

Frans Saris wrote:

Hi Sejal,

Please update to 6.2.2

Hi Frans,

Thanks a lot for your help.
Its working now.

I appreciate your quick help.
Thanks again :)

Actions #22

Updated by Frans Saris over 10 years ago

  • Status changed from Needs Feedback to Resolved
Actions #23

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF