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

errors i have.

This is a discussion on errors i have. within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; sorry i'm such a pain with errors, i just thought i'll make this one in a new thread... i've installed ...

      
  1. #1
    New Member
    Join Date
    Apr 2006
    Posts
    9
    Rep Power
    0


    Default errors i have.

    sorry i'm such a pain with errors, i just thought i'll make this one in a new thread... i've installed the system to a Mysql 4 database. and the error i get is two of the item get displayed wherever the item gets displayed, does anyone know a solution or why it's doing this, or is it just me not doing something right.

    http://englandmerchandise.com/catalog/index.php


  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 RE: errors i have.

    This is caused because there is no PICTURE of that item.

    Edit the code in: /catalog/includes/boxes/whats_new.php

    Code:
        $boxContent = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $random_product['products_image'], $random_product['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '">' . $random_product['products_name'] . '</a><br>' . $whats_new_price;
    And change to:
    Code:
        $boxContent = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '">' . $random_product['products_name'] . '</a><br>' . $whats_new_price;
    or:
    Code:
        $boxContent = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $random_product['products_image'], $random_product['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br>' . $whats_new_price;

    Good Luck!

Similar Threads

  1. Asking for help due to errors after installation...
    By ltoscdox in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 11-17-2004, 10:53 PM
  2. Some questions (and errors)
    By danijel in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 12-16-2003, 11:23 AM
  3. errors
    By litotes in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-07-2003, 08:25 PM
  4. TWO errors on installation
    By bibleman in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 09-16-2003, 05:40 AM
  5. path errors
    By dogfood in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 05-07-2003, 02:43 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
  •