- Posts: 26
COMMUNITY FORUM
No save or update item after 2.8 installation
- Diego Barcenilla García
-
Topic Author
- Offline
- Junior Member
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Any errors when you upload the zip file?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Any errors when you upload the zip file?
Please Log in or Create an account to join the conversation.
- Tyler
-
- Offline
- New Member
- Posts: 3
I would also like to chime in on this, as I seem to be getting the same issue. I updated Joomla to 3.7.5 back on July 31st, and K2 to 2.8 on August 21st.
As the OP mentioned, after any kind of save I receive a blank white screen. After turning on Debugging Information through Joomla's system information, I had received no information or errors. I've checked the console window and there is also no information or errors. However, when I looked at my log files, I noticed several errors about "File does not exist" with it being multiple different files; although I do not think it pertains to this problem.
I tried to reinstall K2 by the zip file from the main website, and the same error persisted.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Please Log in or Create an account to join the conversation.
- Tyler
-
- Offline
- New Member
- Posts: 3
[Tue Aug 29 05:15:01 2017] [error] [client xxx] File does not exist: sitehere.com/famvir.org
[Tue Aug 29 06:17:15 2017] [error] [client xxx] File does not exist: sitehere.com/long.Florid
[Tue Aug 29 06:17:45 2017] [error] [client xxx] File does not exist: sitehere.com/Scrub.Com
[Tue Aug 29 06:22:13 2017] [error] [client xxx] File does not exist: sitehere.com/Amilia.Seseka
[Tue Aug 29 06:42:59 2017] [error] [client xxx] File does not exist: sitehere.com/information.Clearl
[Tue Aug 29 06:43:36 2017] [error] [client xxx] File does not exist: sitehere.com/www.securityfocus.com
[Tue Aug 29 07:03:36 2017] [error] [client xxx] File does not exist: sitehere.com/MIA.The
As I've mentioned, I do not believe these logs pertain to K2.
Please Log in or Create an account to join the conversation.
- neppers
-
- Offline
- Junior Member
- Posts: 28
2017-08-30 10:38:24.338 [NOTICE] [xx.x.xxx.xx:63660:HTTP2-25] [STDERR] PHP Fatal error: Cannot redeclare class upload in /home/xxx/domains/xxxxxxxxx.xx/private_html/administrator/components/com_k2/lib/class.upload.php on line 624
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
@Tyler, @neppers, Disable all K2 related extension until you find which one is causing the issue. K2 Multi Images is known to cause a similar issue.
Please Log in or Create an account to join the conversation.
- neppers
-
- Offline
- Junior Member
- Posts: 28
:-)
Please Log in or Create an account to join the conversation.
- Diego Barcenilla García
-
Topic Author
- Offline
- Junior Member
- Posts: 26
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
You need to address this issue to the extension's developers
@Diego
Have any PHP Errors come up in your error_log?
Are you using extrafields?
Please Log in or Create an account to join the conversation.
- JED
-
- Offline
- New Member
- Posts: 4
I would like to chime in here as well. My problem is when I go to K2 on the front end or the back end i just get blank pages. I have tried reinstalling k2. My error logs shows nothing, at least that i can see. and I have no clue where to go from here. I just went in and disabled all the extra K2 stuff but still no joy. Is there a fix for this. My client has lots of K2 content that she wants back.
Any help is appreciated.
Thanks
dothiz
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Enable error reporting to see the actual error.
Please Log in or Create an account to join the conversation.
- JED
-
- Offline
- New Member
- Posts: 4
PHP Built On Linux host.shooinco.com 2.6.32-042stab113.21 #1 SMP Wed Mar 23 11:05:25 MSK 2016 i686
Database Version 5.1.73-cll
Database Collation latin1_swedish_ci
Database Connection Collation utf8_general_ci
PHP Version 5.6.30
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.7.5 Stable [ Amani ] 14-August-2017 12:09 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0
Thanks
Dothiz
Please Log in or Create an account to join the conversation.
- Diego Barcenilla García
-
Topic Author
- Offline
- Junior Member
- Posts: 26
I use extrafields but not usually. Why?
Please Log in or Create an account to join the conversation.
- Gary Hewitt
-
- Offline
- New Member
- Posts: 10
Fatal error: Cannot declare class upload, because the name is already in use in /var/www/vhosts/testsite.com/httpdocs/media/k2/assets/vendors/verot/class.upload.php/src/class.upload.php on line 36
On the class upload php on line 36 is
class upload {
This file was developed by a secondary person
/**
* Class upload
*
* @author Colin Verot <This email address is being protected from spambots. You need JavaScript enabled to view it.>
* @license opensource.org/licenses/gpl-license.php GNU Public License
* @copyright Colin Verot
*/
Is there something wrong with his code?
The only other thing I was running that had anything to do with k2 was Simple Gallery made by you guys. There is nothing else associated to k2. I turned it off, but still get the error.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
This class might be used by other K2 3rd party extensions.
This is the case with K2 Multi Images. This is also probably the cause here.
@Diego You haven't answered me about JS errors.
Please Log in or Create an account to join the conversation.
- Diego Barcenilla García
-
Topic Author
- Offline
- Junior Member
- Posts: 26
Please Log in or Create an account to join the conversation.
- WinSSLioN
-
- Offline
- New Member
- Posts: 1
<img src="/cache/sj_directory_free/ef9c8e6ee449710daae02ce5f894dab3" alt="Свято Першого дзвоника в Володимирецькому колегіумі (+фото)">
No extension to file.
/html/mod_k2_content/latest/default.php
Error code
<?php if($params->get('itemImage')): ?>
<a class="img moduleItemImage" href="<?php echo $item->link; ?>" title="<?php echo JText::_('K2_CONTINUE_READING'); ?> "<?php echo K2HelperUtilities::cleanHtml($item->title); ?>"">
<?php
$srcimage = '';
if(isset($item->image)){
$srcimage =$item->image;
$imagesrcmain = YTTemplateUtils::resize($srcimage, '570', '390', 'fill');
}
//Create placeholder items images
if (!empty( $srcimage)) {
$thumb_img = '<img src="'.$imagesrcmain.'" alt="'.$item->title.'" />';
} else if ($is_placehold) {
$thumb_img = yt_placehold($placehold_size['k2user'],$item->title,$item->title);
}
echo $thumb_img;
?>
Code without error
<?php if($params->get('itemImage')): ?>
<a class="img moduleItemImage" href="<?php echo $item->link; ?>" title="<?php echo JText::_('K2_CONTINUE_READING'); ?> "<?php echo K2HelperUtilities::cleanHtml($item->title); ?>"">
<?php
$srcimage = '';
if(isset($item->image)){
$srcimage =$item->image;
$imagesrcmain = YTTemplateUtils::resize($srcimage, '270', '180', 'fill');
}
//Create placeholder items images
if(isset($item->image)){
$src =$item->image; }
if (!empty( $src)) {
$thumb_img = '<img src="'.$src.'" alt="'.$item->title.'" />';
} else if ($is_placehold) {
$thumb_img = yt_placehold($placehold_size['k2user'],$item->title,$item->title);
}
echo $thumb_img;
?>
1 photo before updating
2 photo after updating
3 photo after edit file /html/mod_k2_content/latest/default.php
But the design of the module changed, although the images appeared.
How to fix?? Thank you
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
Create New Module - k2 content
Apply to menu items
Set module position
select category to display
Set images to show to show
save
my module shows the item images
Also, You may want to start a new thread as this one is about save and update
Please Log in or Create an account to join the conversation.