Latest News: (loading..)

frankl

♥Ambassador
  • Content count

    708
  • Joined

  • Last visited

  • Days Won

    35

frankl last won the day on September 8

frankl had the most liked content!

7 Followers

About frankl

  • Rank
    One of the originals...

Profile Information

Recent Profile Visitors

17,207 profile views
  1. What version of PHP is your server on? Go to Admin -> Tools -> Server Info to find out.
  2. Thanks for the bug report @Quark. In admin/returns_reasons.php change case 'delete': $oID = tep_db_prepare_input($_GET['oID']); $status_query = tep_db_query("select count(*) as count from returned_products where returns_reason = '" . tep_db_input($oID) . "'"); $status = tep_db_fetch_array($status_query); $remove_status = true; if ($oID == DEFAULT_RETURN_REASON) { $remove_status = false; $messageStack->add(ERROR_REMOVE_DEFAULT_RETURN_REASON, 'error'); } elseif ($status['count'] > 0) { $remove_status = false; $messageStack->add(ERROR_REASON_USED_IN_RETURNS, 'error'); } else { $history_query = tep_db_query("select count(*) as count from returns_status_history where '" . tep_db_input($oID) . "' in (new_value, old_value)"); $history = tep_db_fetch_array($history_query); if ($history['count'] > 0) { $remove_status = false; $messageStack->add(ERROR_REASON_USED_IN_HISTORY, 'error'); } } break; to case 'delete': $oID = tep_db_prepare_input($_GET['oID']); $status_query = tep_db_query("select count(*) as count from returned_products where return_reason_id = '" . tep_db_input($oID) . "'"); $status = tep_db_fetch_array($status_query); $remove_status = true; if ($oID == DEFAULT_RETURN_REASON) { $remove_status = false; $messageStack->add(ERROR_REMOVE_DEFAULT_RETURN_REASON, 'error'); } elseif ($status['count'] > 0) { $remove_status = false; $messageStack->add(ERROR_REASON_USED_IN_RETURNS, 'error'); } break; I don't understand this, could you elaborate.
  3. Yes there is, but why do you want to use a development version of osCommerce rather than the fully working community version?
  4. Which version of osC? That is an ancient version of PHP you are using there so I'm guessing you also have an ancient version of osC. Not many people are keen to help with outdated code, most would suggest you upgrade to the latest Bootstrap version
  5. What is the URL? I can see what is showing.
  6. Did you change includes/languages/english.php? // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language) define('LANGUAGE_CURRENCY', 'USD'); to // if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language) define('LANGUAGE_CURRENCY', 'GBP'); Also, are you using the responsive version? This is what the next official version osC 2.3.6 due out soon is based on. It is up to date, PHP 7 ready and works on all devices.
  7. You can write a php script to update all those values in your database Select products_description for all items while items str_replace http to https, str_replace .net/cat to .com/dog tep_db_query update description Test on a backup of your database first.
  8. First thing I do when installing a new osC is change the wording on 'Buy Now' buttons. I make them 'Add to Cart' or just 'Add' buttons.
  9. @prokraft Is the site cached, either in the browser, by your host, or by your isp? That would prevent you seeing the new logo on your site.
  10. @austcoll On a fresh installation of Gold the files catalog/includes/database_tables.php and catalog/includes/filenames.php will exist. On a fresh installation of Edge they will be missing.
  11. I would recommend you move to Edge version https://github.com/gburton/osCommerce-234-bootstrap/archive/master.zip
  12. Which version of osCommerce are you using?
  13. Email addresses for an order are stored with the order, so if a customer changes their email address in the system in the meantime any status updates for the order will go to their old email address. In real life, we have had businesses change the email address for their account when someone new takes over, and it is more useful to segregate orders made with different email addresses.
  14. You didn't break anything. Your host updated the PHP version on their server and now your old, outdated version of osCommerce is having problems. You need to upgrade or at the very least update the files that are causing you problems.
  15. Don't use mysql_ osC has built in functions for querying databases. Use <?php echo "<tr><th>" . TEXT_VALID_CATEGORIES_ID . "</th><th>" . TEXT_VALID_CATEGORIES_NAME . "</th></tr><tr>"; $result = tep_db_query("SELECT * FROM categories c, categories_description cd WHERE c.categories_id = cd.categories_id and cd.language_id = '" . $languages_id . "' ORDER BY c.categories_id"); if ($row = tep_db_fetch_array($result)) { do { echo "<td>".$row["categories_id"]."</td>\n"; echo "<td>".$row["categories_name"]."</td>\n"; echo "</tr>\n"; } while($row = tep_db_fetch_array($result)); } echo "</table>\n"; ?>