Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by Hotclutch

  1. Which version of PHP are you using ? You can check this in Admin -> Tools -> Server Info
  2. Your HTTPS_SERVER definition is blank, that's the last thing i can think of trying. Fill it with your website URL and incl the https:
  3. And this: define('HTTPS_SERVER', 'https://www.xxxx.com');
  4. Try with this also: define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', '');
  5. I just checked my settings on a test shop i have, and it's like this: define('HTTP_SERVER', 'https://www.xxxx.com'); define('HTTPS_SERVER', 'https://www.xxxx.com'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/shop/');
  6. Try define('HTTP_COOKIE_PATH', '/shop'); define('HTTPS_COOKIE_PATH', '/shop');
  7. Hotclutch

    Install OsCommerce new installation

    1525 is a SQL error, not PHP. And the official last version of osCommerce does not throw such an error.
  8. You can't add anything to cart either. Your Cookie settings may be wrong configured in the configure files.
  9. Hotclutch

    Tools -> Security Controls... problem

    <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2013 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); function tep_sort_secmodules($a, $b) { return strcasecmp($a['title'], $b['title']); } $types = array('info', 'warning', 'error'); $modules = array(); if ($secdir = @dir(DIR_FS_ADMIN . 'includes/modules/security_check/')) { while ($file = $secdir->read()) { if (!is_dir(DIR_FS_ADMIN . 'includes/modules/security_check/' . $file)) { if (substr($file, strrpos($file, '.')) == '.php') { $class = 'securityCheck_' . substr($file, 0, strrpos($file, '.')); include(DIR_FS_ADMIN . 'includes/modules/security_check/' . $file); $$class = new $class(); $modules[] = array('title' => isset($$class->title) ? $$class->title : substr($file, 0, strrpos($file, '.')), 'class' => $class, 'code' => substr($file, 0, strrpos($file, '.'))); } } } $secdir->close(); } if ($extdir = @dir(DIR_FS_ADMIN . 'includes/modules/security_check/extended/')) { while ($file = $extdir->read()) { if (!is_dir(DIR_FS_ADMIN . 'includes/modules/security_check/extended/' . $file)) { if (substr($file, strrpos($file, '.')) == '.php') { $class = 'securityCheckExtended_' . substr($file, 0, strrpos($file, '.')); include(DIR_FS_ADMIN . 'includes/modules/security_check/extended/' . $file); $$class = new $class(); $modules[] = array('title' => isset($$class->title) ? $$class->title : substr($file, 0, strrpos($file, '.')), 'class' => $class, 'code' => substr($file, 0, strrpos($file, '.'))); } } } $extdir->close(); } usort($modules, 'tep_sort_secmodules'); require('includes/template_top.php'); ?> <div style="float: right;"><?php echo tep_draw_button('Reload', 'arrowrefresh-1-e', tep_href_link('security_checks.php')); ?></div> <h1 class="pageHeading"><?php echo HEADING_TITLE; ?></h1> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent" width="20">&nbsp;</td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_TITLE; ?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_MODULE; ?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_INFO; ?></td> <td class="dataTableHeadingContent" width="20" align="right">&nbsp;</td> </tr> <?php foreach ($modules as $module) { $secCheck = ${$module['class']}; if ( !in_array($secCheck->type, $types) ) { $secCheck->type = 'info'; } $output = ''; if ( $secCheck->pass() ) { $secCheck->type = 'success'; } else { $output = $secCheck->getMessage(); } echo ' <tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)">' . "\n" . ' <td class="dataTableContent" align="center" valign="top">' . tep_image('images/ms_' . $secCheck->type . '.png', '', 16, 16) . '</td>' . "\n" . ' <td class="dataTableContent" valign="top" style="white-space: nowrap;">' . tep_output_string_protected($module['title']) . '</td>' . "\n" . ' <td class="dataTableContent" valign="top">' . tep_output_string_protected($module['code']) . '</td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $output . '</td>' . "\n" . ' <td class="dataTableContent" align="center" valign="top">' . ((isset($secCheck->has_doc) && $secCheck->has_doc) ? '<a href="http://library.oscommerce.com/Wiki&oscom_2_3&security_checks&' . $module['code'] . '" target="_blank">' . tep_image('images/icons/preview.gif') . '</a>' : '') . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </table> <?php require('includes/template_bottom.php'); require('includes/application_bottom.php'); ?> Check this against what you have for admin/security_checks.php PS: You also need to put password protection on your admin folder.
  10. Hotclutch

    Problem with Search in the Store empties the basket

  11. Hotclutch

    Switch off the product

    you can also look at one of the featured products add ons. Wolfen Featured Sets comes to mind. You need to start by creating an input for the date to expire on every product_id. So you will need to modify categories.php Then build your tep_expire_ function and call it in application_top.php
  12. Hotclutch

    Switch off the product

    I would have a look at how specials expire from the tep_expire_specials function in includes/functions/specials.php //// // Sets the status of a special product function tep_set_specials_status($specials_id, $status) { return tep_db_query("update specials set status = '" . (int)$status . "', date_status_change = now() where specials_id = '" . (int)$specials_id . "'"); } //// // Auto expire products on special function tep_expire_specials() { $specials_query = tep_db_query("select specials_id from specials where status = '1' and now() >= expires_date and expires_date > 0"); if (tep_db_num_rows($specials_query)) { while ($specials = tep_db_fetch_array($specials_query)) { tep_set_specials_status($specials['specials_id'], '0'); } } } then try to construct something from there.
  13. Hotclutch

    Problem with Search in the Store empties the basket

    Cookie settings may be wrong configured. You also have persistent osCsid in your URLs. Check your configure files.
  14. Hotclutch

    SSL Issue - Broken Padlock sometimes

    Sounds like a problem your host or service provider should be attending to. If your SSL was working before you renewed it, then you don't need to make changes to these files.
  15. Hotclutch

    Technoloy V4

    Does V4 use Bootstrap for the responsive grid ? I could not determine from the sites I have seen.
  16. Hotclutch

    osCommerce v4 demo

    Hi Loic. I think there might be some misunderstanding. I am sure there's a lot of interest in osCommerce's future, even if the forum is very quiet about it. You can continue to post / show what you want.
  17. Hotclutch

    Add additional information to shopping cart

    Does not look like it. You are going to have to query the information from the database so that you can echo it on shopping_cart.php
  18. Hotclutch

    What? I can't request a developer her anymore?

    Hi Way back in the past, we were never allowed to post commercial enquiries on the open forum. Then later on, a commercial enquiries forum was created, but even that was never public information. Not sure if that forum still exists or if it's in one of the closed clubs. The forum is under new management now, so i guess everyone has to fall in line with the way they want to go about things. Edit. Sorry, i see the commercial support forum is still there. You can try posting there.
  19. Hotclutch

    Is upgrading from v2.3.3.4 needed?

    If you have not upgraded for so long, then you may as well wait for V4. We all have custom work on our shops. That will need to be addressed after the migration.
  20. Hotclutch

    Google reCAPTCHA v3

    Thank you, Ruden. Only come across this thread now. It's a much needed addon for any osCommerce shop.
  21. Hotclutch

    Shipping methods

    I have 2 shipping methods: 1) a counter to counter service - where the shipping cost is fixed and always the same 2) Door to door service -where the shipping cost varies wildly, because of remote areas and surcharges applied by the courier company. Is it possible to restrict a payment method (credit card payment) to only a certain type of shipping method (in my case counter to counter) ?
  22. Hotclutch

    Capture Fake Accounts IPs

    It would be nice if there could be a setting in ACP, one which the webmaster can either disable / change from say 24hr to some other length of time. Then the software prevents the same IP from sending contact emails / registering within that timeframe.
  23. Hotclutch

    Capture Fake Accounts IPs

    What Captcha options are there in the V4 for the protection of the contact and registration forms ? @osCommerce-Official
  24. Hotclutch

    Product Display (Images)

    How will these work in the new osCommerce, how many pics per product, and what options are there wrt uploading of product images ?