Keyword

Image upload error K2.7 and J3.5

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 6 months ago #161791 by Krikor Boghossian
Replied by Krikor Boghossian on topic Image upload error K2.7 and J3.5
@Chris take a look at this www.joomlaworks.net/forum/k2-en/47685-k2-image-upload-hide-k2_image_was_not_uploaded-notice#161508

@Mailson and @John are you talking about the frontend or the backend?

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 6 months ago #161795 by Chris
Replied by Chris on topic Image upload error K2.7 and J3.5
@ Krikor
Yes!! I've added the two lines of code and it worked!!
Thanks a lot!!

@Mailson and @John try this
administrator/components/com_k2/models/item.php line 276
if (!empty($image)){ //added check if $image is empty

and line 440
}// end check if $image is empty

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 6 months ago #161865 by Krikor Boghossian
Replied by Krikor Boghossian on topic Image upload error K2.7 and J3.5
Nice to hear this :)

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 6 months ago #161875 by John
Replied by John on topic Image upload error K2.7 and J3.5
the problem is at backend.

Tried above mentioned changes in administrator/components/com_k2/models/item.php line 276. But Image is not uploaded, only the error message disappeared.

the problem is with php7, I can upload image if I change to php5.6 from cpanel. I am getting too many error message from other extension if I use php5.6. so every time to upload image to k2 I have to change php version .

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 6 months ago #161909 by Krikor Boghossian
Replied by Krikor Boghossian on topic Image upload error K2.7 and J3.5
Can you upload images through the media tab?
2.8.0 will be released within the next days as well.

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 6 months ago #161915 by John
Replied by John on topic Image upload error K2.7 and J3.5
not working through media tab, I can wait for 2.8.0 . thanks

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 6 months ago #161939 by Krikor Boghossian
Replied by Krikor Boghossian on topic Image upload error K2.7 and J3.5
Ifyou have a DEV environment you can try it out.

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 5 months ago #162260 by Javier Romero
Replied by Javier Romero on topic Image upload error K2.7 and J3.5

Mailson Anselmo wrote: I have the same problem.


The image does not appear and displays the message "
Image not uploaded. Please make sure that you have used a valid image file and that the file upload is configured accordingly on your server".

I use J 3.7, PHP 5.4.16 and K2 2.7.1

Information system
Web server Apache / 2.4.6 (Red Hat Enterprise Linux) OpenSSL / 1.0.1e-fips PHP / 5.4.16
PHP version 5.4.16
MySQL version 5.5.52-MariaDB
GD Picture Library Disabled
Multibyte string support Able
Upload limit 100M
Memory limit 256M
Open remote files (allow url fopen) Yes

Need HELP.


After update to J 3.7.2 and K2 2.7.1 we have the same problem

We update to k2 2.8.0 and not working in php 5.6 o php 7.0

We just install php-gd and it works in all versions

K2 2.7.1 + Php 5.6 OK
K2 2.7.1 + Php 7.0 OK
K2 2.8.0 + Php 5.6 OK
K2 2.8.0 + Php 7.0 OK

Try to install php5-gd or php7.0-gd, it works for us

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

More
7 years 5 months ago #162265 by John
Replied by John on topic Image upload error K2.7 and J3.5
Thanks Javier Romero,

Its working.. problem fixed , thanks again

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 5 months ago #162272 by Krikor Boghossian
Replied by Krikor Boghossian on topic Image upload error K2.7 and J3.5
@Javier, was GD not installed in the first place, or was it outdated?

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