Keyword

Error K2 v2.71 - Frontend after update

  • carlostegs
  • carlostegs's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 8 months ago - 8 years 8 months ago #156839 by carlostegs
Error K2 v2.71 - Frontend after update was created by carlostegs
Request a help as after upgrading to version v2.71 k2 with Joomla 3.62 now has an error. Correct permissions for Joomla! sites are 755 for folders and 644 for files.

- 1: ERROR with the user interface to post a Frontend article to save gives the following error message:
"The image was not loaded. Please make sure that you used a valid image file and upload the file is configured according to your server"

Only in Frontend appears this error, apostagem was text only, not selected any image, even so, still looks the above error message.
Selecting the item that was saved when entering the back-end, the text is usually there, but this error appears in the frontend to the user that posting article.

Can someone help me
I look
thank you so much
Success
Last edit: 8 years 8 months ago by carlostegs.

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

More
8 years 8 months ago #156842 by Sean Carney
Replied by Sean Carney on topic HELP K2 v2.71 - 2 ERROR AFTER UPDATE
I had a different problem but maybe this is a good place to post them. I installed K2 2.7.1 and found that a bunch of my Joomla menu items disappeared. I then recovered my site and tried again. Each time installing K2 version 2.7.1 wiped out a bunch of my Menu items. So, I will wait until a further update and then try again. I am running Joomla 3.6.1

Sean

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

More
8 years 8 months ago #156874 by Ilkka Rytkönen
Replied by Ilkka Rytkönen on topic Error K2 v2.71 - Frontend after update
I have the same issue. 2.7.1 update will delete many menu item both in the backend and also in the frontend. Also some K2 items are missing after update.
www.ilkansivu.net/

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 8 months ago #157025 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error K2 v2.71 - Frontend after update
@Sean and @Ilkka are you using any 3rd party K2 plugins?
By default K2 will not set nor remove any menu items.

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

More
8 years 8 months ago #157033 by Ilkka Rytkönen
Replied by Ilkka Rytkönen on topic Error K2 v2.71 - Frontend after update
I'm using Styleware Performance Booster for K2. Maybe other that I can't remember now. I'll check.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 8 months ago #157048 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error K2 v2.71 - Frontend after update
Deactivate all K2 related extensions and try again.
Then enable them one by one to see which one is causing this issue.

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

More
8 years 8 months ago #157095 by Sean Carney
Replied by Sean Carney on topic Error K2 v2.71 - Frontend after update
Thank you for the response. I have not done as you suggested yet. However, I am a bit hesitant. I think the only K2 extension that I have is one called K2 Links for JCE

I really depend on that extension every day so if I have to choose between upgrading K2 or giving up that extension I think I will just have to not upgrade. What I use it for is to be able to hyperlink to my K2 items from within the JCE editor.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 8 months ago #157108 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error K2 v2.71 - Frontend after update
This won't affect the form.
Can you do the following?

a) Disable all overrides
b) Let me know on your server setup, PHP version etc..

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

More
8 years 8 months ago #157158 by Thomas Hultgren
Replied by Thomas Hultgren on topic Error K2 v2.71 - Frontend after update
I have the same problem "OBS The image was not uploaded. Please ensure that you used a valid image file and that file uploads are properly configured on your server." I'm using php version 5.6 and no K2 realated extensions.
Regards Thomas

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

More
8 years 8 months ago - 8 years 8 months ago #157159 by Elisabetta
Replied by Elisabetta on topic Error K2 v2.71 - Frontend after update
Hi, I've the same frontend issue.
Disable all overrides had no effect for me.
My PHP version is 5.5.5.
Thanks for help, so far it has been very helpful to solve minor inconvenience as result of the upgrade to version 2.7.1.
Last edit: 8 years 8 months ago by Elisabetta.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 8 months ago - 8 years 8 months ago #157183 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error K2 v2.71 - Frontend after update
We are using an upload class which detects the MIME type of the file and reads the first bytes of that image.

The upload will fail if:
a) the MIME types are not properly configured in your server
b) the actual image has been corrupted.

In the DEV - github.com/getk2/k2 - version the class has been updated but no drastic changed have been applied so that functionality will be altered.

Can you try the following?
a) Use the DEV version
b) Use a different image, eg: a png or an existing image and/or
c) C/p our conversation to your hosting provider.
d) And of course let me know how it went.
Last edit: 8 years 8 months ago by Krikor Boghossian.

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

More
8 years 8 months ago #157233 by Ignacio Gómez
Replied by Ignacio Gómez on topic Error K2 v2.71 - Frontend after update
Hi Kriker. This comes from www.joomlaworks.net/forum/k2-en/45116-solved-image-upload-error-k2-7-and-j3-5/reply/157120#157205.

I have the image issue in backend (have not checked whether the issue replicates in frontend). Browse server functionality does not work either.

* Config: Joomla 3.6.2 / PhP 5.6.22 / K2 2.7.1
* No overrides
* No K2 extensions
* Checked MIME types server config (ok)
* Used DEV version
* Tried uploading several types of images: jpg, png, gif. It fails uploading any of them.

Unfortunately the issue is still there...

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 8 months ago #157237 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error K2 v2.71 - Frontend after update
Are you on Apache/ Nginx?
Do you know your server's OS?

I 'll also report it on Github so we can get feedback there as well.

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

More
8 years 8 months ago #157423 by Ignacio Gómez
Replied by Ignacio Gómez on topic Error K2 v2.71 - Frontend after update
Sorry for the late reply: Apache 2.4.6 running on RHEL. 7.2.

Incidentally (I guess) I have recently performed a migration from an nginx server. Unfortunately, at this point I am not sure whether the problems started with the migration or after updating to the k2 2.7 version...

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 8 months ago #157427 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error K2 v2.71 - Frontend after update
To be honest I've tried multiple versions of PHP and multiple combinations.

They all seem to work as intended (thankfully but bummer).
Does the backend and the media manager work properly?

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

More
8 years 8 months ago #157450 by Ignacio Gómez
Replied by Ignacio Gómez on topic Error K2 v2.71 - Frontend after update
Yes. Everything but this :-( seems to be ok... Thank you so much for taking care of this, anyway.

Today I'll talk on the phone with our hosting provider. I'll ask them again to get PHP updated to v7. It seems that having PHP updated to v7 has been a work-around for everyone with this issue.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 8 months ago #157459 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error K2 v2.71 - Frontend after update
PHP 7 is an improvement in terms of speed as well.
Take a snapshot of your site before updating.

Furthermore in case you are using AllVideos, the DEV 4.8.0 version resolves issues with PHP7 compatiblity.
github.com/joomlaworks/allvideos

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

More
8 years 7 months ago - 8 years 7 months ago #158128 by Sean Carney
Replied by Sean Carney on topic Error K2 v2.71 - Frontend after update
I am coming back to my issue of not being able to upgrade my site to K2 2.7.1 without wiping out some of my menu items. I do have installed a JCE editor Add On called "K2 Links for JCE Link"

I think that is a tool developed by you all. I have on my system a version that is:
K2 Links for JCE Link Links 2.2 31 January 2013
This is ahead of the version number which I can download from the Getk2.org web site.
The version available there is: Extension Version: 2.0.1

I am thinking that there was some other problem on my site previously and that one you you might have provided me the updated version to fix that. I am assuming that possibly that might be the cause of my problem. Mostly I am putting this here to document my issue before I play with it again.

I am having the problems at www.allmedphysicians.com/

Sean
Last edit: 8 years 7 months ago by Sean Carney.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 7 months ago #158204 by Krikor Boghossian
Replied by Krikor Boghossian on topic Error K2 v2.71 - Frontend after update
The easiest way would be to perform a semi-manual update.

a) Backup your site and db using Akeeba Backup
b) Backup the menu table. ##__menu.
c) After the update replace the current menu table (which is missing entries) with the old menu table which is complete.

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

More
8 years 7 months ago #158237 by Boštjan Gorenšek
Replied by Boštjan Gorenšek on topic Error K2 v2.71 - Frontend after update
We're having the same issue since trying to set up a frontend login & entry system for an existing site.

If you use the frontend form, AND YOU HAVE FRONTEND IMAGES DISABLED (in K2 parameters -> Frontend Editing -> Image tab on edit form OFF), you get the message after saving on top:
The image was not uploaded. Please ensure that you used a valid image file and that file uploads are properly configured on your server.

It's probably some sort of false positive check, since the image can't be "invalid" if it's never picked, nor is the code to offer the choice never generated.

When we turn on the ability to select an image on Frontend, we don't get the message, but we don't want to allow the option in our current case.

The site is running Joomla 3.6.2, K2 2.7.1. Backend works fine - images and all. It's just the frontend (if set as we have) that's the issue.

We've tried with PHP 5.6 and PHP7 - both give us the error. We've tried with and without our modifications to the template.

We're running with no additional K2 mods installed.

Krikor, in case you'd want to investigate I cannot give you credentials to the live site since it's a client's site, but if you want I can clone the site to another location (but the same server) and wipe all the data relating to our customer - just keep the skeleton, current state and dummy text...

(On another note: K2 2.7.1 doesn't like Ark Editor as the frontend editor for the Extra Fields - the main window works fine but the Extra Fields give you some... editor look I've never seen before, and when you try to save it behaves as if there's nothing written, as if it's empty - just a heads up)

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


Powered by Kunena Forum