spooks Posted March 18, 2009 Share Posted March 18, 2009 tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' That line is invalid, if thats the sort of thing you have then no wonder you have trouble!!! If you want rc2a http://www.oscommerce.com/solutions/downloads Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
spooks Posted March 18, 2009 Share Posted March 18, 2009 (edited) forum bug!!! Edited March 19, 2009 by spooks Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
spooks Posted March 18, 2009 Share Posted March 18, 2009 (edited) forum bug!!! Edited March 19, 2009 by spooks Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
hakanibo Posted March 19, 2009 Share Posted March 19, 2009 i want with antirobot add-ons oscommerce Rc2a. Quote Link to comment Share on other sites More sharing options...
spooks Posted March 19, 2009 Share Posted March 19, 2009 Then stop being lazy and add it!!! PS 1st rule of manners, I want = never gets http://www.oscommerce.com/forums/lofiversion/i...hp?t209264.html Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
hakanibo Posted March 19, 2009 Share Posted March 19, 2009 I have tried 10 times. but always error. can you help me in msn. Quote Link to comment Share on other sites More sharing options...
spooks Posted March 19, 2009 Share Posted March 19, 2009 It works for most, do it more carefully, make sure you do exactly as detailed & it will work. Why do u think others should do your work for you? Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
steve_s Posted March 21, 2009 Share Posted March 21, 2009 i have a problem so: Generation Error: Missing SID Please Refresh your browser my Anti Robot Registration Validation V3.1 version. my system osCommerce Online Merchant v2.2 RC2 PHP Versiyon: 5.2.6 MySQL 5.0.51 if anyone else gets this message, i followed other suggestions changing code in validation_png.php ie // Do we have an id? No, then just exit $rsid = $_GET['rsid']; if (($rsid == '') || (strtolower($rsid) == 'null') || (strlen(trim($rsid)) == 0)) still no image so i looked in error log PHP Notice: Undefined variable: HTTP_GET_VARS in D:\\Program Files\\EasyPHP 3.0\\www\\store\\validation_png.php on line 59 so i replaced require_once('includes/configure.php'); with require_once('includes/application_top.php'); works fine except images arent that easy to read :( how can i can make them easy to read maybe clean backgroun up ? Quote Link to comment Share on other sites More sharing options...
steve_s Posted March 21, 2009 Share Posted March 21, 2009 if anyone else gets this message, i followed other suggestions changing code in validation_png.php ie// Do we have an id? No, then just exit $rsid = $_GET['rsid']; if (($rsid == '') || (strtolower($rsid) == 'null') || (strlen(trim($rsid)) == 0)) still no image so i looked in error log PHP Notice: Undefined variable: HTTP_GET_VARS in D:\\Program Files\\EasyPHP 3.0\\www\\store\\validation_png.php on line 59 so i replaced require_once('includes/configure.php'); with require_once('includes/application_top.php'); works fine except images arent that easy to read :( how can i can make them easy to read maybe clean backgroun up ? nvm i fixed it via admin font size, and setting these to false Apply noise filter? false Apply scatter filter? false Quote Link to comment Share on other sites More sharing options...
steve_s Posted March 21, 2009 Share Posted March 21, 2009 Hi Sam, How easy or hard would it be to turn one of them into an anti robot tell a friend ? Steve Quote Link to comment Share on other sites More sharing options...
spooks Posted March 21, 2009 Share Posted March 21, 2009 Interesting, if I make this change on MS2 or rc1 sites it causes a failure, I suspect though its just your server failing to set the HTTP_GET_VARS, adding this should fix that: if (PHP_VERSION >= 4.1) $HTTP_GET_VARS =& $_GET; You'll probably find the text better if you change the font colour, try #666666 Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
spooks Posted March 21, 2009 Share Posted March 21, 2009 Assume u want add to another page. Fairly easy, ust add each section. Init: // BOF Anti Robot Registration v3.1 if (ACCOUNT_VALIDATION == 'true' ) { require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT_VALIDATION); include_once('includes/functions/' . FILENAME_ACCOUNT_VALIDATION); } // EOF Anti Robot Registration v3.1 Check Code: (after a return check (action=process etc), this assumes use of $error for check (most do) // BOF Anti Robotic Registration v3.1 if (ACCOUNT_VALIDATION == 'true' ) { include(DIR_WS_MODULES . FILENAME_CHECK_VALIDATION); if ($entry_antirobotreg_error == true) $messageStack->add('contact', $text_antirobotreg_error); } // EOF Anti Robotic Registration v3.1 Just before the breadcrumb: // BOF Anti Robotic Registration v3.1 header('cache-control: no-store, no-cache, must-revalidate'); header("Pragma: no-cache"); // EOF Anti Robotic Registration v3.1 Then where you want code image to appear: <!-- // BOF Anti Robot Registration v3.1--> <?php if (ACCOUNT_VALIDATION == 'true') include(DIR_WS_MODULES . FILENAME_DISPLAY_VALIDATION); ?> <!-- // EOF Anti Robot Registration v3.1--> All individual page on/off checks are removed for this Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
steve_s Posted March 21, 2009 Share Posted March 21, 2009 Assume u want add to another page. Fairly easy, ust add each section. Init: // BOF Anti Robot Registration v3.1 if (ACCOUNT_VALIDATION == 'true' ) { require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT_VALIDATION); include_once('includes/functions/' . FILENAME_ACCOUNT_VALIDATION); } // EOF Anti Robot Registration v3.1 Check Code: (after a return check (action=process etc), this assumes use of $error for check (most do) // BOF Anti Robotic Registration v3.1 if (ACCOUNT_VALIDATION == 'true' ) { include(DIR_WS_MODULES . FILENAME_CHECK_VALIDATION); if ($entry_antirobotreg_error == true) $messageStack->add('contact', $text_antirobotreg_error); } // EOF Anti Robotic Registration v3.1 Just before the breadcrumb: // BOF Anti Robotic Registration v3.1 header('cache-control: no-store, no-cache, must-revalidate'); header("Pragma: no-cache"); // EOF Anti Robotic Registration v3.1 Then where you want code image to appear: <!-- // BOF Anti Robot Registration v3.1--> <?php if (ACCOUNT_VALIDATION == 'true') include(DIR_WS_MODULES . FILENAME_DISPLAY_VALIDATION); ?> <!-- // EOF Anti Robot Registration v3.1--> All individual page on/off checks are removed for this Thanks Sam :D love this contribution Quote Link to comment Share on other sites More sharing options...
jakedavi Posted March 26, 2009 Share Posted March 26, 2009 (edited) I have now got the same problem. Contact Us page displays "Invalid Validation Code". As I said before when it seemed to have been fixed, I just re installed the correct sql update files. Any help would be appreciated as I don't want to leave the Contact us page open to bots. Thanks. Edited March 26, 2009 by jakedavi Quote Link to comment Share on other sites More sharing options...
spooks Posted March 27, 2009 Share Posted March 27, 2009 Have you installed the latest version (3.1) wich resolved a bug that may effect some sites. Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
jakedavi Posted March 27, 2009 Share Posted March 27, 2009 I have.. I upgraded a while back from 2.9 as that had stopped working for the contact us page. Same thing on this one.. must be my website. But why is it only the contact us page? Quote Link to comment Share on other sites More sharing options...
spooks Posted March 27, 2009 Share Posted March 27, 2009 But you havent!!! I've taken a look, your not using the latest, upgade all changed files, then come back!! Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
jakedavi Posted March 28, 2009 Share Posted March 28, 2009 Alright I've reinstalled everything and it seems to be working. I would love to know how you could see.. But lets see how long it lasts working anyway lol. Hopefully won't go wrong. Thanks for a great contrib mate. Quote Link to comment Share on other sites More sharing options...
therealjblizzle Posted March 31, 2009 Share Posted March 31, 2009 Hey everyone, Great idea for a contribution and I can't wait to get it working! I am having a few problems, however. The pages load fine but no image is displayed; not even a broken image! When I do the post install test I get the following error: The image "http://www.yourdomain.com/catalog/validation_png.php?rsid=bfto0mcgd719" cannot be displayed because it contains errors. I cut the ID number a bit short, but that is the bulk of it. I have looked at post #451 at the following URL: http://www.oscommerce.com/forums/index.php?s=&...t&p=1266557 And tried that solution with no success =( Also, I have installed oscThumbs on it so far, and tried looking for any tep_image functions to switch them back to the original tep_image_original() and couldn't find any. I'm not sure if that's causing the error or if it something else, but have been searching the forums for about an hour without any results. Anyone else have a similar problem? Also, I have tried using the validation_png_2.5.php as well without any luck (however, now that i think of it, i didn't try that after using the advice in post #451 so will need to give that a shot.) I am currently using Anti-robot validation v2.9.1 Thanks for any help, J Quote Link to comment Share on other sites More sharing options...
spooks Posted March 31, 2009 Share Posted March 31, 2009 There are errors in that version, why not use the latest (3.1) where all known issues are fixed?? Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
therealjblizzle Posted April 1, 2009 Share Posted April 1, 2009 There are errors in that version, why not use the latest (3.1) where all known issues are fixed?? Thanks for the advice spooks didn't even know that there was a new version. Any idea if the same SQL script can be run or not? already ran it through and I don't know if i could undo and redo. were there any changes between versions? thanks, J Quote Link to comment Share on other sites More sharing options...
spooks Posted April 1, 2009 Share Posted April 1, 2009 running Update_from 2.8 to 3.0_english.sql should be sufficient Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
therealjblizzle Posted April 2, 2009 Share Posted April 2, 2009 running Update_from 2.8 to 3.0_english.sql should be sufficient Thanks for the advice Sam, I appreciate it ^_^ I updated everything and it seems to be working fine, accept the image being generated still contains errors. I'm guessing that this is because the osC Thumbs contribution has tampered with the tep_image() function. Is that function called for in the validation_png.php file? The original tep_image() function has been renamed to tep_image_original() on my site because of the contribution, so should be all set once i adjust the name of the function in the appropriate file. If its not there, any idea where it might be? Thanks for the advice an all your help so far, J Quote Link to comment Share on other sites More sharing options...
spooks Posted April 3, 2009 Share Posted April 3, 2009 Because of the mod problems with tep_image, catalog\includes\functions\account_validation.php now contains tep_image_captcha thats used in its place which then avoids the issue, make sure u have the latest. What precise error do u get? Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
therealjblizzle Posted April 3, 2009 Share Posted April 3, 2009 Because of the mod problems with tep_image, catalog\includes\functions\account_validation.php now contains tep_image_captcha thats used in its place which then avoids the issue, make sure u have the latest. What precise error do u get? I'm still getting the "Image cannot be displayed because it contains errors" message. However, the image sort of shows up before. Here's a screen shot: http://img16.imageshack.us/my.php?image=pr...g&via=yfrog Before, there wouldn't even be that little piece of an image, it would just not show up. Now, that small piece of an image shows up, but the characters are not displayed =( Any ideas? Thanks again by the way, you've been awesome through all of this Sam =) J Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.