- Posts: 11
 
COMMUNITY FORUM
No image upload
- Bernd
 - 
				
Topic Author
 - Offline
 - New Member
 
Please Log in or Create an account to join the conversation.
- piperchick
 - 
				
 - Offline
 - Premium Member
 
- Posts: 133
 
What happens when you try to upload?
Please Log in or Create an account to join the conversation.
- Bernd
 - 
				
Topic Author
 - Offline
 - New Member
 
- Posts: 11
 
Please Log in or Create an account to join the conversation.
- Bernd
 - 
				
Topic Author
 - Offline
 - New Member
 
- Posts: 11
 
Please Log in or Create an account to join the conversation.
- Ala Makota
 - 
				
 - Offline
 - New Member
 
- Posts: 6
 
what is a "www-run problem"? Can you share with the others how did you solve this issue?
Bernd said:Problem is solved. It was a www-run problem.
Please Log in or Create an account to join the conversation.
- Bernd
 - 
				
Topic Author
 - Offline
 - New Member
 
- Posts: 11
 
Please Log in or Create an account to join the conversation.
- Ala Makota
 - 
				
 - Offline
 - New Member
 
- Posts: 6
 
Bernd said:wwwrun is a preference/user problem on a host. Check your files on your server.
Please Log in or Create an account to join the conversation.
- Bernd
 - 
				
Topic Author
 - Offline
 - New Member
 
- Posts: 11
 
Ala Makota said:Do you mean wrong chmod on image folder? Still I can't figure it out...
Bernd said:wwwrun is a preference/user problem on a host. Check your files on your server.
Please Log in or Create an account to join the conversation.
- Adrian Aguilera
 - 
				
 - Offline
 - New Member
 
- Posts: 2
 
I tried 777, 755, 775 chmod... nothing.
Bernd said:Yes and check the files. The files must be your FTP user not wwwrun or nobody.
Ala Makota said:Do you mean wrong chmod on image folder? Still I can't figure it out... Bernd said:wwwrun is a preference/user problem on a host. Check your files on your server.
Please Log in or Create an account to join the conversation.
- Lefteris
 - 
				
 - Offline
 - Platinum Member
 
- Posts: 8743
 
Bernd said:Yes and check the files. The files must be your FTP user not wwwrun or nobody.
Ala Makota said:Do you mean wrong chmod on image folder? Still I can't figure it out... Bernd said:wwwrun is a preference/user problem on a host. Check your files on your server.
Please Log in or Create an account to join the conversation.
- Bernd
 - 
				
Topic Author
 - Offline
 - New Member
 
- Posts: 11
 
Pierre Cornelissen said:Where does K2 save the Category and Item Image Files?
Bernd said:Yes and check the files. The files must be your FTP user not wwwrun or nobody. Ala Makota said:Do you mean wrong chmod on image folder? Still I can't figure it out... Bernd said:wwwrun is a preference/user problem on a host. Check your files on your server.
Please Log in or Create an account to join the conversation.
- Lefteris
 - 
				
 - Offline
 - Platinum Member
 
- Posts: 8743
 
Please Log in or Create an account to join the conversation.
- Gijs Scholman
 - 
				
 - Offline
 - New Member
 
- Posts: 1
 
Please Log in or Create an account to join the conversation.
- Gideon Larionov
 - 
				
 - Offline
 - New Member
 
- Posts: 3
 
Also using the latest K2 v2.4.1 and Joomla 1.5.20.
Please Log in or Create an account to join the conversation.
- Nick Texidor
 - 
				
 - Visitor
 
The quick fix is to edit /administrator/components/com_k2/lib/class.upload.php. Go to the init() function, and change the following variables from true to false:
$this->mime_fileinfo = false; // MIME detection with Fileinfo PECL extension
$this->mime_file = false; // MIME detection with UNIX file() command
$this->mime_magic = false; // MIME detection with mime_magic (mime_content_type())
You are 'SUPPOSED' to be able to override these settings in the calling script, however, because of a fundamental flaw in the design, it doesn't actually work :^)
I have documented the flaw in another post, but the above should at least get you working!
Please Log in or Create an account to join the conversation.
- Gideon Larionov
 - 
				
 - Offline
 - New Member
 
- Posts: 3
 
Let`s try it out :-)
Please Log in or Create an account to join the conversation.
- Nick Texidor
 - 
				
 - Visitor
 
Gideon Larionov said:
Nick Texidor said:For those people having problems with the uploading of files, and have already ruled out a problem with permissions, I have a solution....
Let`s try it out :-)
Please Log in or Create an account to join the conversation.
- Gideon Larionov
 - 
				
 - Offline
 - New Member
 
- Posts: 3
 
Nick Texidor said:So, did it work? :^)
Please Log in or Create an account to join the conversation.
- Lefteris
 - 
				
 - Offline
 - Platinum Member
 
- Posts: 8743
 
Please Log in or Create an account to join the conversation.
- Nick Texidor
 - 
				
 - Visitor
 
Pierre Cornelissen said:Since as an admin I upload the images to the folder via cPanel, but have not tried this one; what will happen if an upgrade from K2 arrives - will they have fixed this problem in the meantime?
Please Log in or Create an account to join the conversation.