Jump to content
Latest News: (loading..)

peterpil19

♥Ambassador
  • Content count

    669
  • Joined

  • Last visited

  • Days Won

    1

peterpil19 last won the day on December 28 2011

peterpil19 had the most liked content!

1 Follower

Profile Information

  • Real Name
    Peter
  • Gender
    Male
  • Location
    Adelaide, Australia
  • Interests
    Retail industry
    Ancient Coins
    Learning about web-design
  • Website

Recent Profile Visitors

12,477 profile views
  1. Error 28 from storage engine

    Thanks Rainer, Looks like it is at the hosting provider's end as it is showing on my end that there is plenty of space. Peter
  2. Error 28 from storage engine

    Hi, I am using osCommerce responsive edge with PHP 7.1 Today, I noticed that when browsing my catalogue or searching I would receive the following error: 1030 - Got error 28 from storage engine select distinct p.products_image, m.manufacturers_id, p.products_id, SUBSTRING_INDEX(pd.products_description, ' ', 20) as products_description, pd.products_name, p.products_reference, p.products_obverse, p.products_reverse, p.products_provenance, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from products p left join manufacturers m using(manufacturers_id) left join specials s on p.products_id = s.products_id, products_description pd, categories c, products_to_categories p2c where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and ((pd.products_seo_keywords LIKE '%roman%' OR pd.products_name like '%roman%' or p.products_reference like '%roman%' or p.products_obverse like '%roman%' or p.products_reverse like '%roman%' or p.products_provenance like '%roman%' or p.products_model like '%roman%' or m.manufacturers_name like '%roman%' or pd.products_description like '%roman%') ) order by pd.products_name limit 0, 12 Looking at the error logs, I noticed that commencing today, a large number of errors around PHP deprecation have popped up: Anyone know what could have caused this? I am assuming that this relates to something my hosting provider may have changed. I have logged a support ticket with them and am waiting for their response. 2018-04-01 20:46:59.611955 [NOTICE] [52.91.148.135:10306] [STDERR] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cm_footer_extra_oscommerce has a deprecated constructor in /home/XYZ/public_html/includes/modules/content/footer_suffix/cm_footer_extra_oscommerce.php on line 13 2018-04-01 20:46:59.611716 [NOTICE] [52.91.148.135:10306] [STDERR] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cm_footer_extra_icons has a deprecated constructor in /home/USER/public_html/includes/modules/content/footer_suffix/cm_footer_extra_icons.php on line 13 2018-04-01 20:46:59.611475 [NOTICE] [52.91.148.135:10306] [STDERR] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cm_footer_extra_copyright has a deprecated constructor in /home/USER/public_html/includes/modules/content/footer_suffix/cm_footer_extra_copyright.php on line 13 2018-04-01 20:46:59.611087 [NOTICE] [52.91.148.135:10306] [STDERR] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cm_footer_contact_us has a deprecated constructor in /home/USER/public_html/includes/modules/content/footer/cm_footer_contact_us.php on line 13 2018-04-01 20:46:59.610723 [NOTICE] [52.91.148.135:10306] [STDERR] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cm_footer_information_links has a deprecated constructor in /home/USER/public_html/includes/modules/content/footer/cm_footer_information_links.php on line 13 2018-04-01 20:46:59.610452 [NOTICE] [52.91.148.135:10306] [STDERR] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cm_footer_text has a deprecated constructor in /home/USER/public_html/includes/modules/content/footer/cm_footer_text.php on line 13 2018-04-01 20:46:59.602283 [NOTICE] [52.91.148.135:10306] [STDERR] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cm_header_catmenu has a deprecated constructor in /home/USER/public_html/includes/modules/content/header/cm_header_catmenu.php on line 13 2018-04-01 20:46:59.602060 [NOTICE] [52.91.148.135:10306] [STDERR] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cm_header_messagestack has a deprecated constructor in /home/USER/public_html/includes/modules/content/header/cm_header_messagestack.php on line 13 2018-04-01 20:46:59.601710 [NOTICE] [52.91.148.135:10306] [STDERR] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cm_header_search has a deprecated constructor in /home/USER/public_html/includes/modules/content/header/cm_header_search.php on line 13 2018-04-01 20:46:59.601352 [NOTICE] [52.91.148.135:10306] [STDERR] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cm_header_logo has a deprecated constructor in /home/USER/public_html/includes/modules/content/header/cm_header_logo.php on line 13 2018-04-01 20:46:59.578298 [NOTICE] [52.91.148.135:10306] [STDERR] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ht_product_title has a deprecated constructor in /home/USER/public_html/includes/modules/header_tags/ht_product_title.php on line 13 2018-04-01 20:46:59.576540 [NOTICE] [52.91.148.135:10306] [STDERR] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ht_product_opengraph has a deprecated constructor in /home/USER/public_html/includes/modules/header_tags/ht_product_opengraph.php on line 13 2018-04-01 20:46:59.575110 [NOTICE] [52.91.148.135:10306] [STDERR] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ht_product_meta has a deprecated constructor in /home/USER/public_html/includes/modules/header_tags/ht_product_meta.php on line 13
  3. [Addon} Modular Front Page

    @kymation Hi Jim, Good idea. Here is what I did: 1. Delete the following from Line 246: visibleSlidesCount: ' . MODULE_CONTENT_FRONT_PAGE_FEATURED_PRODUCTS_CAROUSEL_MAX_DISPLAY . ', 2. At Line 243, insert the following so that it appears after "var slideshow_products = new Slideshow({" items : ' . MODULE_CONTENT_FRONT_PAGE_FEATURED_PRODUCTS_CAROUSEL_MAX_DISPLAY . ', // This variable allows you to set the maximum amount of items displayed at a time with the widest browser width itemsDesktop : [1199,4], // This allows you to preset the number of slides visible with a particular browser width. For example [1199,2] means that if(window<=1199){ show 2 slides per page} itemsDesktopSmall: [979,2], // As above itemsTablet: [768,1], // As above itemsMobile : [479,1], // As above This solution worked for me. I borrowed code from auzStar's new products carousel add on and referenced the defined text for maximum products displayed above from your add on for the largest screen size. It should now resize at the breakpoints described above (which of course can be changed)and show the corresponding number of images entered after the comma in the square brackets. The number of visible items at large screen sizes is still linked to the number entered into Admin for this add on. The formatting is not great. Someone with better CSS knowledge can improve the way the images align as they do not align to the beginning (left) of the photo at smaller screen sizes. Also, I think this add on could greatly benefit from each slide appearing in a thumbnail so that it is consistent in appearance with the non-carousel "featured products" add on. Regrettably, that is beyond my skill set and my attempts thus far to introduce thumbnail formatting breaks the way the slides appear. Edit: I just realised this post was my 666th...(shudder) Peter
  4. [Addon} Modular Front Page

    Ignore, I have since worked it out. Peter
  5. [Addon} Modular Front Page

    @kymation Hi Jim, RE Number of products not reducing when the screen shrinks, from above (refer images below) I have spent some time looking at the differences between your Featured Products add on and Auzstar's New Products add on. I was hoping to take the relevant parts of featured products code and put it into the latter add on which appears to handle the resizing. However the differences between the two add ons are too vast and has proven to beyond my limited capability. In case there is a simple solution, I noticed that in Auzstar's new products add on, where where the javascript function is called, there is the ability to set the number of "slides" which appear for different breakpoints when resizing the screen. That does not appear to be in your addon. Is the solution simply to add the same code somewhere into your add on? Adding it into the corresponding section did not seem to work for some reason. (I copied the lines beginning with "items" below) $(document).ready(function() { var owl = $("#fp-new-products"); owl.owlCarousel({ items : 4, // This variable allows you to set the maximum amount of items displayed at a time with the widest browser width itemsDesktop : [1199,4], // This allows you to preset the number of slides visible with a particular browser width. For example [1199,2] means that if(window<=1199){ show 2 slides per page} itemsDesktopSmall: [979,2], // As above itemsTablet: [768,1], // As above itemsMobile : [479,1], // As above autoPlay: ' . (MODULE_CONTENT_FRONT_PAGE_TEST_FEATURED_PRODUCTS_CAROUSEL_AUTOPLAY == 'True' ? If it is not a simple solution then I appreciate you are busy and might not be in a position to update this add on for the functionality above. However I was hoping that if the changes were simple you could perhaps point me in the right direction to figure it out myself. Kind Regards, Peter
  6. Sorry, forgot to mention earlier, 1. the same issue comes up with the popular products add on too. 2. I have tested the other contribution by Kymaton for "Featured Products". I cannot replciate the same issue and that contribution seems to still use $(document).ready(function() { Peter
  7. @auzStar Hi, Thank you for responding to my post. The above solution works. It does add a few seconds to the page loading time and seems hang for an extended period of time if I refresh or disable my cache (to replicate going to the website for the first time). It is better than what it was doing before however. I am grateful for the suggestion. I could not replicate it on your website either for some reason. That was the first thing I tried. Peter
  8. Hi there, This is a neat contribution. Could I trouble you with hopefully an easy one? In Google Chrome only, routinely when I visit the site and always when I refresh the cache (holding control whilst refreshing), the image becomes misaligned with the product name and the buttons. See below image. Refreshing again (but not clearing cache) fixes it, until it happens again later on another visit. Is there any obvious way I can fix this from happening? What would typically cause this to occur but then fix itself with a refresh? Peter
  9. Sorry, Ignore that last post, the answer was (embarrassingly) obvious... Thank you again for your assistance! Peter
  10. Thanks @241! That works! Can I kindly trouble you with one follow up question? How do I specify the dimensions of the input text area field? Peter
  11. Hi, Hopefully this should be a very simple question. In categories.php, can someone show me how to change the dimensions of the text input fields? I specifically want multiple lines of entry in a field. For my purposes a single line is insufficient for some of the product fields and is making entering new products a little more difficult than it ought to be. Here is the code for a typical product field input field. In this case for "model". I can change the length, by changing 15 to some other number. But I cannot change the size vertically (i.e. to allow multiple lines to display). <tr> <td class="main"><?php echo TEXT_PRODUCTS_MODEL; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . tep_draw_input_field('products_model', $pInfo->products_model); ?></td> </tr> I notice that products_description uses a different type of field (larger, multiple lines of data - and the size can be changed) but I cannot seem to replicate it. If I copy the below and change the reference to "description" to e.g. "model" it works fine when adding a new product, but then the fields dissapear when going back into the product. So I must be doing something wrong. <?php for ($i=0, $n=sizeof($languages); $i<$n; $i++) { ?> <tr> <td class="main" valign="top"><?php if ($i == 0) echo TEXT_PRODUCTS_DESCRIPTION; ?></td> <td><table border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" valign="top"><?php echo tep_image(tep_catalog_href_link('includes/languages/' . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], '', 'SSL'), $languages[$i]['name']); ?>&nbsp;</td> <td class="main"><?php echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (empty($pInfo->products_id) ? '' : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))); ?></td> </tr> </table></td> </tr> <?php } ?> I am grateful if someone could point me in the right direction. I have tried searching online but had no success. Peter
  12. Store Search Bar (BS)

    Hi Malcom, Not yet. I got the other add on working by making some changes, but even then, without the photos working. I am under the pump at the moment but plan to test it when I get a chance. When I get time I might actually just put together a simple search box in navbar contribution as I do not believe one exists. I do not think it is a difficult task to put one together. Peter
  13. Store Search Bar (BS)

    Hi Malcom, Modified:) I haven't tried it yet on a clean install. If I get a chance to do so I will let you know if there are any issues. Peter
  14. Store Search Bar (BS)

    @ArtcoInc Thanks, LeeFoster's is an existing Add On which is supposed to do exactly that: https://apps.oscommerce.com/dS9oo&modular-navbar-search-w-images-bootstr I tried your Add On (the second attachment with the missing file) but it would not function for some reason - I got a white screen below the navbar! Not having luck with this image search add on. Even the original header one would not work with images showing when I installed it! Peter
  15. Store Search Bar (BS)

    Hi @LeeFoster I am still experiencing issues with this Add On. For feedback, I think there are a number of remaining coding issues with it, including: 1. The content_search.min.js in the ext /modules /content /navbar/store_search directory points to a "header" location for content_search.php, not the file included with this Add On, therefore requiring that the original header search on which this version was based is installed. Pointing it to the right file breaks it for some reason. So it does not seem to work without the header version of the content_search.php file from the original contribution. 2. The navbar content_search.php file above requires the header add on version of the language file, not the language file included with this Add On. 3. The defined terms in the content_search.php file all reference MODULE_CONTENT_HEADER_... not what appears in the language file with this Add On. I think this Add On has great potential. But it needs some work. The search function itself works fine. Peter
×