Jump to content

danil0

Members
  • Content count

    163
  • Joined

  • Last visited

Everything posted by danil0

  1. Hello Germ, 

    I m having only on the ADMIN side the error

    Warning: Cannot modify header information - headers already sent by (output started at /home/a2427dzd/public_html/*******/******/includes/languages/greek.php:1) in /home/a2427dzd/public_html/*******/******/includes/functions/general.php on line 38

    I allready checked php version is 5.6 

    I allready checked admin/includes/application_top.php for the extra lines and spaces and removed them

    what else can I do?

  2. danil0

    HoneyPot Captcha

    everything works perfect except captha image is not loading... I thought it would be easy to resolve... anyway thank you for your time until now
  3. danil0

    HoneyPot Captcha

    I noticed also that the Megastore theme that is installed on this custom osc 2.3.4 has its own styles and classes... so I noticed inside contact_us.php that I edited, there was no class="form-horizontal" setting on the echo tep_draw_form line. So I have resolve the fields problem because was Stylesheet matter. Everything works on the admin side settings logs etc. It blocks fake accounts and tries. The only problem is that the contact us form still sending spam mails. When I enabling captcha the spams stops but the captcha image is not loading. The validation of the captcha also works as I get the answer that was wrong the code. So do you believe I should add form-horizontal class to make captcha image work?
  4. danil0

    HoneyPot Captcha

    ok maybe I was wrong on the other thread ..or maybe was my first quick question and I did not checked well. Is there a safe way to know ecxacly what version is my shop? On my admin/server_info.php I see these 2 lines osCommerce Online Merchant v2.3.4 PHP Version 5.6.40 * I have tested 7.3 php version to see if this the reason captcha not loading
  5. danil0

    HoneyPot Captcha

    I m confused I dont have a 2.3.4 Shop ? How do you know that? on the version it sais osCommerce Online Merchant v2.3.4
  6. danil0

    HoneyPot Captcha

    haha thanxs this was the first I did
  7. danil0

    HoneyPot Captcha

    Jack the contact_us.php file I use is the cotribution edited file from the 2.3.4 version folder to avoid mistyping. The defines how can I define them ...I followed all instractions I will go crazyy..
  8. danil0

    HoneyPot Captcha

    no it is not that .. see here https://sportndog.gr/gd.php I checked it the first time you said it
  9. danil0

    HoneyPot Captcha

    thanxs Malcolm but I m using the edited files from cotribution to avoid mistyping... anyway the fields and labels I can fix them by adding a translation or removing them .. but why the captcha is not loading ...??
  10. danil0

    HoneyPot Captcha

    Enable Honey Pot True Pages contact_us.php create_account.php Sort Order 10 Email Addresses Allowed False Email Addresses Show Message True URL's Allowed False URL Show Message True Create Account Check True Create Account Count 1 Create Account Period 55 Block Names with Numbers True Block Phone with Letters True Name Length - First 2 Name Length - Last 1 Verify Postal Code Both Verify Domain Referer Match True Verify State and Country match True Verify Time to Submit 10 Show Captcha Numbers Use IP List IPList Block IP Automatically Bad Words sex, viagra Exclude IP's Log Tracker File
  11. danil0

    HoneyPot Captcha

    OK table is working great.. and it has blocked some ips but I dont undersntand 1. why capcha is not loading 2. why I see inside and beside fields strings like FORM_REQUIRED_INPUT Sorry I forget to mention that I m using Megastore theme MY VERSION IS osCommerce Online Merchant v2.3.4
  12. danil0

    HoneyPot Captcha

    The log file created it has blocked many ips allready... thank you but the database table is not created should I use the code of Artcolnc? CREATE TABLE IF NOT EXISTS honeypot_track (ip_number INT( 64 ) UNSIGNED NOT NULL, count int (11) DEFAULT 0, last_date datetime NOT NULL, PRIMARY KEY(ip_number) ) ENGINE=InnoDB
  13. danil0

    HoneyPot Captcha

    So is there any sql table creation file ? to do it myself? do you believe that this is the fault on my case?
  14. danil0

    HoneyPot Captcha

    what is this file? where is it ? is sql text file I have to run to create tables on database? ok I set it true ... but anyway it seems that all cotribution is not working at all... I must missing something very important because the forms on both pages, create account and contact us, are broken as you can see on screeshoots I send earlier(every field has FORM_REQUIRED_INPUT)
  15. danil0

    HoneyPot Captcha

    I searched again after repeating execution of php but there is no this table... but why are you saying that it's created when the script run ? inside the database_changes.php there is no honeypot_track string. I m asking again is there any other database creation file?? my settings are: Enable Honey Pot True Pages contact_us.php create_account.php Sort Order 10 Email Addresses Allowed True Email Addresses Show Message True URL's Allowed True URL Show Message True Create Account Check False Create Account Count 2 Create Account Period 10 Block Names with Numbers True Block Phone with Letters True Name Length - First 2 Name Length - Last 1 Verify Postal Code Ignore Verify Domain Referer Match True Verify State and Country match False Verify Time to Submit 10 Show Captcha None Use IP List IPList Block IP Automatically Bad Words sex, viagra Exclude IP's Log Tracker File I m still receiving spam mails and fake accounts ...and the captcha is not appear
  16. danil0

    HoneyPot Captcha

    I made all your steps thank you. I saw that there was not column before with name honeypot. With your instractions the column created and the ID is 1602 because the last one was 1601. see attached screenshot. I installed module again to see if it works but I have the same results. Are there any other instractions missing from zipped cotribution v1.10 file?
  17. danil0

    HoneyPot Captcha

    1) <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require('includes/languages/' . $language . '/contact_us.php'); if (isset($_GET['action']) && ($_GET['action'] == 'send') && isset($_POST['formid']) && ($_POST['formid'] == $sessiontoken)) { $error = false; $name = tep_db_prepare_input($_POST['name']); $email_address = tep_db_prepare_input($_POST['email']); $enquiry = tep_db_prepare_input($_POST['enquiry']); if (!tep_validate_email($email_address)) { $error = true; $messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR); } /*** BEGIN HONEYPOT ***/ include('includes/honeypot/modules/honeypot_verify_general.php'); /*** END HONEYPOT ***/ $actionRecorder = new actionRecorder('ar_contact_us', (tep_session_is_registered('customer_id') ? $customer_id : null), $name); if (!$actionRecorder->canPerform()) { $error = true; $actionRecorder->record(false); $messageStack->add('contact', sprintf(ERROR_ACTION_RECORDER, (defined('MODULE_ACTION_RECORDER_CONTACT_US_EMAIL_MINUTES') ? (int)MODULE_ACTION_RECORDER_CONTACT_US_EMAIL_MINUTES : 15))); } if ($error == false) { tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address); $actionRecorder->record(); tep_redirect(tep_href_link('contact_us.php', 'action=success')); } } $breadcrumb->add(NAVBAR_TITLE, tep_href_link('contact_us.php')); require('includes/template_top.php'); ?> <div class="page-header"> <h1 class="h3"><?php echo HEADING_TITLE; ?></h1> </div> <?php if ($messageStack->size('contact') > 0) { echo $messageStack->output('contact'); } if (isset($_GET['action']) && ($_GET['action'] == 'success')) { ?> <div class="contentContainer"> <div class="contentText"> <div class="alert alert-info"><?php echo TEXT_SUCCESS; ?></div> </div> <div class="pull-right"> <?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'fa fa-angle-right', tep_href_link('index.php')); ?> </div> </div> <?php } else { ?> <?php //BEGIN HONEYPOT ?> <?php echo tep_draw_form('contact_us', tep_href_link('contact_us.php', 'action=send'), 'post', ' onsubmit="return validateMyForm();" class="form-horizontal"', true); ?> <?php //END HONEYPOT ?> <div class="contentContainer"> <div class="contentText"> <div class="row"> <?php echo $oscTemplate->getContent('contact_us'); ?> </div> <p class="text-danger text-right"><?php echo FORM_REQUIRED_INFORMATION; ?></p> <div class="clearfix"></div> <div class="form-group has-feedback"> <label for="inputFromName" class="control-label col-sm-3"><?php echo ENTRY_NAME; ?></label> <div class="col-sm-9"> <?php echo tep_draw_input_field('name', NULL, 'required autofocus="autofocus" aria-required="true" id="inputFromName" placeholder="' . ENTRY_NAME_TEXT . '"'); echo FORM_REQUIRED_INPUT; ?> </div> </div> <div class="form-group has-feedback"> <label for="inputFromEmail" class="control-label col-sm-3"><?php echo ENTRY_EMAIL; ?></label> <div class="col-sm-9"> <?php echo tep_draw_input_field('email', NULL, 'required aria-required="true" id="inputFromEmail" placeholder="' . ENTRY_EMAIL_ADDRESS_TEXT . '"', 'email'); echo FORM_REQUIRED_INPUT; ?> </div> </div> <div class="form-group has-feedback"> <label for="inputEnquiry" class="control-label col-sm-3"><?php echo ENTRY_ENQUIRY; ?></label> <div class="col-sm-9"> <?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15, NULL, 'required aria-required="true" id="inputEnquiry" placeholder="' . ENTRY_ENQUIRY_TEXT . '"'); echo FORM_REQUIRED_INPUT; ?> </div> </div> </div> <?php /*** BEGIN HONEYPOT ***/ include('includes/honeypot/modules/honeypot_display.php'); /*** END HONEYPOT ***/ ?> <div class="buttonSet"> <div class="text-right"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'fas fa-paper-plane', null, 'primary', null, 'btn-success'); ?></div> </div> </div> </form> <?php } require('includes/template_bottom.php'); require('includes/application_bottom.php'); ?> 2) There is no this table with name honeypot_track in my database. I did not found any database table creation sql file inside instractions. The only database editing file was the database_changes.php file where I have changed the ID according instractions, because the 16 was taken from other addon and I executed it.
  18. danil0

    HoneyPot Captcha

    unfortunatelly is not working and the captcha is my last hope I did that change but it appears again
  19. danil0

    HoneyPot Captcha

    1. I checked the new files and instructions was from 234 version (Install_Frozen_V234.txt) 2. I tried the contact_us.php changed new file also from zipped cotribution file and the result was the same ...seems like it has no access on some directories I guess... 3. header tag module in Admin is installed because I installed the honeypot Module from this.. I attached printscreen from both pages if anyone can unsterstand what is going on?
  20. danil0

    Fake accounts

    thank you Malcolm 1. I checked the new files and instructions was from 234 version (Install_Frozen_V234.txt) 2. I tried the contact_us.php changed file also from zipped cotribution file and the result was the same (to avoid misstyping) ...seems like it has no access on some directories I guess... I m thinking of that because I add some "bad words" on settings but when I save the words gone and never saved. 3. header tag module in Admin is installed because I installed the honeypot Module from this.. any other ideas?
  21. danil0

    HoneyPot Captcha

    hello .. I installed the latest 1.10 version on a custom 2.3.4 OSC version. Everything seems working well except the captcha image is not appear and the string "FORM_REQUIRED_INPUT" has no translation. Are there any files missing? Can anyone help?
  22. danil0

    Fake accounts

    thank you for your answer .. your link goes back here.. but ok I will ask here ... I followed directions for my 2.3.4 version ... the captcha check is working but the captcha image is not appear and the strings are not translated ... see here please is the last version of honeypot complete?
  23. danil0

    Fake accounts

    I just installed it but captcha image is not working... Today I had a new fake registration from Afghanistan
  24. danil0

    Fake accounts

    hello I have osc 2.3 installed with a very custom theme and lot of manual code changes. Is there a simply way to stop these fake accounts? I checked that there is not captcha cotribution for 2.3 version
×