DawnG Posted June 23, 2008 Share Posted June 23, 2008 When I go to duplicate a catalogue product I get the following error message: Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/******/public_html/shop/admin/includes/functions/database.php on line 450 - select products_quantity, products_model, products_image, products_price, products_date_available, products_weight, products_tax_class_id, manufacturers_id [TEP STOP] Could someone point me in the right direction please. Any help certainly appreciated. Link to comment Share on other sites More sharing options...
spooks Posted June 23, 2008 Share Posted June 23, 2008 Need more info Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
DawnG Posted June 23, 2008 Author Share Posted June 23, 2008 What info do you need? Link to comment Share on other sites More sharing options...
spooks Posted June 23, 2008 Share Posted June 23, 2008 What info do you need? Code from the page producing the error as a minimum, details of any changes, mods, software/server versions need I go on? Just think, If I was trying to fix this, what would I need to know. Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
DawnG Posted June 24, 2008 Author Share Posted June 24, 2008 Usually I can pretty much fix these things myself, so I'm sorry if I've offended you by putting a minimum amount of information I just don't ask that often is all, I don't know what you would need to fix it which is why I asked. Added the RSS 2.0 feed contrib shortly before I discovered that the error was being caused - posted this question in the support thread for the contrib but had no response. Server details are: Apache version 1.3.39 (Unix) PHP version 4.4.7 MySQL version 4.1.22-standard Architecture i686 Operating system Linux Page that causes the error is: http://xxxx.co.uk/shop/admin/categories.ph...rm&cPath=61 Full error message is: Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/paganmag/public_html/shop/admin/includes/functions/database.php on line 450 - select products_quantity, products_model, products_image, products_price, products_date_available, products_weight, products_tax_class_id, manufacturers_id [TEP STOP] Line 45 in admin/includes/function/database.php is : $result = mysql_query($query, $$link) or tep_db_error($query, mysql_errno(), mysql_error()); Please let me know if you need further information, thanks Dawn Link to comment Share on other sites More sharing options...
DawnG Posted June 25, 2008 Author Share Posted June 25, 2008 Fixed Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.