- Posts: 60
COMMUNITY FORUM
Error K2 v2.71 - Frontend after update
- carlostegs
-
Topic Author
- Offline
- Senior Member
- 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
Please Log in or Create an account to join the conversation.
- Sean Carney
-
- Offline
- Premium Member
- Posts: 111
Sean
Please Log in or Create an account to join the conversation.
- Ilkka Rytkönen
-
- Offline
- New Member
- Posts: 3
www.ilkansivu.net/
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
By default K2 will not set nor remove any menu items.
Please Log in or Create an account to join the conversation.
- Ilkka Rytkönen
-
- Offline
- New Member
- Posts: 3
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
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.
- Sean Carney
-
- Offline
- Premium Member
- Posts: 111
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
-
- Offline
- Platinum Member
- Posts: 15920
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.
- Thomas Hultgren
-
- Offline
- Junior Member
- Posts: 22
Regards Thomas
Please Log in or Create an account to join the conversation.
- Elisabetta
-
- Offline
- New Member
- Posts: 13
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.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
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.
Please Log in or Create an account to join the conversation.
- Ignacio Gómez
-
- Offline
- New Member
- Posts: 10
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
-
- Offline
- Platinum Member
- Posts: 15920
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.
- Ignacio Gómez
-
- Offline
- New Member
- Posts: 10
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
-
- Offline
- Platinum Member
- Posts: 15920
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.
- Ignacio Gómez
-
- Offline
- New Member
- Posts: 10
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
-
- Offline
- Platinum Member
- Posts: 15920
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.
- Sean Carney
-
- Offline
- Premium Member
- Posts: 111
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
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
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.
- Boštjan Gorenšek
-
- Offline
- New Member
- Posts: 1
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.