Jump to content

Jack_mcs

Members
  • Content count

    30,613
  • Joined

  • Last visited

  • Days Won

    152

Jack_mcs last won the day on May 9

Jack_mcs had the most liked content!

About Jack_mcs

  • Rank
    Jack_MCS

Profile Information

Recent Profile Visitors

247,810 profile views
  1. @pete2007You may want to test your site here. If it returns anything less than an A score, it needs to be fixed. Pay special attention to the TLS section. TLS 1.2 should be enabled and the default setting.
  2. Jack_mcs

    php version compatibility

    Most likely not. In the least, it will generate a very large number of php warnings so you will need to be sure to disable error reporting. Many hosts are removing versions of php prior to 7.1 but they generally still offer 7.2. Your site might run without too many problems under 7.2 so you may want to check with your host to see if that is an option.
  3. Jack_mcs

    Security Checks

    You may have missed copying the php delimiter. Look at the first line of the file and make sure it has just these the following there: <?php If that isn't it, please post the file here.
  4. Jack_mcs

    Editing zones.php

    You can't do it from admin. You have to edit the file. In the top of the file it explains what to change to increase the zones. Once you do that, you will see the additional fields in admin.
  5. Jack_mcs

    Header Tags SEO

    I'm tying for 2-4 weeks.
  6. Copy the following into the admin/includes/functions/html_output.php file at the bottom before the ?>. function tep_draw_bootstrap_button($title = null, $icon = null, $link = null, $priority = 'secondary', $params = [], $style = null) { if ( !isset($params['type']) || !in_array($params['type'], ['submit', 'button', 'reset']) ) { $params['type'] = 'submit'; } if ( ($params['type'] == 'submit') && isset($link) ) { $params['type'] = 'button'; } if ( ($params['type'] == 'button') && isset($link) ) { $button = '<a href="' . $link . '"'; if ( isset($params['newwindow']) ) { $button .= ' target="_blank" rel="noopener"'; } $closing_tag = '</a>'; } else { $button = '<button type="' . tep_output_string($params['type']) . '"'; $closing_tag = '</button>'; } if ( isset($params['params']) ) { $button .= ' ' . $params['params']; } $button .= ' class="btn '; $button .= (isset($style)) ? $style : 'btn-outline-secondary'; $button .= '">'; if (isset($icon) && tep_not_null($icon)) { $button .= ' <span class="' . $icon . '" aria-hidden="true"></span> '; } $button .= $title; $button .= $closing_tag; return $button; }
  7. Jack_mcs

    Header Tags SEO

    This addon hasn't been coded to work with your version. The last (fatal error) is due to the class usage being changed so the command in the code will no longer work. There are too many changes to fix that to post here so you will have to wait for the next version if you want to use this addon.
  8. Jack_mcs

    reCAPTCHA richtig einbinden

    That depends. There are two basic versions: one for shops with modules capability and one for those that don't have it. Your version is on the edge of when that was added, as I recall. Take a look in admin->modules and see if there is a Header Tags section. If there is, use the files in the "Phonex_Frozen_and_v234" directory. Just upload the new files and then make the file changes in the "ChangedFiles_Frozen_and_V234" directory. If that section isn't in admin->Modules, then use the MS2 directory for the installation.
  9. Jack_mcs

    HoneyPot Captcha

    For the telephone error, change this $telephone = $customer_details['telephone']; to $telephone = ($customer_details['telephone'] ?? null); You can do similar for the street address but that should be enabled so you may not have your modules setup completely, For the last error, I see I didn't copy the new post code list to admin. To fix that, in includes/functions/honeypot.php copy lines 239 through 404 and copy them over lines 70 through 88 in admin/includes/functions/honeypot.php.
  10. Jack_mcs

    HoneyPot Captcha

    Please always include your version of oscommerce and php.
  11. Jack_mcs

    HoneyPot Captcha

    The last Phoenix version I installed it into is 1.0.7.15, though it may work in later versions. The shop files are in the Changed... directories. Although I see that older versions were uploaded so I have uploaded a new version with those changes.
  12. Jack_mcs

    HoneyPot Captcha

    A new version has been uploaded with these changes: Added an option to delete all fake accounts for those sites where there are too many to delete normally. Pro Version only. Changed code to fully follow the status setting. Changed code to not allow empty emails. Changed the V2 database install file so it is automatic. Corrected mistake in the create account page for Phoenix. Corrected mistake in the captcha file for the numbers captcha. Corrected a mistake in the postal code check that would allow invalid postal codes through when the option was set to both. Corrected Fake Accounts check orders code to return accurate counts, Pro version only. Moved the changes for the contact_us and create_account pages to the templates directory. Reduced the file size of the log file. Removed the check for the Purchase Without Account page. Removed the return statement in the hook for Phoenix that was causing duplicate displays.
  13. Jack_mcs

    Need help with Database issue - site is down

    If your 14 year old shop can run on php 7, then it has definitely been altered. That makes troubleshooting more difficult since it is not standard. The first thing I would try is to lower the php version. But the error you mentioned is due a server setting so that may not help. Godaddy is not good when it comes to helping with php issues so I wouldn't put a lot of faith in their response.
  14. Jack_mcs

    Need help with Database issue - site is down

    That is due to how mysql is setup on the server. Your host will have to make a change to fix it. My guess is that your host updated php and/or mysql since you said the shop has been working. If they did that, your shop probably won't work since a shop that old wouldn't be able to run on php higher than 5.4 unless the code has been altered. I suggest that when you contact them about the error, you also ask what php version the site is using and if they have made changes to the servers version.
  15. Jack_mcs

    quantity monitoring

    The shopping cart page was just an example. The $cart variable is available throughout the shop, though you may need to use global $cart; in some places to make it usable. So anywhere you need to know the quantities in the shop, just use the code I posted and you will know. What you do with the results is up to you.
×