kiwidesign Posted May 30, 2006 Posted May 30, 2006 Hi all, Just wondering if anyone knows of any alternate contributions other than QTPro. Whilst it seems just what i need (ability to choose size of product) it has an error that i can't sort out Warning: Invalid argument supplied for foreach() in C:\path to website\catalog\includes\classes\pad_base.php on line 388 Cheers Kiwidesign
♥Vger Posted May 30, 2006 Posted May 30, 2006 Did you install both of the sql files that come with a new install of QT Pro e.g. new_install.sql and config.sql Vger
kiwidesign Posted May 31, 2006 Author Posted May 31, 2006 Did you install both of the sql files that come with a new install of QT Pro e.g. new_install.sql and config.sql Vger Yes I installed new_install.sql and config.sql
♥Vger Posted May 31, 2006 Posted May 31, 2006 These are all of the instances of 'foreach' in QT Pro 4.2: qtpro4.2\catalog\checkout_confirmation.php(97): foreach ($order->products[$i]['attributes'] as $attribute) {qtpro4.2\catalog\checkout_process.php(187): foreach ($products_attributes as $attribute) { qtpro4.2\catalog\admin\stats_low_stock_attrib.php(169): foreach($attributes as $attribute) { qtpro4.2\catalog\admin\stock.php(174): foreach($val_array as $val) { qtpro4.2\catalog\admin\stock.php(191): foreach($v as $v1) { qtpro4.2\catalog\includes\application_top.php(382): foreach ($attrlist as $attr) { qtpro4.2\catalog\includes\application_top.php(389): foreach ($HTTP_POST_VARS['id'] as $key=>$val) { qtpro4.2\catalog\includes\classes\pad_base.php(215): foreach ($attributes as $stocked) { qtpro4.2\catalog\includes\classes\pad_base.php(243): foreach($nonstocked_attributes as $nonstocked) qtpro4.2\catalog\includes\classes\pad_base.php(388): foreach ($attributes[$oidindex]['ovals'] as $attrib) { qtpro4.2\catalog\includes\classes\pad_base.php(451): foreach ($combinations[0]['comb'] as $oid=>$ovid) { qtpro4.2\catalog\includes\classes\pad_sequenced_dropdowns.php(145): foreach ($attr['ovals'] as $oval) { qtpro4.2\catalog\includes\classes\pad_sequenced_dropdowns.php(187): foreach ($attributes as $attr) qtpro4.2\catalog\includes\classes\pad_single_dropdown.php(83): foreach ($attributes as $attrib) { qtpro4.2\catalog\includes\classes\pad_single_radioset.php(80): foreach ($attributes as $attrib) { qtpro4.2\catalog\includes\classes\pad_single_radioset.php(85): foreach ($combinations as $combindex => $comb) { Vger
kiwidesign Posted May 31, 2006 Author Posted May 31, 2006 These are all of the instances of 'foreach' in QT Pro 4.2:Vger Hi Vger, Sorry to be stupid but what should i do with this information?
chooch Posted May 31, 2006 Posted May 31, 2006 Have you tried the QTPro support thread? There was an issue with that line 388. Post your query there and someone will help you, infact, the answer may already be there on the QTPro support thread. Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back! Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you? There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere. CHOOCH
kiwidesign Posted May 31, 2006 Author Posted May 31, 2006 Have you tried the QTPro support thread? There was an issue with that line 388. Post your query there and someone will help you, infact, the answer may already be there on the QTPro support thread. Thanks :) Didn't realise there was a whole nother part to this form. Found the solution in 2mins. Awesome cheers for the advice.
chooch Posted May 31, 2006 Posted May 31, 2006 Thanks :) Didn't realise there was a whole nother part to this form. Found the solution in 2mins. Awesome cheers for the advice. Hehehe... no problems. I could have told you how to apply the fix but wanted you to go the QTPro support thread as that same issue was posted there and you may need it in future! Glad it is all working now. :thumbsup: Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back! Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you? There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere. CHOOCH
Recommended Posts
Archived
This topic is now archived and is closed to further replies.