Jump to content


  • Content count

  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Bob Fallahi
  1. Hi everyone I've just installed the contribution Wishlist 5 and I seem to have a problem on the Admin side of the installation. In Admin, when I click the menu item Reports/Products Wishlisted, I get the following error: 1146 - Table 'discount_dashop.customers_wishlist' doesn't exist select count(*) as total from customers_wishlist w, products_description pd, customers c left join address_book a on c.customers_id = a.customers_id and c.customers_default_address_id = a.address_book_id where c.customers_id = w.customers_id and w.products_id = pd.products_id Have I missed something here? I didn't quite get what it meant by 'Run the Install SQL file'! There is in deed a file called wishlist.sql in the installation pack but I don't know what to do with it. Needless to say that the installation seems to be running OK at the front side. Many thanks in advance for any comments.
  2. Ezboy

    Image zoom

    Thanks very much Matt. Now I undrestand what the noscript code is for. I actually took the noscript part out all together at first. But reading your comments, I tried to put them back in. Now it looks like this: <div class="main prod_info" style="width:<?php echo (SMALL_IMAGE_WIDTH +23);?>px;"> <?php echo tep_draw_prod_pic_top();?><script language="javascript"></script> <a href="<?php echo DIR_WS_IMAGES . $product_info['products_image']; ?>" class="jqzoom" style="" title="<?php echo addslashes($product_info['products_name']); ?>"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'style=""'); ?></a> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, '') . '</a>'; ?></noscript> <?php echo tep_draw_prod_pic_bottom();?> <script language="javascript"><!-- document.write('<?php echo '<a class="enlarge" href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript><?php echo '<a class="enlarge" href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?></noscript></div> <div class="main"><div class="desc2"><?php echo stripslashes($product_info['products_description']); ?></div><br> <br><div><?php echo $products_price?></div></div> I now get one image which magnifies ok. I don't know if the above works ok if browser javascript is disabled though. Many thanks again for your help.
  3. Ezboy

    Image zoom

    Sorry Matt, my mistake! Your code is working and the magnification is running on the image. But why did I end up with two images on the page? The magnification action works on the bottom one which is all that's required. Is the first echo command required in your code? Many thanks again.
  4. Ezboy

    Image zoom

    Matt, thank you very much for your reply. I could have never constructed the code like that! Any way, I replaced my code (the part shown in my message) with yours. The good thing is that I got no errors. So far so good! However, nothing happens when I place the pointer on the image in product_info page. In other words, it is still not working for some reason. Would you know what I'm doing wrong here? Much obliged.
  5. Ezboy

    Image zoom

    Hi guys I'm trying to incorporate this image zoom into my site but I'm not doing well and keep getting errors thrown up. All instructions have been followed. What's left is changing the actual href image link which is giving me hell as I can't just get it right. The following is my original link for the image: don't ask what <noscript> is as I don't know. I'm crap at programing! <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, '') . '</a>'; ?></noscript> According to the instructions example, I need to turn above to something that look like below: <a href="kawasakigreen.jpg" class="jqzoom" style="" title="kawasaki"> <img src="kawasakigreen_small.jpg" title="kawasakigreen" style="border: 1px solid #666;"> </a><select style="position:absolute;left:400px;top:10px;"><option>sdsdsds</option></select> Could anyone help please. P.S My original image is large enough in the first place and only reduced in size by the product_info.php script. I want the zoomer to just use the same image for the zoomed version. Thanks in advance.
  6. Hello May I firstly congratulate the contributor of this mod and everyone else who did hard work to get it to this stage. It is in deed a must have option. I've just managed to install this contribution on my slightly modded site. The Admin side seems to work flowlessly, however, in testing, I added a related product to one of the items and now when I go that product's page I get the following error message at the top of the page: Fatal error: Call to undefined function: mws_header() in /home/discount/public_html/includes/modules/optional_related_products.php on line 44 The main product does show up as normal but I obviously don't get the related product at the bottom. I believe the error code refers to the statement: <?php echo mws_header(TEXT_RELATED_PRODUCTS); ?> I did a quick content search on the site and did not find any other references or declararions for this function! I'm am pretty much a beginner in PHP and don't know what the error message is telling me. I therefore very much appreciate help on this issue. Thanks in advance.