- Posts: 15920
COMMUNITY FORUM
K2 2.8 Fatal Error
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
7 years 3 months ago #163459
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 2.8 Fatal Error
These are coming from a 3rd party K2 extension.
Try disabling this extension (mefgfork2) as well.
Try disabling this extension (mefgfork2) 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.
- Eddie May
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
7 years 3 months ago #163463
by Eddie May
Replied by Eddie May on topic K2 2.8 Fatal Error
Hi,
Disabled mefgfork2 - error msgs disappeared when editing a category.
However, still can't edit a K2 item:
Fatal error: Cannot declare class upload, because the name is already in use in /home/.../public_html/administrator/components/com_k2/lib/class.upload.php on line 624
Cheers,
Disabled mefgfork2 - error msgs disappeared when editing a category.
However, still can't edit a K2 item:
Fatal error: Cannot declare class upload, because the name is already in use in /home/.../public_html/administrator/components/com_k2/lib/class.upload.php on line 624
Cheers,
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
7 years 3 months ago #163464
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic K2 2.8 Fatal Error
As the original error indicates, there is already another instance of class.upload.php being loaded first, causing issues in K2. As for the warnings you get, just switch error reporting to none or default in Global Configuration.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Eddie May
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
7 years 3 months ago #163472
by Eddie May
Replied by Eddie May on topic K2 2.8 Fatal Error
Hi,
There is another instance of class.upload.php in /media/k2/assets/vendors/verot/class.upload.php/src/
Removing the directory leads to another fatal error - missing the verot version of class.upload.php
This issue has only arisen since updating K2 to 2.8. The verot class was updated as part of the k2 2.8 upgrade.
Kind regards,
There is another instance of class.upload.php in /media/k2/assets/vendors/verot/class.upload.php/src/
Removing the directory leads to another fatal error - missing the verot version of class.upload.php
This issue has only arisen since updating K2 to 2.8. The verot class was updated as part of the k2 2.8 upgrade.
Kind regards,
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 3 months ago #163501
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 2.8 Fatal Error
As you can see -> github.com/getk2/k2/tree/master/components/com_k2 the /lib/ folder is not present in the 2.8.x version.
Try renaming that folder and see if the error is gone. Better yet clear all caches and reinstall 2.8 before performing any tasks.
Try renaming that folder and see if the error is gone. Better yet clear all caches and reinstall 2.8 before performing any tasks.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Eddie May
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
7 years 3 months ago #163512
by Eddie May
Replied by Eddie May on topic K2 2.8 Fatal Error
Hi,
Thanks for following up on this.
I'm wondering if my upgrade went bad or something, since I still had these files in my structure, despite upgrading from the Joomla Extensions/manage/Update route.
I've now downloaded the 2.8 zip & installed that over K2 using Extensions/manage/Install route.
K2 now says it's running 2.8 -> (Last update: August 18th, 2017 - Version 2.8.0)
However, I'm still getting fatal errors on save:
Warning: require_once(/home/.../public_html/administrator/components/com_k2/lib/class.upload.php): failed to open stream: No such file or directory in /home/..../public_html/plugins/system/k2multiimages/K2MultiImages/administrator/models/itemmultiimages.php on line 5
Fatal error: require_once(): Failed opening required '/home/.../public_html/administrator/components/com_k2/lib/class.upload.php' (include_path='.:/usr/local/php70/pear') in /home/.../public_html/plugins/system/k2multiimages/K2MultiImages/administrator/models/itemmultiimages.php on line 5
However, disabling the k2multiimages plugin allows me to save items. Perhaps this extension needs updating to account for the removal of class.upload.php from the lib folder?
Thanks again for your assistance - much appreciated.
Regards,
Eddie
Thanks for following up on this.
I'm wondering if my upgrade went bad or something, since I still had these files in my structure, despite upgrading from the Joomla Extensions/manage/Update route.
I've now downloaded the 2.8 zip & installed that over K2 using Extensions/manage/Install route.
K2 now says it's running 2.8 -> (Last update: August 18th, 2017 - Version 2.8.0)
However, I'm still getting fatal errors on save:
Warning: require_once(/home/.../public_html/administrator/components/com_k2/lib/class.upload.php): failed to open stream: No such file or directory in /home/..../public_html/plugins/system/k2multiimages/K2MultiImages/administrator/models/itemmultiimages.php on line 5
Fatal error: require_once(): Failed opening required '/home/.../public_html/administrator/components/com_k2/lib/class.upload.php' (include_path='.:/usr/local/php70/pear') in /home/.../public_html/plugins/system/k2multiimages/K2MultiImages/administrator/models/itemmultiimages.php on line 5
However, disabling the k2multiimages plugin allows me to save items. Perhaps this extension needs updating to account for the removal of class.upload.php from the lib folder?
Thanks again for your assistance - much appreciated.
Regards,
Eddie
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 3 months ago #163513
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 2.8 Fatal Error
Yes, the culprit was found :)
Report this issue to the K2 Multi Image devs so they can provide a solution and a possible update.
Report this issue to the K2 Multi Image devs so they can provide a solution and a possible update.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.