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

Product add but no image showing and HTML path wrong

This is a discussion on Product add but no image showing and HTML path wrong within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I've looked and looked, but must just be missing this. I'm sure I've come across a post mentioning it before. ...

      
  1. #1
    New Member
    Join Date
    Dec 2002
    Posts
    22
    Rep Power
    0


    Default Product add but no image showing and HTML path wrong

    I've looked and looked, but must just be missing this. I'm sure I've come across a post mentioning it before.

    When I create a new category/product and upload an image no images show in the catalog side. When I view the properties of the image, the directory path is there, but there is no filename.

    example: properties of the picture show http://www.xyz.com/catalog/images/

    Why is there no filename at the end of the path?

    The image directory and all it's files have permissions set to 777 and I can view them if I type the entire path into the URL. Why don't the file names get referenced when I upload picture through admin?

  2. #2
    New Member
    Join Date
    Dec 2002
    Posts
    22
    Rep Power
    0


    Default URL to above


  3. #3
    Active Member
    Join Date
    May 2003
    Posts
    148
    Rep Power
    0


    Default

    check you "Chmod" permissions, looks like a permission prob

  4. #4
    Active Member
    Join Date
    May 2003
    Posts
    148
    Rep Power
    0


    Default

    haha opps you already know its a chmod prob....my bad

  5. #5
    osCMax Developer

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


    Default

    You cannot have the images already on the server when you add them in the admin. They cannot already be there. osCommerce must grab them from your computer and upload them through the admin.

    Also, you must have file uploads enabled in php.ini.

    Other than that, I cant think of anything that would cause this...
    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

  6. #6
    Lurker
    Join Date
    Jun 2003
    Posts
    3
    Rep Power
    0


    Default

    How do you enable file uploads? I'm very new to PHP and OSCommerce

  7. #7
    osCMax Developer

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


    Default

    in php.ini, find the line that says file_uploads and make sure it says Yes. You need server root access in order to do this.
    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

  8. #8
    Lurker
    Join Date
    Jun 2003
    Posts
    3
    Rep Power
    0


    Default

    I talked to my host and they said that file uploads are enabled in the php.ini file, so I guess I'm doing something wrong. Thanks, though!

  9. #9
    New Member
    Join Date
    Dec 2002
    Posts
    22
    Rep Power
    0


    Default

    I used the admin page to upload the files, and they were successfully uploaded. My store is running on a unix server and I don't have access to php.ini. However, it does allow my to upload files with oscommerce admin, because they are showing up. The only clue I have found is in the properties of the missing image. There is the correct path but no file name???? Have a look... http://www.acphonecenter.com/catalog/default.php

Similar Threads

  1. HTML Emails being sent as plain text or with source showing
    By malcol27 in forum osCMax v1.7 Installation
    Replies: 8
    Last Post: 04-25-2005, 10:31 PM
  2. Path to images wrong after install
    By cwinter in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 12-14-2004, 05:37 AM
  3. File path appears in the _big image pop up
    By KCount in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 09-02-2004, 09:53 PM
  4. Download button not showing - Expiry date WRONG!
    By In-Overtime in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 03-11-2004, 09:32 PM
  5. Image path, where to change?
    By misterjonl in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 10-08-2003, 07:23 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
  •