Keyword

No save or update item after 2.8 installation

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 7 months ago #163827 by Krikor Boghossian
Replied by Krikor Boghossian on topic No save or update item after 2.8 installation
@neppers
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?

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 7 months ago #163833 by JED
Hello,

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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 7 months ago #163838 by Krikor Boghossian
Replied by Krikor Boghossian on topic No save or update item after 2.8 installation
A white page indicates a server-side error.
Enable error reporting to see the actual error.

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 7 months ago #163841 by JED
I have enabled error reporting but I do not see any errors. Maybe I am not doing it right. I went to system / config and enabled error reporting to maximum. On that page, its just blank.

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
  • Diego Barcenilla García's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 7 months ago #163842 by Diego Barcenilla García
Replied by Diego Barcenilla García on topic No save or update item after 2.8 installation
No PHP error on log. Just password error...

I use extrafields but not usually. Why?

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

More
6 years 7 months ago #163847 by Gary Hewitt
Replied by Gary Hewitt on topic No save or update item after 2.8 installation
Have the same issue. PHP error

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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 7 months ago #163859 by Krikor Boghossian
Replied by Krikor Boghossian on topic No save or update item after 2.8 installation
This is a PHP class used for uploading images.
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.

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

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

  • Diego Barcenilla García
  • Diego Barcenilla García's Avatar Topic Author
  • Offline
  • Junior Member
More
6 years 7 months ago #163873 by Diego Barcenilla García
Replied by Diego Barcenilla García on topic No save or update item after 2.8 installation
Hi.

About JS errors: many violations like these...

imgur.com/1VGMvKP

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

More
6 years 7 months ago - 6 years 7 months ago #163874 by WinSSLioN
Replied by WinSSLioN on topic No save or update item after 2.8 installation
After upgrade to version K2_v2.8.0 in the module mod_k2_content images disappeared.
<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'); ?> &quot;<?php echo K2HelperUtilities::cleanHtml($item->title); ?>&quot;">
				  <?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'); ?> &quot;<?php echo K2HelperUtilities::cleanHtml($item->title); ?>&quot;">
				  <?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
Last edit: 6 years 7 months ago by WinSSLioN. Reason: screen

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

More
6 years 7 months ago - 6 years 7 months ago #163877 by william white
Replied by william white on topic No save or update item after 2.8 installation
I cannot reporduce image not showing.
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
Last edit: 6 years 7 months ago by william white.

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


Powered by Kunena Forum