WP e-Commerce Error help! (3 posts)

  1. allformyboys
    Posted 9 years ago #

    I have installed this plug-in but when I try and upload an image to use for a category I am getting this error:

    Warning: move_uploaded_file(/home/thecushi/public_html/shoptct/wp-content/plugins/wp-shopping-cart/category_images/adpack.jpg): failed to open stream: Permission denied in /home/thecushi/public_html/shoptct/wp-content/plugins/wp-shopping-cart/image_processing.php on line 69

    Warning: move_uploaded_file(): Unable to move '/var/tmp/phpLoCFcf' to '/home/thecushi/public_html/shoptct/wp-content/plugins/wp-shopping-cart/category_images/adpack.jpg' in /home/thecushi/public_html/shoptct/wp-content/plugins/wp-shopping-cart/image_processing.php on line 69

    And I have no clue what is wrong! line 69 is this:

    move_uploaded_file($_FILES['image']['tmp_name'], ($imagedir.$_FILES['image']['name']));

    Any ideas?

  2. Christopher J. Hradil
    Posted 9 years ago #

    you need to make sure the webserver has 'write' access to the folder/directory you're trying to upload images to.

  3. Dan Milward
    Posted 9 years ago #

    I think we added a fix to the latest version - if you don't have the correct permissions set... it'll tell you rather then spitting out that error message :)

    >> download latest version

Topic Closed

This topic has been closed to new replies.

About this Topic