Keyword

Image upload error K2.7 and J3.5

More
6 years 11 months ago - 6 years 11 months ago #161655 by Chris Vrakotas
Replied by Chris Vrakotas on topic Image upload error K2.7 and J3.5
Hi I get the same message, but the item is saved, also the image.

I checked and in .../item.php lines 276 - 286 I see the following
if (($files == 0 || $existingImage) && !JRequest::getBool('del_image'))
{

if ($files == 0)
{
$image = $files;
}
else
{
$image = JPATH_SITE.DS.JPath::clean($existingImage);
}

There is no "===" to change.

I'm using K2 2.7.1, Joomla 3.6.5, PHP 5.5.38.

Any ideas?
Last edit: 6 years 11 months ago by Chris Vrakotas.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 10 months ago #161700 by Krikor Boghossian
Replied by Krikor Boghossian on topic Image upload error K2.7 and J3.5
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
6 years 10 months ago #161720 by Chris
Replied by Chris on topic Image upload error K2.7 and J3.5
The frontend

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 10 months ago #161727 by Krikor Boghossian
Replied by Krikor Boghossian on topic Image upload error K2.7 and J3.5
If you use the default template, is the issue still present?

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

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

More
6 years 10 months ago #161729 by Chris
Replied by Chris on topic Image upload error K2.7 and J3.5
Yes, I get the same error message

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

More
6 years 10 months ago #161737 by Chris
Replied by Chris on topic Image upload error K2.7 and J3.5
I've found out this:
When I set Image tab -->on from K2/frontend ediding the error message dissapears. When I set it off, the error is back again.
Any suggestions?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 10 months ago #161748 by Krikor Boghossian
Replied by Krikor Boghossian on topic Image upload error K2.7 and J3.5
If you set the image to off then the field should not appear at all.
Is the field still present?

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

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

More
6 years 10 months ago #161750 by Chris
Replied by Chris on topic Image upload error K2.7 and J3.5
If I set image -->off, the tab (in the frontend) is not present.
Then I get the error message.

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

More
6 years 10 months ago #161766 by John
Replied by John on topic Image upload error K2.7 and J3.5
Hi, Same problem after updating php56 to 7 , joomla 3.7 and K2 2.7.1

cant upload image, getting error message " The image was not uploaded. Please ensure that you used a valid image file and that file uploads are properly configured on your server."

when I change to php56 from whm>Software »MultiPHP Manager , the upload works, but at heavy traffic time website unavailable.

pls need help
thanks

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

More
6 years 10 months ago #161773 by Mailson Anselmo
Replied by Mailson Anselmo on topic Image upload error K2.7 and J3.5
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.

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


Powered by Kunena Forum