Jump to content
Latest News: (loading..)

dewarsco2

Members
  • Content count

    19
  • Joined

  • Last visited

About dewarsco2

  • Birthday February 15

Profile Information

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Changed in review_mail.php to below code and getting this error seems it can't find the images but it does send emails..

     

    [22-Aug-2018 15:12:26 UTC] PHP Notice:  Use of undefined constant DIR_WS_CATALOG - assumed 'DIR_WS_CATALOG' in /home/xxxxxxxxxxx/public_html/doorparts/automatic/review_mail.php on line 139

    [22-Aug-2018 15:12:26 UTC] PHP Notice:  Use of undefined constant DIR_WS_IMAGES - assumed 'DIR_WS_IMAGES' in /home/xxxxxxxxxxx/public_html/doorparts/automatic/review_mail.php on line 139

    Changed Code below.

    // Get the products info for the order

            $products_query = tep_db_query ("select products_name,

                                                    products_model,

                                                    products_id

                                             from " . TABLE_ORDERS_PRODUCTS . "

                                             where orders_id = '" . $orders_id . "'");

              // Get a list of products and links to the review page for each

              $products_string = '';

              while ($products_array = tep_db_fetch_array ($products_query) ) { // Step through the products

                $orders_picture_query = tep_db_query("select products_image from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_array['products_id'] . "'");

                $orders_picture = tep_db_fetch_array($orders_picture_query);

                $image_string = '<img src=' . HTTP_SERVER . DIR_WS_CATALOG . DIR_WS_IMAGES . $orders_picture['products_image'].'" width="90px" border="0">';

     

                // Add each product and each review URL to a list

                $products_string .= $image_string . ' ' . $products_array['products_name'] . "\n";

                $products_string .= '  ' . $link_server . DIR_WS_HTTPS_CATALOG . '/product_reviews_write.php?products_id=' . $products_array['products_id'] . "\n";

    Using latest BS edge

    Thank you

     

     

  2. dewarsco2

    KissIT Image Thumnailer

    Thanks Raiwa. Will post if I ever find the cause.
  3. dewarsco2

    KissIT Image Thumnailer

    2 questions. When updating do you uninstall previous version or just overwrite the files? I just overwritten the files and reset thumbnailer. getting this error PHP Notice: Could not extract image size. in catalog/includes/modules/kiss_image_thumbnailer/classes/Image.php on line 181 PHP Warning: Division by zero in catalog/includes/modules/kiss_image_thumbnailer/classes/Image.php on line 264 Anyway quick way to find the image that may be causing this. I have some html with images and wondering if that could be the problem. Have images set to width 100% height not set.
  4. dewarsco2

    Google XML Sitemap SEO

    To the above post Using OSC 2.3.4
  5. dewarsco2

    Google XML Sitemap SEO

    After I generated the sitemaps it says CONGRATULATIONS! All files generated successfully. When I go to the sitemaps they are empty. Permissions are set to 777. Any ideas why it is not writing to the files.
  6. I ran the code and received this message CONGRATULATIONS! All files generated successfully. But went to the XML files generated and found they were blank Checked permissions and all are 777 Using new 2.3.4 any suggestions where to look? Thanks in advance
  7. dewarsco2

    Sitemap SEO

    Could there be a mistake in the install instructions or did I miss something. Installed on osC v2.3.3 and V2.3.1 Had to insert in includes/languages/english/modules/boxes/bm_information.php define('MODULE_BOXES_INFORMATION_SITEMAP_SEO', 'Site Map'); To get the information box to read "Site Map" Was this left out of the install instructions?? Or did I overlook something. Posted just in case others are having the same problem. Works perfect now. Thanks for a great contrib.
  8. dewarsco2

    [Contribution] Option Types v2

    George I did not receive the links of sites. Not because any fault of yours. Email address was one of my web sites and not a real email address. I just changed it. Could you resend links for the 2.3.1 Thanks a million
  9. dewarsco2

    [Contribution] Option Types v2

    Well maybe I should of said is there a working site. Thanks
  10. dewarsco2

    [Contribution] Option Types v2

    Is there a working model for osC 2.31 Could someone post a link for it? Thanks
  11. dewarsco2

    Click to Enlarge Text - Jqurey FancyBox

    I had the same problem. I just hard coded it in product_info.php Just to let my customers know to click it. This is based on osc 2.3.1 Goto catalog/product_info.php Find around line 190 <?php $reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and reviews_status = 1"); $reviews = tep_db_fetch_array($reviews_query); ?> Under that paste this <table width="100%" border="0" cellspacing="1" cellpadding="0"> <tr> <td><h2 align="right">Click Image<br>to ENLARGE</h2></td> </tr> </table> That's it all done. If the letters are to large try changing the <h2> tags to <h3> or just remove the tags. or whatever you want in your stylesheet.css
  12. dewarsco2

    shut off images in certain categories

    I have found the answer and very simple add on. Sub Category Description on Selected Categories The problem I was having was the "no picture icon" was showing up. FYI if you have a picture for your products in the elected category remove the link from your database mySql. Just go to the products page and the image link. This is the final result in patiodoorrepair.net website. All pictures and info after category name heading and before the page count was inserted in the file Catalog/includes/languages/english/index.php Hope this helps someone out. Nick
  13. dewarsco2

    Product Description 1.3

    Sam I just want to say Your mod Product_Truncated_Description_v_2 worked beautiful and I have a heavy modified store. Very simple install with the bells I needed. Thank you Nick
×