Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Manufacturers


jaynesgifts

Recommended Posts

Help!! I "thought" I was doing the right thing when I DUMPed Manufacturers. I am, obviously, a total novice- now this is what is displayed in my store:

 

>>

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/jaynesgi/public_html/ecommerce/os/catalog/includes/functions/database.php on line 46

 

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/jaynesgi/public_html/ecommerce/os/catalog/includes/functions/database.php on line 39

 

 

 

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/jaynesgi/public_html/ecommerce/os/catalog/includes/functions/database.php on line 46

<<

 

I do not want any mention of "Manufacturers" on the page! How do I get rid of all this?

Link to comment
Share on other sites

1) Restore manufacturers tables or entire database...you did backup your database didn't you?

 

2) It's that or go through all files and remove every reference to manufacturer calls to the database.

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

yikes...

 

To get rid of manufactures go into your

Includes folders open Column_left.php file and comment out the manufactures code. around line 19

 

/*

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_manufacturers_box();

} else {

include(DIR_WS_BOXES . 'manufacturers.php');

}

*/

Link to comment
Share on other sites

That only removes the manf box from the column......she is going to have MAJOR problems on any other page that uses the Manf info table(s)....unless she restores the tables or db itself. You just can't go in and DUMP part pf the db indescriminatelty and expect it to continue to work.

 

Here....I don't need this fuel injector....rrrrriiiipppp!

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

Thank you!! I do believe I've done it!! With all your help of course. (I was even able to take care of a few other things that I had questions about.) Manufacturers is gone!! However, the following warning remains:

 

>>

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/jaynesgi/public_html/ecommerce/os/catalog/includes/functions/database.php on line 46

<<

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...