View Single Post
Old 08-22-2009, 10:28 PM
  amy2203's Avatar 
amy2203 amy2203 is offline

Join Date: Jul 2004
Location: Watford, UK
Posts: 1,506

Default Re: Wordpress plugin and shortcode

Originally Posted by anandat
hi amy2003,
I tried to play with the code at localhost & I got the following error
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in D:\xampp\htdocs\blog\wp-content\plugins\xcart.php on line 57

I have replaced all your web site links with my site links & changed the database setting also.
I guess in following line of the code there is no file "imager.php" is my x-cart root directory.

$xcart_output= $xcart_output."<div><div>".$productdata[product]."</div><div><img id='product_thumbnail' src='".$productdata[filename]."' width='100' style='margin:5px;' alt='".$productdata[product]."' /></div>";

Please help to resolve the issue

Did you get this working?
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote