osCmax v2.5 User Manual
Results 1 to 5 of 5

Problems Uploading pics

This is a discussion on Problems Uploading pics within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Hello everybody..I am getting following error while trying to upload the images path of the products: Warning: move_uploaded_file(/home/public_html/images/thumbs/productimage.gif): failed to ...

      
  1. #1
    Active Member
    Join Date
    Nov 2003
    Posts
    120
    Rep Power
    0


    Default Problems Uploading pics

    Hello everybody..I am getting following error while trying to upload the images path of the products:

    Warning: move_uploaded_file(/home/public_html/images/thumbs/productimage.gif): failed to open stream: Permission denied in /home/public_html/admin/includes/classes/upload.php on line 94

    Warning: move_uploaded_file(): Unable to move '/tmp/phpjmJP7g' to '/home/public_html/images/thumbs/productimage.gif' in /home/public_html/admin/includes/classes/upload.php on line 94

    This is what line 94 of upload php reads :

    if (move_uploaded_file($this->file['tmp_name'], $this->destination . $this->filename)) {
    chmod($this->destination . $this->filename, $this->permissions);

    I will appreciate your help

    Christy

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default

    Check your CHMOD permissions on your /home/public_html/images/thumbs/ directory - it is not correct! Try CHMOD it 777 or 776.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    Active Member
    Join Date
    Nov 2003
    Posts
    120
    Rep Power
    0


    Default

    Ok...that worked great...I was able to upload the pics...but pics dont show up in the catalog.
    I have followed the directions by msasek to the letter.
    Does MOpics need to have more than 2 pics( small and big) to get activated?

    My problem is that I have only 2 pics ( small and big) for the most products but do have more than two for some.
    Thank you and I appreciate your time
    Christy

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    Christy, do you have a link to your store that I can take a look?
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Active Member
    Join Date
    Nov 2003
    Posts
    120
    Rep Power
    0


    Default

    Msasek.....i got it working. I was using caps in some of the files names. I guess one has to careful with filesname...they can cause lot of problems.
    It is working fine now.
    thank you

Similar Threads

  1. uploading file as an attribute, and more questions..
    By eternity575 in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 10-26-2005, 11:04 AM
  2. Problems Uploading Pictures..
    By miko in forum osCommerce 2.2 Modification Help
    Replies: 4
    Last Post: 11-01-2004, 02:37 PM
  3. Image Errors when uploading.
    By the_error_king in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 06-09-2004, 07:05 AM
  4. Trouble uploading anything inside OsCOnnerce
    By amrqt in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 03-31-2004, 12:48 AM
  5. uploading categories and products from ms1 to ms2-max 1.5
    By jloyzaga in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 09-14-2003, 07:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •