Results 1 to 8 of 8

add new product, no image displayed

This is a discussion on add new product, no image displayed within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Just downloaded and installed osCommerce on RH Linux 8 os last week. Found one problem: when adding new product, the ...

      
  1. #1
    Lurker
    Join Date
    Feb 2003
    Posts
    4
    Rep Power
    0


    Default add new product, no image displayed

    Just downloaded and installed osCommerce on RH Linux 8 os last week. Found one problem: when adding new product, the product image not displayed. have checked the postings and it seems a bug for this release, like to know if it has been fixed or is there a way to fix it? tried code posted in #664 and did not work.

    thanks!

  2. #2
    osCMax Developer

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


    Default

    Are you using osC 2.2 MS1?
    2.2 CVS?
    2.1?

    Have you set permissions on your images dir to 777?
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    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

  3. #3
    Lurker
    Join Date
    Feb 2003
    Posts
    4
    Rep Power
    0


    Default

    Hi, Thanks for the reply.

    I believe it is 2.2 CVS (the downloaded files: tep_snapshot_catalog-20030215.tar.gz, tep_snapshot_admin-20030215.tar.gz, and tep_snapshot_tep-docs-20030215.tar.gz).
    The /catalog/images folder's permission is set to 777.
    I have checked the product table and the product_image field value is "Array" instead of the "path/image_name".

    Thanks!

  4. #4
    osCMax Developer

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


    Default

    This is the array bug. See this link for the fix:

    http://guide.oscdox.com/osCommerce_A...ay_Bug_Fix.htm

    I have not seen this on the admin side. If this fix doesnt work, use phpmyadmin, and delete the word "array" from the database, then replace it with the correct filename.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    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
    Lurker
    Join Date
    Feb 2003
    Posts
    4
    Rep Power
    0


    Default

    Hi, msasek

    thanks for your reply. My situation is a little different. When I add a product, I had image and used the image browse button to locate the image in my computer, but still the image was not diplayed.

    when I check the property of the broken image, the path is correct (I mean the path did point to the folder where the image is located).

    BTW, osc version = 2.2 milestone, OS->RedHat Linux 8, Apache 2.xx, php 4.xx

    I am not sure whether this problem has anything to do with the way I installed osc:
    I first run install.php script and was not successful, then I manually created database and database tables, modify necessary php files, finally, I can get the osc running (navigating the store and admin functions), but adding new product with a broken image still troubles me.

    any help is greatly appreciated!

  6. #6
    Member
    Join Date
    Nov 2002
    Location
    Pennsylvania
    Posts
    93
    Rep Power
    0


    Default

    Is your image directory set to 777 and is the image there?
    There\'s something about fireman, day and night they are always fireman!

  7. #7
    osCMax Developer

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


    Default

    If the install script failed, I bet that the path info in your configure.php is not correct, or like Backdraft suggests, your permissions are not correct.

    You should have a red flag fly up as soon as the installer fails. Something in your configuration is not right.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    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
    Feb 2003
    Posts
    4
    Rep Power
    0


    Default

    I am sure that the image folder set to 777 and the image is there.
    The problem I have got with running the install.php script is:

    1. extracting the tar file, and move catalog to the www roor directory and move the admin directory under catalog directory
    2. set proper permissions based on the installation guide
    3. run install.php
    4. click the new install button
    5. input the information and click the continue button
    6. this is where the problem coming out:
    after filling in the info and click continue button, the next page will display something like those lines ->
    (1) step 1: new install
    (2) step 2: import database (nothing below this line)
    and the address bar shows: http://........... =step 2
    if at this stage, I manually create database and database tables and run the install.php again, after clicking the continue button the browser displays something like those lines ->
    (1) step 1: new install
    (2) step 3: configuration (nothing below this line)
    and the address bar shows: http://........... =step 4/5 (not 4 or 5)

Similar Threads

  1. Specific Product Image based on chosen product attributes?
    By chrisrex in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 11-22-2005, 09:41 AM
  2. Product Image via URL
    By mwdesigns in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 06-24-2005, 04:56 AM
  3. No Buy Now button image displayed
    By croxford in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 11-29-2004, 12:36 AM
  4. Product Image Placement
    By sradwick in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 01-27-2004, 07:17 PM
  5. Having 3 image sizes for a product
    By bradeng in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 03-11-2003, 11:22 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
  •