Keyword

Item Image not uploading K2

  • Gustavo Simões Braga
  • Gustavo Simões Braga's Avatar Topic Author
  • Offline
  • New Member
More
8 years 8 months ago #146049 by Gustavo Simões Braga
Item Image not uploading K2 was created by Gustavo Simões Braga
Hi guys,

When I try to upload an item image on K2, or even select one from the server, the item saves normally, no error message, but the image simply doesn't appear. Can you please help me solve this issue?

Maybe if there is a way to make the Item Image be automatically the first image from the Simple Image Gallery, then uploading wouldn't be necessary?

Media Manager and Simple Image Gallery are working normally. FTP is enabled on the Joomla configuration. Joomla version is 3.4.1 and K2 2.6.9. I tried reinstalling K2 and checking the memory limit and it didn't fix.

Thank you,
Gustavo Braga

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 #146052 by Krikor Boghossian
Replied by Krikor Boghossian on topic Item Image not uploading K2
Have you checked your category's settings?
Can you see the image in the backend?

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

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

  • Gustavo Simões Braga
  • Gustavo Simões Braga's Avatar Topic Author
  • Offline
  • New Member
More
8 years 8 months ago #146056 by Gustavo Simões Braga
Replied by Gustavo Simões Braga on topic Item Image not uploading K2
Hi Krikor. No, no item image in the backend, except for the image gallery.

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 #146077 by Krikor Boghossian
Replied by Krikor Boghossian on topic Item Image not uploading K2
Can you change other aspects of the item like text or extra fields?
Which PHP version are you using?

Did this appear out of the blue or was this issue from the start?

Furthermore have you checked your error_log?

(Sorry about the interogation)

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

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

  • Gustavo Simões Braga
  • Gustavo Simões Braga's Avatar Topic Author
  • Offline
  • New Member
More
8 years 8 months ago - 8 years 8 months ago #146120 by Gustavo Simões Braga
Replied by Gustavo Simões Braga on topic Item Image not uploading K2
Krikor, the problem started when I changed the hosting company. I had many problems, but by enabling FTP most of them were solved. The only things that are not working yet are image uploads on K2 and updating Joomla. Current PHP version: 5.3.10-1ubuntu3.19

This is my error_log, I believe it has nothing to do with the problem.

[09-Sep-2014 22:29:38 America/Chicago] PHP Warning: require_once(/home/ibsistem/public_html/site2/includes/application.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/ibsistem/public_html/site2/components/com_xmap/helpers/xmap.php on line 12
[09-Sep-2014 22:29:38 America/Chicago] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/ibsistem/public_html/site2/includes/application.php' (include_path='.:/opt/php53/lib/php') in /home/ibsistem/public_html/site2/components/com_xmap/helpers/xmap.php on line 12

I suspect it's a permission problem in the /cache folder. But the permission is already 755. And the user is superuser.

What could be causing the problem in /cache?
Last edit: 8 years 8 months ago by Gustavo Simões Braga. Reason: updating error_log

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

More
8 years 8 months ago #146157 by Lefteris
Replied by Lefteris on topic Item Image not uploading K2
@Gustavo Simões Braga

Since the problem started when you changed hosting this is probably a server setup issue. Is the cache folder marked as writable in the system information page?

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

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

  • Gustavo Simões Braga
  • Gustavo Simões Braga's Avatar Topic Author
  • Offline
  • New Member
More
8 years 8 months ago #146197 by Gustavo Simões Braga
Replied by Gustavo Simões Braga on topic Item Image not uploading K2
Hi,

Yes, it is marked as writable. It's weird because uploading with media manager works, but not with K2.

Any other idea or alternative ways?

Thank you

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

More
8 years 8 months ago #146205 by Lefteris
Replied by Lefteris on topic Item Image not uploading K2
Can you notice any of the requirements failing in the K2 information page? To fix the permissions issue you can simply ask your hosting provider to:

1. Set up PHP as CGI/Fast CGI not as an Apache module ( if you are using Apache ) .
2. Set all the site folders permissions to 755.
3. Set all the site files permissions to 644.

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

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

  • Gustavo Simões Braga
  • Gustavo Simões Braga's Avatar Topic Author
  • Offline
  • New Member
More
8 years 8 months ago #146211 by Gustavo Simões Braga
Replied by Gustavo Simões Braga on topic Item Image not uploading K2
Lefteris, that's it. I haven't checked the information page. The /media/k2 page was not writable.

I changed from 755 to 777. I know it's not recommended, but at least that solved the problem.

Thank you!!

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

More
8 years 8 months ago #146222 by Lefteris
Replied by Lefteris on topic Item Image not uploading K2
You are welcome.

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

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


Powered by Kunena Forum