Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource


Guest

Recommended Posts

Posted

This is what my product.info php file says in includes/languages/english/product_info.php

 

 

<?php
/*
 $Id: product_info.php,v 1.15 2002/11/19 01:48:08 dgw_ Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2002 osCommerce

 Released under the GNU General Public License
*/

define('TEXT_PRODUCT_NOT_FOUND', 'Product not found!');
define('TEXT_CURRENT_REVIEWS', 'Current Reviews:');
define('TEXT_MORE_INFORMATION', 'For more information, please visit this products <a href="%s" target="_blank"><u>webpage</u></a>.');
define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.');
define('TEXT_DATE_AVAILABLE', '<font color="#ff0000">This product will be in stock on %s.</font>');
define('TEXT_ALSO_PURCHASED_PRODUCTS', 'Customers who bought this product also purchased');
define('TEXT_PRODUCT_OPTIONS', 'Available Options:');
define('TEXT_CLICK_TO_ENLARGE', 'Click to enlarge');

?>

 

 

 

 

although it does say

 

 

in catalog/osc/product_info.php

 

I took out

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO);

 

and replaced it with what you said

 

 

Now i have this.

 

http://www.supreme-webhosting.co.uk/catalo...products_id=102

Posted

Put back the language file require.

 

What is wrong with the page that you get? You have a custom template -- it's not clear to me what you want the page to look like.

Always back up before making changes.

Posted

Yeah i ahve custom template

 

For a start whne you click here

 

http://www.supreme-webhosting.co.uk/catalo...products_id=102

 

TEXT_DATE_ADDED Sunday 05 July, 2009

TEXT_MANUFACTURER

 

is under each item.

 

 

 

another problem is, if you click here - http://www.supreme-webhosting.co.uk/catalo...php?cPath=32_33

 

and click details, details about the product should appear liek they did before. now it just links to the new product page

 

an exmaple of what it should say is this picture f1ieya.jpg

 

 

That picture is a screenshot of me typing in product info in my admin control panel and clicking preview before i submit it

 

so it should appear when i click the details button (here http://www.supreme-webhosting.co.uk/catalog/osc/index.php) like i said above. it worked before but now it isn't :S

Posted

would it help if i posted my product info page.

 

Or you can have a look if i give you my server details?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...