l33roy Posted March 30, 2008 Posted March 30, 2008 I have problem, plz help me!!! i enter preview button, when adding a new product and see arrays of $products_name, $products_description and $products_url; i visit this problem firstly in my life. What happend? $products_name: Array ( [1] => Butterfly [2] => Array ( [me[1] => Butterfly ) [3] => Array ( [me[2] => Butterfly ) [4] => Array ( [me[3] => Butterfly ) ) $products_description: Array ( [1] => Acrylic on canvas (49,5x32) [2] => Acrylic on canvas (49,5x32) [3] => Acrylic on canvas (49,5x32) [4] => Acrylic on canvas (49,5x32) ) $products_url: Array ( [1] => [2] => Array ( [rl[1] => ) [3] => Array ( [rl[2] => ) [4] => Array ( [rl[3] => ) ) i saw a question like that on this forum, but no answer there. why?
satish Posted March 30, 2008 Posted March 30, 2008 sql query used to export the product detail. Put limit 1. Also paste your query here. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
♥FWR Media Posted March 30, 2008 Posted March 30, 2008 I have problem, plz help me!!! i enter preview button, when adding a new product and see arrays of $products_name, $products_description and $products_url; i visit this problem firstly in my life. What happend? $products_name: Array ( [1] => Butterfly [2] => Array ( [me[1] => Butterfly ) [3] => Array ( [me[2] => Butterfly ) [4] => Array ( [me[3] => Butterfly ) ) $products_description: Array ( [1] => Acrylic on canvas (49,5x32) [2] => Acrylic on canvas (49,5x32) [3] => Acrylic on canvas (49,5x32) [4] => Acrylic on canvas (49,5x32) ) $products_url: Array ( [1] => [2] => Array ( [rl[1] => ) [3] => Array ( [rl[2] => ) [4] => Array ( [rl[3] => ) ) i saw a question like that on this forum, but no answer there. why? Someone left debug code in your file. search it for print_r admin/categories.php Probably around .. } elseif ($action == 'new_product_preview') { if (tep_not_null($HTTP_POST_VARS)) { $pInfo = new objectInfo($HTTP_POST_VARS); $products_name = $HTTP_POST_VARS['products_name']; $products_description = $HTTP_POST_VARS['products_description']; $products_url = $HTTP_POST_VARS['products_url']; } else { Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
l33roy Posted March 31, 2008 Author Posted March 31, 2008 Someone left debug code in your file. its my debug code. u right, here: } elseif ($action == 'new_product_preview') { if (tep_not_null($HTTP_POST_VARS)) { $pInfo = new objectInfo($HTTP_POST_VARS); $products_name = $HTTP_POST_VARS['products_name']; $products_description = $HTTP_POST_VARS['products_description']; $products_url = $HTTP_POST_VARS['products_url']; } else { but if u see, this arrays are strange and not right. Someone help me?
l33roy Posted March 31, 2008 Author Posted March 31, 2008 i see that it is apache + php configuration problem, but i did not solve it yet? :(
Recommended Posts
Archived
This topic is now archived and is closed to further replies.