Keyword

After update to 2.10.1 the pics in the K2 module are blown with the wind

  • Litho-Verlag e.K.
  • Litho-Verlag e.K.'s Avatar Topic Author
  • Offline
  • Senior Member
More
4 years 4 months ago #173823 by Litho-Verlag e.K.
Hi
I made the update. but than only in the K2 Module the pic are disapeared and I see a broken link and the headline tag.

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #173824 by JoomlaWorks
URL to your site?

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Litho-Verlag e.K.
  • Litho-Verlag e.K.'s Avatar Topic Author
  • Offline
  • Senior Member
More
4 years 4 months ago #173842 by Litho-Verlag e.K.
www.german-snooker-tour.de

please notice, that the first module works fine. The second modul among them doN#t shows the pics.
regards
litho

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #173849 by luken
Hi. I write here because my problem could be related, and can help to resolve both cases.
In my case, I have no image in K2 item, but the module k2_content show a broken image, with alt.
Before the update, that didn't happen.
I have an override of the file default.php of the module (from before update), so the problem is not there.

site: artevial.com.ar/

Thank you

Please Log in or Create an account to join the conversation.

  • Litho-Verlag e.K.
  • Litho-Verlag e.K.'s Avatar Topic Author
  • Offline
  • Senior Member
More
4 years 4 months ago #173855 by Litho-Verlag e.K.
hi Luken,
thank for your help, but I don't have an override, either before nor after the update.
But two things:
I restored an backup to the version 2.10.0, and there existed the problem that the pics were not visible. after updating to 2.10.1 the broken image wit alt text appears.
So Ill install the 2.9.0 version to see if this will solve my problem.
It is striking that I still have the problem with the second modul. On my startpage are the K2 modul 2 times installed. The first one work normal with the updates. The scond makes trouble.
I'll keep you informaed after installation of 2.9
regards
Litho

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago - 4 years 4 months ago #173857 by luken
Hi.
I think the problem is when the K2 item does not have an image.
That is why some modules work well and others do not.
Last edit: 4 years 4 months ago by luken.

Please Log in or Create an account to join the conversation.

  • Litho-Verlag e.K.
  • Litho-Verlag e.K.'s Avatar Topic Author
  • Offline
  • Senior Member
More
4 years 4 months ago #173862 by Litho-Verlag e.K.
ok I've made some tests.
The frist k2 content Module works normal. The second k2 content modul on the same page shows the broken link ant the alt text od the headline, if the K2 item has no picture.
If the K2 item has an picture it works, until the next item comes without an pics.
So I returned to K2 2.9 and wait until I get better news.
Regards
Litho

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #173882 by JoomlaWorks
Your overrides require some updating. Wherever you have "isset($item->image)" change it to "!empty($item->image)".

This should work and I'll make sure to add an extra check for it in the next update so it's not required in the future.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #173884 by JoomlaWorks
Alternatively, install 2.10.2 (dev) from github.com/getk2/k2/archive/master.zip as I've added a stricter check the module's code so you don't have to update your module template overrides.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #173914 by luken

Fotis wrote: Your overrides require some updating. Wherever you have "isset($item->image)" change it to "!empty($item->image)".

This should work and I'll make sure to add an extra check for it in the next update so it's not required in the future.


That worked for me.
Thank you.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum