Image Upload Error

  • Posts: 5
  • Thank you received: 0
13 years 2 months ago #6849

Hi, I am on version 1.4.4 of hikashop, using mozilla firefox and running joomla 1.5.21

I cannot upload images when I browse for them from my hard drive in category or products of hikashop, it comes up with the error message as follows:

* Warning: Failed to change file permissions!
* Could not upload the file /tmp/phpk2E86J to /web1/user30728/website/media/com_hikashop/upload/accessories.jpg

I have had a look in the FTP folder as mentioned in the error message and the image is actually there, so it uploads in the directory, but does not appear and displays this error. Can anyone help me please?

Thanks

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

  • Posts: 81590
  • Thank you received: 13079
  • MODERATOR
13 years 2 months ago #6851

Hi,

The problem is not the copy of the file itself but the modification of its permissions. Could you try to change the permissions of the folder media/com_hikashop/upload to 777 and try again ?
Here is a tutorial on changing permissions:
www.phpjunkyard.com/tutorials/ftp-chmod-tutorial.php

If that doesn't work, then, you can try to activate the FTP layer of joomla:
help.joomla.org/content/view/1941/302/1/2/

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

  • Posts: 5
  • Thank you received: 0
13 years 2 months ago #6853

Thanks so much for getting back to me so quick - but have tried both and no luck.

Ive also changed media settings from 'restrict uploads' from yes to no. Still not working. :(

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

  • Posts: 81590
  • Thank you received: 13079
  • MODERATOR
13 years 2 months ago #6854

Are you able to upload files via the media manager of joomla ?

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

  • Posts: 5
  • Thank you received: 0
13 years 2 months ago #6855

Ive just uploaded an image in media manager, and it comes up with a similar error message:

* Warning: Failed to change file permissions! * Error. Unable to upload file.

Although I can see the image and it did upload. Strange!

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

  • Posts: 81590
  • Thank you received: 13079
  • MODERATOR
13 years 2 months ago #6857

So the problem is not in hikashop but in the way your server's access rights are configured.

Usually, using the FTP layer of joomla solves the problems. Are you sure that you configured it properly ?
Are you sure that the permissions of the folder media/com_hikashop/upload are now 777 ?

Otherwise, the only thing left is to ask your hosting company since they are the ones who configured your server's access rights...

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

  • Posts: 5
  • Thank you received: 0
13 years 2 months ago #6859

Ok, will try all that. Thanks! :)

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

Time to create page: 0.067 seconds
Powered by Kunena Forum