Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Who's Online error


Guest

Recommended Posts

Posted

When I click on the Who's Online it works fine unless someone is actually logged in to their account at the time.

 

This is the error message:

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/username/public_html/catalog/admin/includes/functions/database.php on line 45

0 -

 

select p.products_id, pd.products_name, p.products_model, p.products_price, p.products_weight, p.products_tax_class_id from products p, products_description pd where p.products_id='85' and pd.products_id = p.products_id and pd.language_id = '1'

 

[TEP STOP]

 

All else for this function still seems to work fine eg: it's showing url, who it is that's logged in.

 

Anyone with any ideas?

Posted

what contribution have you added which had you change code in this area? double check what you have done, to make sure something was not overlooked

Posted
what contribution have you added which had you change code in this area? double check what you have done, to make sure something was not overlooked

In the Database.php file nothing. I think the error may be coming from admin/catagories.php. But that almost does not make sense because I would have thought it should be just basically coming from the main catalog files.

 

As as addons/contributions, heaps.

Archived

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

×
×
  • Create New...