osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 05-04-2006, 02:55 PM
New Member
 
Join Date: Apr 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
inversechi
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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 05-07-2006, 12:51 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,788
Thanks: 5
Thanked 104 Times in 90 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Asking for help due to errors after installation... ltoscdox osCMax v1.7 Installation 2 11-17-2004 11:53 PM
Some questions (and errors) danijel osCommerce 2.2 Installation Help 0 12-16-2003 12:23 PM
errors litotes osCommerce 2.2 Modification Help 1 11-07-2003 09:25 PM
TWO errors on installation bibleman osCommerce 2.2 Installation Help 2 09-16-2003 06:40 AM
path errors dogfood osCommerce 2.2 Installation Help 0 05-07-2003 03:43 PM


All times are GMT -8. The time now is 01:10 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax