Guest Posted October 30, 2007 Posted October 30, 2007 Hi there When I go into admin and go through the steps to add new products, which I have been doing daily for the past 4 weeks (over 10,000 more to list!) it is now coming up with an error when I hit submit... I don't normally deal with any of the programming, etc of the website, I paid someone else to do it because it is really not anywhere even close to a field I am familiar with. The strange thing is that I got the error, and get it when i try to email a gift voucher out too, but they are still working... the product I was listing when i got the error is still now showing on my website so I guess it isn't an error that matters... or is it??? This is it copy/pasted... Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in /home/allcraft/public_html/admin/includes/functions/database.php on line 117 Warning: Cannot modify header information - headers already sent by (output started at /home/allcraft/public_html/admin/includes/functions/database.php:117) in /home/allcraft/public_html/admin/includes/functions/general.php on line 22 Any ideas on this one??? Cheers! Allcraftz
Guest Posted October 30, 2007 Posted October 30, 2007 Hi there When I go into admin and go through the steps to add new products, which I have been doing daily for the past 4 weeks (over 10,000 more to list!) it is now coming up with an error when I hit submit... I don't normally deal with any of the programming, etc of the website, I paid someone else to do it because it is really not anywhere even close to a field I am familiar with. The strange thing is that I got the error, and get it when i try to email a gift voucher out too, but they are still working... the product I was listing when i got the error is still now showing on my website so I guess it isn't an error that matters... or is it??? This is it copy/pasted... Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in /home/allcraft/public_html/admin/includes/functions/database.php on line 117 Warning: Cannot modify header information - headers already sent by (output started at /home/allcraft/public_html/admin/includes/functions/database.php:117) in /home/allcraft/public_html/admin/includes/functions/general.php on line 22 Any ideas on this one??? Cheers! Allcraftz Check with your web host.
Nullachtfuffzehn Posted October 30, 2007 Posted October 30, 2007 The mentioned function retrieves the current autoincrement value for that table. It also works without an argument, so you might check the places in the files where that function is called and remove the parameters from the function call. As far as I know it still works then.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.