Jump to content
Latest News: (loading..)

peterpil19

♥Ambassador
  • Content count

    672
  • 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,702 profile views
  1. Thanks all, This is very useful. I may have confused things above with my comment regarding guest check out. You can check out using paypal express on my site without creating an account. I think this might just be paypal express thing (see below image). Sorry, Mr Phil, I was not expecting you to list out all the files! Just a general direction like you gave above. Peter
  2. Thanks all, 1. JcMagpie - correct, I am using Paypal express, not standard. I have not yet tried uninstalling and reinstalling. 2. Frankl - correct, I do I have guest checkout. Is that something you recommend I turn off? 3. Mr Phil - I would have no idea unfortunately. In which files do I check for this? My version of paypal express should be up to date but if I do find instances of GET I can then compare file by file against the up to date version on github. I still do not understand what would be gained by people trying to process fake transactions... Peter
  3. Hi Frankl, Sometimes other currencies also. These 'guests' do not appear to be registering and I cannot see any items linked with their paypal transaction. Very odd if it is a hacking attempt. I don't understand the purpose of it. But I'm no expert on hacking... Peter
  4. Hi, When looking at my Paypal App logs, I notice regularly different guests attempting to checkout with some ridiculously large purchase (hundreds of thousands of dollars) but then cancelling or it failing for some reason. Is this a hacking attempt of some kind? Anything I need to be concerned about? Extract from an example below. Anyone else notice this. Peter PAYMENTREQUEST_0_CURRENCYCODE CNY PAYMENTREQUEST_0_AMT 31926868.90 PAYMENTREQUEST_0_CUSTOM 4923859218351241 Response TIMESTAMP 2018-08-21T15:03:28Z CORRELATIONID da597798d0ba ACK Failure VERSION 204 BUILD 48633247 L_ERRORCODE0 10605 L_SHORTMESSAGE0 Transaction refused because of an invalid argument. See additional error messages for details. L_LONGMESSAGE0 Receiving country does not support the transaction currency. L_SEVERITYCODE0 Error
  5. peterpil19

    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
  6. peterpil19

    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
  7. peterpil19

    [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
  8. peterpil19

    [Addon} Modular Front Page

    Ignore, I have since worked it out. Peter
  9. peterpil19

    [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
  10. 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
  11. @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
  12. 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
  13. Sorry, Ignore that last post, the answer was (embarrassingly) obvious... Thank you again for your assistance! Peter
  14. 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
  15. 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
×