Keyword

[SOLVED] Problem when I try to upload a picture...

  • Guillaume Do Amaral
  • Guillaume Do Amaral's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago #115708 by Guillaume Do Amaral
[SOLVED] Problem when I try to upload a picture... was created by Guillaume Do Amaral
Hi

I'm new to Joomla but I l already love K2.

I'm trying to create some kind of portfolio but something is not working...

When I create an item to show ont the portfolio by using Components => K2 => Items, there are some pictures that I just can't use, with no apparent reason ! It's strange, some pictures work, some other just don't. I select the picture, I validate and then the site loads, loads, loads... to reach nothing, just a white empty page. I have to get back to the previous page, and the picture is not selected. The strangest part is that I'm not even trying tu uplaod some new pictures but just trying to use the one that are already on the server.

Another weird thing : some pictures that won't work with K2 can be used on the site by some other ways (exemple given : I could use them in any article by using JCE).

I don't even think that it's a matter of size, since I'm only using pictures under 150ko... More over, I can use one of the pictures that is 55ko but I can't use another one which is 40ko ! I've also tried to resize the picture that I want to use and make it very small just to be sure that it wasn't the problem, and it still doesn't work.

Is there a way to fix it ?

Thank you

PS : excuse me for my bad english...

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

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 2 months ago #115709 by Yiota
Check your site's memory limit through Site -> System Information -> PHP Information. You might have to increase it.
Also, have you tried uploading an image to see what happens?

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

  • Guillaume Do Amaral
  • Guillaume Do Amaral's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago #115710 by Guillaume Do Amaral
Replied by Guillaume Do Amaral on topic Re: Problem when I try to upload a picture...
I've already increased the memory limit. I can upload any picture as long as I'm not trying to use it with a K2 item, that's the strangest part ! I can use them with JCE if I want, I can even upload it by using the K2 media manager, but I can't use it with a K2 item !

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

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 2 months ago #115711 by Yiota
What Joomla! and K2 version do you use?

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

  • Guillaume Do Amaral
  • Guillaume Do Amaral's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago - 11 years 2 months ago #115712 by Guillaume Do Amaral
Replied by Guillaume Do Amaral on topic Re: Problem when I try to upload a picture...
Joomla 3 I think, and I'm using K2 as it came with this template : www.joomfreak.com/demo/jf_calla-exteriors/

I think my K2 version is the 2.6.6

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 2 months ago #115713 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Problem when I try to upload a picture...
Hello Guillaume Do Amaral,

Try upgrading to Joomla! 3.1.1 and K2 2.6.7

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

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

  • Guillaume Do Amaral
  • Guillaume Do Amaral's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago - 11 years 2 months ago #115714 by Guillaume Do Amaral
Replied by Guillaume Do Amaral on topic Re: Problem when I try to upload a picture...
Ok I've updated my K2, and joomla was already the last one.

Still not working, unfortunately.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 2 months ago #115715 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Problem when I try to upload a picture...
Ok lets try finding the issue.

Make sure your logs and tmp folders have the right path and are indeed writable.

Also I am assuming you are trying to use jpg or png images and not bmp or tiff images.

FInally locate in your /administrator folder a file called error_log and see if there are any errors recorded.

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

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

  • Guillaume Do Amaral
  • Guillaume Do Amaral's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago #115716 by Guillaume Do Amaral
Replied by Guillaume Do Amaral on topic Re: Problem when I try to upload a picture...
I've been looking for this file but I can't seem to find it... I've even used the windows searching function with *error* and still no "error_log" file...

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

  • Guillaume Do Amaral
  • Guillaume Do Amaral's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago - 11 years 2 months ago #115717 by Guillaume Do Amaral
Replied by Guillaume Do Amaral on topic Re: Problem when I try to upload a picture...
All I have found is a file walled apache_error.log, is that the good one ? Let me try to use K2 once more and see if something new appears on this file...

EDIT : ok done, it's still not working obviously, and here is what appeared in the apache_error.log :

[Tue Jul 23 11:49:40.031514 2013] [:error] [pid 1788:tid 1572] [client 127.0.0.1:62542] PHP Fatal error: Maximum execution time of 30 seconds exceeded in D:\wamp\www\administrator\components\com_k2\lib\class.upload.php on line 5006, referer: localhost/administrator/index.php?option...view=item&cid=33
[Tue Jul 23 11:49:40.031514 2013] [:error] [pid 1788:tid 1572] [client 127.0.0.1:62542] PHP Stack trace:, referer: localhost/administrator/index.php?option...view=item&cid=33
[Tue Jul 23 11:49:40.031514 2013] [:error] [pid 1788:tid 1572] [client 127.0.0.1:62542] PHP 1. {main}() D:\wamp\www\administrator\index.php:0, referer: localhost/administrator/index.php?option...view=item&cid=33
[Tue Jul 23 11:49:40.031514 2013] [:error] [pid 1788:tid 1572] [client 127.0.0.1:62542] PHP 2. JAdministrator->dispatch() D:\wamp\www\administrator\index.php:56, referer: localhost/administrator/index.php?option...view=item&cid=33
[Tue Jul 23 11:49:40.031514 2013] [:error] [pid 1788:tid 1572] [client 127.0.0.1:62542] PHP 3. JComponentHelper::renderComponent() D:\wamp\www\administrator\includes\application.php:166, referer: localhost/administrator/index.php?option...view=item&cid=33
[Tue Jul 23 11:49:40.031514 2013] [:error] [pid 1788:tid 1572] [client 127.0.0.1:62542] PHP 4. JComponentHelper::executeComponent() D:\wamp\www\libraries\legacy\component\helper.php:339, referer: localhost/administrator/index.php?option...view=item&cid=33
[Tue Jul 23 11:49:40.031514 2013] [:error] [pid 1788:tid 1572] [client 127.0.0.1:62542] PHP 5. require_once() D:\wamp\www\libraries\legacy\component\helper.php:359, referer: localhost/administrator/index.php?option...view=item&cid=33
[Tue Jul 23 11:49:40.031514 2013] [:error] [pid 1788:tid 1572] [client 127.0.0.1:62542] PHP 6. JControllerLegacy->execute() D:\wamp\www\administrator\components\com_k2\k2.php:135, referer: localhost/administrator/index.php?option...view=item&cid=33
[Tue Jul 23 11:49:40.031514 2013] [:error] [pid 1788:tid 1572] [client 127.0.0.1:62542] PHP 7. K2ControllerItem->apply() D:\wamp\www\libraries\legacy\controller\legacy.php:722, referer: localhost/administrator/index.php?option...view=item&cid=33
[Tue Jul 23 11:49:40.031514 2013] [:error] [pid 1788:tid 1572] [client 127.0.0.1:62542] PHP 8. K2ControllerItem->save() D:\wamp\www\administrator\components\com_k2\controllers\item.php:33, referer: localhost/administrator/index.php?option...view=item&cid=33
[Tue Jul 23 11:49:40.031514 2013] [:error] [pid 1788:tid 1572] [client 127.0.0.1:62542] PHP 9. K2ModelItem->save() D:\wamp\www\administrator\components\com_k2\controllers\item.php:28, referer: localhost/administrator/index.php?option...view=item&cid=33
[Tue Jul 23 11:49:40.031514 2013] [:error] [pid 1788:tid 1572] [client 127.0.0.1:62542] PHP 10. upload->process() D:\wamp\www\administrator\components\com_k2\models\item.php:325, referer: localhost/administrator/index.php?option...view=item&cid=33


Does this help ?

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


Powered by Kunena Forum