Keyword

Image upload not saved and giving notice in k2 2.7.1

  • Coder777
  • Coder777's Avatar Topic Author
  • Offline
  • New Member
More
7 years 2 months ago #162716 by Coder777
While uplaoding image on k2 item from admin UI, after clicking save, the following message is seen.

Notice

The image was not uploaded. Please ensure that you used a valid image file and that file uploads are properly configured on your server.

Issue is with k2 2.7.1 joomla 3.6.5 and php 7
same issue is not present with k2 2.7.1 joomla 3.6.5 and php 5.6

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 2 months ago #162727 by Krikor Boghossian
Replied by Krikor Boghossian on topic Image upload not saved and giving notice in k2 2.7.1
Is the GD library properly installed in your server?
Can you upload images from the media manager?

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

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

  • Coder777
  • Coder777's Avatar Topic Author
  • Offline
  • New Member
More
7 years 2 months ago #162786 by Coder777
No cannot upload images from both
I wonder how the same works for php 5.6 which is the only difference

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 2 months ago #162803 by Krikor Boghossian
Replied by Krikor Boghossian on topic Image upload not saved and giving notice in k2 2.7.1
I might have mislead, I meant both media managers, K2 and the default one.

This might be related to the GD, a PHP misconfiguration or a multitude of reasons. If the default media manager fails, then you might need to stick with 5.6 (with this host).

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

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

  • Coder777
  • Coder777's Avatar Topic Author
  • Offline
  • New Member
More
7 years 2 months ago #162825 by Coder777
Thank you for the info. reinstalling GD for php 7 fixed the issue

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 2 months ago #162837 by Krikor Boghossian
Replied by Krikor Boghossian on topic Image upload not saved and giving notice in k2 2.7.1
You 're welcome :)

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

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


Powered by Kunena Forum