Keyword

Image upload error K2.7 and J3.5

More
7 years 8 months ago #157099 by Ignacio Gómez
Replied by Ignacio Gómez on topic Image upload error K2.7 and J3.5
The warning "The image was not uploaded. Please ensure that you used a valid image file and that file uploads are properly configured on your server." is shown. However the rest of data and parameters are well saved.

I have not found any error in the error_log.

Finally I am using a bunch of components: All Video Share, BreezingForms, JCE, Fabrik, Phoca Download, iCagenda, Localise, AcyMailing, OSMap Free, JMapMyLDAP.

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

More
7 years 8 months ago #157100 by Ignacio Gómez
Replied by Ignacio Gómez on topic Image upload error K2.7 and J3.5
By the way cannot either use the "Browse the server" functionality: same warning shown (The image was not uploaded. Please ensure that you used a valid image file and that file uploads are properly configured on your server.).

However I do not have any issue using joomla's media manager when uploading images or using them in other components.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 8 months ago #157120 by Krikor Boghossian
Replied by Krikor Boghossian on topic Image upload error K2.7 and J3.5
Since this is a different issue can we continue our discussion here?
www.joomlaworks.net/forum/k2-en/46400-error-k2-v2-71-frontend-after-update

Furthermore can you post your PHP version and try disabling all overrides?

Finally can you try using the DEV version? github.com/getk2/k2

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

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

More
7 years 8 months ago #157205 by Ignacio Gómez
Replied by Ignacio Gómez on topic Image upload error K2.7 and J3.5
Ok. Regarding the details of the php version you can find them 4 posts above on this thread. I'll try installing the DEV version of the item model. No overrides in my config, though. I'll report in www.joomlaworks.net/forum/k2-en/46400-error-k2-v2-71-frontend-after-update.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 8 months ago #157216 by Krikor Boghossian
Replied by Krikor Boghossian on topic Image upload error K2.7 and J3.5
Thank you Ignacio :)

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

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

More
7 years 4 months ago #159499 by Scott Oman
Replied by Scott Oman on topic Image upload error K2.7 and J3.5
Dear Joomlaworks Developers & Community,

I have had this problem for a while now but didn't get around to fixing it since it doesn't really cause any functionality problems for me. However, it is annoying and I'd like to remedy the issue if possible.

Unfortunately changing "===" to "==" in administrator/components/com_k2/models/item.php did not work for me.

I am using:
PHP 5.6.27
Joomla! 3.6.4 Stable
K2 2.7

I cannot upgrade to PHP 7.0.4. due to server restrictions.

Should I install the K2 dev version?

If so, will it override anything essential etc?

Thank you!

Kind regards,

Scott

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 4 months ago #159513 by Krikor Boghossian
Replied by Krikor Boghossian on topic Image upload error K2.7 and J3.5
Hello,

This fix is already present in K2''s latest stable version.

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

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

More
7 years 4 months ago - 7 years 4 months ago #159541 by Scott Oman
Replied by Scott Oman on topic Image upload error K2.7 and J3.5
Thanks, Krikor.

A strange thing happened.

I downloaded and installed K2 2.7.0 from here (www.joomlaworks.net/extensions/free/k2) and the problem went away.

However, then I received a message in the K2 backend that K2 2.7.1 was available, so I followed the link, downloaded and installed K2 2.7.1.

Now the problem has returned! What should I do?

Please advise.

Kind regards,
Scott

PS: This only seems to happen in frontend editing.
Last edit: 7 years 4 months ago by Scott Oman.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 4 months ago #159554 by Krikor Boghossian
Replied by Krikor Boghossian on topic Image upload error K2.7 and J3.5
You need to install the DEV version from github.com/getk2/k2

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

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

More
7 years 4 months ago #159594 by Scott Oman
Replied by Scott Oman on topic Image upload error K2.7 and J3.5
I installed K2-master (2.7.2) but the issue remains.

When I save in frontend editing I receive the following (even though I didn't upload anything and the k2 page looks normal):

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.

Please advise.

Thank you!

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


Powered by Kunena Forum